No need to define a polynomial ring in notes/design.rs.
This commit is contained in:
parent
c9d17f6ab7
commit
14b5e16d88
|
@ -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):
|
||||||
|
|
Loading…
Reference in New Issue