_mm512_aesenc_epi128
Classification
Other, Cryptography, CPUID Test: AVX512F
Header File
Instruction
VAESENC zmm, zmm
Synopsis
_mm512_aesenc_epi128(__m512i a, __m512i RoundKey);
Description
Perform one round of an AES encryption flow on data (state) in "a" using the round key in "RoundKey", and store the results in "dst"."
Operation
FOR j := 0 to 3
i := j*128
a[i+127:i] := ShiftRows(a[i+127:i])
a[i+127:i] := SubBytes(a[i+127:i])
a[i+127:i] := MixColumns(a[i+127:i])
dst[i+127:i] := a[i+127:i] XOR RoundKey[i+127:i]
ENDFOR
dst[MAX:512] := 0