i am working on the elliptic curve of 112 bit. and i want to generate a cyclotomic polynomial . i have written the code but the following error is obtained. p=(2^128-3)/76439;p F = GF(p)
S. = PolynomialRing( F ) K. = GF( p^2);#K.modulus#, modulus=W^2+W+1 ) print "\n Modulus of K is =", K.modulus()
R.<z> = PolynomialRing( K, sparse=True ) i=9817501343317677957515279627338949795623675802414662483433914174328 f= cyclotomic_polynomial(i,'z');f Error OverflowError: Python int too large to convert to C long