diff --git a/umbral/params.py b/umbral/params.py index d7dd1f0..f5c9d32 100644 --- a/umbral/params.py +++ b/umbral/params.py @@ -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