Loading [MathJax]/jax/output/HTML-CSS/jax.js
Ask Your Question
0

Roots in a polynomial over GF(28)?

asked 11 years ago

Gustavo Banegas gravatar image

updated 10 years ago

FrédéricC gravatar image

Hi, I have a polynomial x8+x7+x5+x3+1 and I want to find the roots of this polynomial over GF(28)? In the paper of Patrick Ekdahl and Thomas Johansson about a new version of SNOW they used this roots (β23,β48,β239 and β245, but I want all roots for this polynomial.

Thanks

Preview: (hide)

4 Answers

Sort by » oldest newest most voted
2

answered 11 years ago

Luca gravatar image
sage: _.<x> = GF(2^8, 'a')[]       
sage: P = x^8 + x^7 + x^5 + x^3 + 1
sage: P.roots()
[(a^5 + a + 1, 1),
 (a^6 + a^5 + a^4 + 1, 1),
 (a^6 + a^5 + a^4 + a^2 + a, 1),
 (a^6 + a^5 + a^4 + a^3 + a, 1),
 (a^7 + a^5 + a^2 + 1, 1),
 (a^7 + a^5 + a^3 + a, 1),
 (a^7 + a^5 + a^4, 1),
 (a^7 + a^6 + a^5, 1)]
Preview: (hide)
link
1

answered 11 years ago

Volker Braun gravatar image
sage: AA.<x> = AffineSpace(GF(2^8, 'a'), 1)
sage: S = AA.subscheme(x^8 + x^7 + x^5 + x^3 + 1)
sage: S.rational_points()
[(a^5 + a + 1),
 (a^6 + a^5 + a^4 + 1),
 (a^6 + a^5 + a^4 + a^2 + a),
 (a^6 + a^5 + a^4 + a^3 + a),
 (a^7 + a^5 + a^2 + 1),
 (a^7 + a^5 + a^3 + a),
 (a^7 + a^5 + a^4),
 (a^7 + a^6 + a^5)]
Preview: (hide)
link
0

answered 8 years ago

dan_fulea gravatar image

If b is a root (in some field of characteristic two) of a polynomial defined over the prime field GF(2), then b, b2=F(b), b4=F2(b),b8=F3(b), and so on are also roots. Here, F is the Frobenius map.

So if β23 is in the list, then F(β23)=(β23)2=β46 should be also on the list. So i suspected some typo first. At some point, i decided to look for the cited data. The net gave me an article with the following data:

<<< To be more precise, the feedback polynomial of SNOW 2.0 is given by π(x)=αx16+x14+α1x5+1F232[x] , where α is a root of x4+β23x3+β245x2+β48x+β239F28[x],

and β is a root of x8+x7+x5+x3+1F2[x] .>>>

In the wish from the post we do not have the information, that β is a root of P.

But we have the other information, that β23,β245,β48,β239 are roots of P.

This is false, since with β we have the other roots βn for n among

sage: print [ 23*2^k % 255 for k in [0..7] ]
[23, 46, 92, 184, 113, 226, 197, 139]

And we miss 245, 48, 239.

Preview: (hide)
link
0

answered 11 years ago

Gustavo Banegas gravatar image

updated 11 years ago

Thanks, I need for this and for others polynomials. But Can the sage asnwer like βn ?

Preview: (hide)
link

Comments

Whats beta? A multiplicative unit? That is not unique, and Sage doesn't know your choice. You can solve the discrete log with beta.log(a^5 + a + 1), say.

Volker Braun gravatar imageVolker Braun ( 11 years ago )

Thanks, I will be this and see what is the result.

Gustavo Banegas gravatar imageGustavo Banegas ( 11 years ago )

Hi, the beta is the exponential form of the root over GF(28), Sage print the exponential form?

Gustavo Banegas gravatar imageGustavo Banegas ( 11 years ago )

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 11 years ago

Seen: 1,550 times

Last updated: Mar 01 '17