Available on x86 or x86-64 only.
Expand description
AES Key Locker Intrinsics
The Intrinsics here correspond to those in the keylockerintrin.h
C header.
Structsยง
- AesOutput ๐
- Encode
Key128 ๐Output - Encode
Key256 ๐Output - Wide
AesOutput ๐
Functionsยง
- aesdec128kl ๐ โ
- aesdec256kl ๐ โ
- aesdecwide128kl ๐ โ
- aesdecwide256kl ๐ โ
- aesenc128kl ๐ โ
- aesenc256kl ๐ โ
- aesencwide128kl ๐ โ
- aesencwide256kl ๐ โ
- encodekey128 ๐ โ
- encodekey256 ๐ โ
- loadiwkey ๐ โ
- _mm_
aesdec128kl_ โu8 Experimental kl
- Decrypt 10 rounds of unsigned 8-bit integers in
input
using 128-bit AES key specified in the 384-bit key handlehandle
. Store the resulting unsigned 8-bit integers into the corresponding elements ofoutput
. Returns0
if the operation was successful, and1
if the operation failed due to a handle violation. - _mm_
aesdec256kl_ โu8 Experimental kl
- Decrypt 14 rounds of unsigned 8-bit integers in
input
using 256-bit AES key specified in the 512-bit key handlehandle
. Store the resulting unsigned 8-bit integers into the corresponding elements ofoutput
. Returns0
if the operation was successful, and1
if the operation failed due to a handle violation. - _mm_
aesdecwide128kl_ โu8 Experimental widekl
- Decrypt 10 rounds of 8 groups of unsigned 8-bit integers in
input
using 128-bit AES key specified in the 384-bit key handlehandle
. Store the resulting unsigned 8-bit integers into the corresponding elements ofoutput
. Returns0
if the operation was successful, and1
if the operation failed due to a handle violation. - _mm_
aesdecwide256kl_ โu8 Experimental widekl
- Decrypt 14 rounds of 8 groups of unsigned 8-bit integers in
input
using 256-bit AES key specified in the 512-bit key handlehandle
. Store the resulting unsigned 8-bit integers into the corresponding elements ofoutput
. Returns0
if the operation was successful, and1
if the operation failed due to a handle violation. - _mm_
aesenc128kl_ โu8 Experimental kl
- Encrypt 10 rounds of unsigned 8-bit integers in
input
using 128-bit AES key specified in the 384-bit key handlehandle
. Store the resulting unsigned 8-bit integers into the corresponding elements ofoutput
. Returns0
if the operation was successful, and1
if the operation failed due to a handle violation. - _mm_
aesenc256kl_ โu8 Experimental kl
- Encrypt 14 rounds of unsigned 8-bit integers in
input
using 256-bit AES key specified in the 512-bit key handlehandle
. Store the resulting unsigned 8-bit integers into the corresponding elements ofoutput
. Returns0
if the operation was successful, and1
if the operation failed due to a handle violation. - _mm_
aesencwide128kl_ โu8 Experimental widekl
- Encrypt 10 rounds of 8 groups of unsigned 8-bit integers in
input
using 128-bit AES key specified in the 384-bit key handlehandle
. Store the resulting unsigned 8-bit integers into the corresponding elements ofoutput
. Returns0
if the operation was successful, and1
if the operation failed due to a handle violation. - _mm_
aesencwide256kl_ โu8 Experimental widekl
- Encrypt 14 rounds of 8 groups of unsigned 8-bit integers in
input
using 256-bit AES key specified in the 512-bit key handlehandle
. Store the resulting unsigned 8-bit integers into the corresponding elements ofoutput
. Returns0
if the operation was successful, and1
if the operation failed due to a handle violation. - _mm_
encodekey128_ โu32 Experimental kl
- Wrap a 128-bit AES key into a 384-bit key handle and stores it in
handle
. Returns thecontrol
parameter used to create the IWKey. - _mm_
encodekey256_ โu32 Experimental kl
- Wrap a 256-bit AES key into a 512-bit key handle and stores it in
handle
. Returns thecontrol
parameter used to create the IWKey. - _mm_
loadiwkey โExperimental kl
- Load internal wrapping key (IWKey). The 32-bit unsigned integer
control
specifies IWKeyโs KeySource and whether backing up the key is permitted. IWKeyโs 256-bit encryption key is loaded fromkey_lo
andkey_hi
.