_mm_encodekey128_u32
Classification
Other, Cryptography, CPUID Test: KEYLOCKER
Header File
Instruction
ENCODEKEY128 r32, r32
Synopsis
_mm_encodekey128_u32(unsigned int __htype, __m128i __key, void* __h);
Description
Wrap a 128-bit AES key from "__key" into a 384-bit key __h stored in "__h" and set IWKey's NoBackup and KeySource bits in "dst". The explicit source operand "__htype" specifies __h restrictions.
Operation
__h[383:0] := WrapKey128(__key[127:0], __htype)
dst[0] := IWKey.NoBackup
dst[4:1] := IWKey.KeySource[3:0]