Incorrect is_primitive_poly
attribute of "large" finite fields
#188
Labels
bug
Something isn't working
is_primitive_poly
attribute of "large" finite fields
#188
As discovered in #185, the
is_primitive_poly
attribute ofGF(2^256)
isn't correct. It saysFalse
, however the specified polynomial is primitive (according to a Google search... can't currently test withgalois
due to #187).The issue is here. Upon manually debugging those lines, the polynomial evaluation was 1 and not 0, which lead the equality to be
False
. Likely there is an issue/bug in_function_python()
.galois/galois/_fields/_gf2m.py
Lines 28 to 35 in c294e5c
The text was updated successfully, but these errors were encountered: