Add CURVE_MINVAL_SHA512 to params

pull/53/head
tuxxy 2018-02-08 12:16:57 -07:00
parent 226eebc6bd
commit bd2af003a1
1 changed files with 2 additions and 0 deletions

View File

@ -17,3 +17,5 @@ class UmbralParameters(object):
self.h = unsafe_hash_to_point(self.curve, g_bytes, domain_seed + b'h')
self.u = unsafe_hash_to_point(self.curve, g_bytes, domain_seed + b'u')
CURVE_MINVAL_SHA512 = (1 << 512) % self.order