Commit 0192d16f authored by Emmanuel Thomé's avatar Emmanuel Thomé

remove leftover message

parent 3e65ccdd
......@@ -107,7 +107,7 @@ class MNT6(EllipticCurve_finite_field):
#self.order_checked = super(MNT6,self).order()
#if self.order_checked != (self._p+1-self._tr):
# raise ValueError("Wrong curve order: this one is a twist")
print("check order (randomized)")
# print("check order (randomized)")
self.curve_order = self._p + Integer(1) - self._tr
self.twist_order = self._p + Integer(1) + self._tr
for i in range(10):
......@@ -118,8 +118,8 @@ class MNT6(EllipticCurve_finite_field):
else:
self.order_checked = super(MNT6,self).order()
raise ValueError("Wrong curve order:\np+1-tr = {}\np+1+tr = {}\nchecked order = {}\np = {}".format(self.curve_order,self.twist_order,self.order_checked,self._p))
print("ok")
# print("ok")
# computes a generator
self._G = get_curve_generator_order_r(self)
self._Gx = self._G[0]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment