From 14b5e16d883ea0e14c5dfd601a42a2eaaccb82f6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michele=20Orr=C3=B9?= Date: Thu, 28 Nov 2019 15:58:31 +0100 Subject: [PATCH] No need to define a polynomial ring in notes/design.rs. --- src/notes/design.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/notes/design.rs b/src/notes/design.rs index 6c528e714..0f8c7fafb 100644 --- a/src/notes/design.rs +++ b/src/notes/design.rs @@ -48,8 +48,7 @@ //! if (not p.is_zero()) and (p * r).is_zero(): //! print("g1 generator: {}".format(p)) //! break -//! Fqx. = PolynomialRing(Fq, 'j') -//! Fq2. = GF(q^2, modulus=j^2 + 1) +//! Fq2. = GF(q^2, modulus=[1, 0, 1]) //! ec2 = EllipticCurve(Fq2, [0, (4 * (1 + i))]) //! assert(ec2.order() == (r * g2_h(param))) //! for x in range(0,100):