No need to define a polynomial ring in notes/design.rs.

This commit is contained in:
Michele Orrù 2019-11-28 15:58:31 +01:00
parent c9d17f6ab7
commit 14b5e16d88
1 changed files with 1 additions and 2 deletions

View File

@ -48,8 +48,7 @@
//! if (not p.is_zero()) and (p * r).is_zero(): //! if (not p.is_zero()) and (p * r).is_zero():
//! print("g1 generator: {}".format(p)) //! print("g1 generator: {}".format(p))
//! break //! break
//! Fqx.<j> = PolynomialRing(Fq, 'j') //! Fq2.<i> = GF(q^2, modulus=[1, 0, 1])
//! Fq2.<i> = GF(q^2, modulus=j^2 + 1)
//! ec2 = EllipticCurve(Fq2, [0, (4 * (1 + i))]) //! ec2 = EllipticCurve(Fq2, [0, (4 * (1 + i))])
//! assert(ec2.order() == (r * g2_h(param))) //! assert(ec2.order() == (r * g2_h(param)))
//! for x in range(0,100): //! for x in range(0,100):