_mm_aeskeygenassist_si128
Classification
Other, Cryptography, CPUID Test: AES
Header File
Instruction
AESKEYGENASSIST xmm, xmm, imm8
Synopsis
_mm_aeskeygenassist_si128(__m128i a, const int imm8);
Description
Assist in expanding the AES cipher key by computing steps towards generating a round key for encryption cipher using data from "a" and an 8-bit round constant specified in "imm8", and store the result in "dst"."
Operation
X3[31:0] := a[127:96]
X2[31:0] := a[95:64]
X1[31:0] := a[63:32]
X0[31:0] := a[31:0]
RCON[31:0] := ZeroExtend32(imm8[7:0])
dst[31:0] := SubWord(X1)
dst[63:32] := RotWord(SubWord(X1)) XOR RCON
dst[95:64] := SubWord(X3)
dst[127:96] := RotWord(SubWord(X3)) XOR RCON