<< NL_S_AESMixColumnsR NL_S: Security NL_S_AESShiftRows >>

NARVAL >> NL_S: Security > NL_S_AESPolynomialMult

NL_S_AESPolynomialMult

Perform the polynomial multiplication in a finite field.

Calling Sequence

[P] = NL_S_AESPolynomialMult(A,B,M)

Arguments

A :

Value.

B :

Value.

M :

0x11b: bin2dec('100011011')=283.

P :

Product.

Description

NL_S_AESPolynomialMult performs the polynomial multiplication in a finite field between A and B. It is used for log/ilog tables generation of the AES algorithm (WIKIPEDIA).

Examples

a=1;
b=2;
mod_pol=283;
p=NL_S_AESPolynomialMult(a, b, mod_pol)//application of NL_S_AESPolynomialMult

Report an issue
<< NL_S_AESMixColumnsR NL_S: Security NL_S_AESShiftRows >>