_mm256_aesdec_epi128
Classification
Other, Cryptography, CPUID Test: VAES
Header File
immintrin.h
Instruction
VAESDEC ymm, ymm
Synopsis
 _mm256_aesdec_epi128(__m256i a, __m256i RoundKey);
Description
Perform one round of an AES decryption flow on data (state) in "a" using the round key in "RoundKey", and store the results in "dst".
Operation
FOR j := 0 to 1
	i := j*128
	a[i+127:i] := InvShiftRows(a[i+127:i])
	a[i+127:i] := InvSubBytes(a[i+127:i])
	a[i+127:i] := InvMixColumns(a[i+127:i])
	dst[i+127:i] := a[i+127:i] XOR RoundKey[i+127:i]
ENDFOR
dst[MAX:256] := 0