<< NL_S_AESInitialization NL_S: Security NL_S_AESKeyExpansion >>

NARVAL >> NL_S: Security > NL_S_AESInitializationM

NL_S_AESInitializationM

Perform the vectors Sbox, InvSbox, ExpoToPoly and PolyToExpo used during the initialization of the AES algorithm.

Calling Sequence

[E,P,S,I] = NL_S_AESInitializationM()

Arguments

E :

Polynomial representation of w(x)^k.

P :

Power k of w such that x=w^k.

S :

S-Box.

I :

Reverse S-Box.

Description

NL_S_AESInitializationM performs 4 vectors used by the AES algorithm (WIKIPEDIA). The table E consists of a vector of 256 values such that E[k] gives the polynomial representation of . By convention, 0 is represented by . P corresponds to the reverse of E. S (respectivelly I) represents the substitution table S-Box (respectivelly Inv S-Box) used during the SubBytes (respectivelly InvSubBytes) step.

Examples

[ExpoToPoly,PolyToExpo,SBox,ISBox]=NL_S_AESInitializationM()//application of NL_S_AESInitializationM

Report an issue
<< NL_S_AESInitialization NL_S: Security NL_S_AESKeyExpansion >>