clang 20.0.0git
|
Go to the source code of this file.
Macros | |
#define | __DEFAULT_FN_ATTRS |
#define | __DEFAULT_FN_ATTRS |
Functions | |
static __inline__ void __DEFAULT_FN_ATTRS | _mm_loadiwkey (unsigned int __ctl, __m128i __intkey, __m128i __enkey_lo, __m128i __enkey_hi) |
Load internal wrapping key from __intkey, __enkey_lo and __enkey_hi. | |
static __inline__ unsigned int __DEFAULT_FN_ATTRS | _mm_encodekey128_u32 (unsigned int __htype, __m128i __key, void *__h) |
Wrap a 128-bit AES key from __key into a key handle and output in ((__m128i*)__h) to ((__m128i*)__h) + 2 and a 32-bit value as return. | |
static __inline__ unsigned int __DEFAULT_FN_ATTRS | _mm_encodekey256_u32 (unsigned int __htype, __m128i __key_lo, __m128i __key_hi, void *__h) |
Wrap a 256-bit AES key from __key_hi:__key_lo into a key handle, then output handle in ((__m128i*)__h) to ((__m128i*)__h) + 3 and a 32-bit value as return. | |
static __inline__ unsigned char __DEFAULT_FN_ATTRS | _mm_aesenc128kl_u8 (__m128i *__odata, __m128i __idata, const void *__h) |
The AESENC128KL performs 10 rounds of AES to encrypt the __idata using the 128-bit key in the handle from the __h. | |
static __inline__ unsigned char __DEFAULT_FN_ATTRS | _mm_aesenc256kl_u8 (__m128i *__odata, __m128i __idata, const void *__h) |
The AESENC256KL performs 14 rounds of AES to encrypt the __idata using the 256-bit key in the handle from the __h. | |
static __inline__ unsigned char __DEFAULT_FN_ATTRS | _mm_aesdec128kl_u8 (__m128i *__odata, __m128i __idata, const void *__h) |
The AESDEC128KL performs 10 rounds of AES to decrypt the __idata using the 128-bit key in the handle from the __h. | |
static __inline__ unsigned char __DEFAULT_FN_ATTRS | _mm_aesdec256kl_u8 (__m128i *__odata, __m128i __idata, const void *__h) |
The AESDEC256KL performs 10 rounds of AES to decrypt the __idata using the 256-bit key in the handle from the __h. | |
static __inline__ unsigned char __DEFAULT_FN_ATTRS | _mm_aesencwide128kl_u8 (__m128i __odata[8], const __m128i __idata[8], const void *__h) |
Encrypt __idata[0] to __idata[7] using 128-bit AES key indicated by handle at __h and store each resultant block back from __odata to __odata+7. | |
static __inline__ unsigned char __DEFAULT_FN_ATTRS | _mm_aesencwide256kl_u8 (__m128i __odata[8], const __m128i __idata[8], const void *__h) |
Encrypt __idata[0] to __idata[7] using 256-bit AES key indicated by handle at __h and store each resultant block back from __odata to __odata+7. | |
static __inline__ unsigned char __DEFAULT_FN_ATTRS | _mm_aesdecwide128kl_u8 (__m128i __odata[8], const __m128i __idata[8], const void *__h) |
Decrypt __idata[0] to __idata[7] using 128-bit AES key indicated by handle at __h and store each resultant block back from __odata to __odata+7. | |
static __inline__ unsigned char __DEFAULT_FN_ATTRS | _mm_aesdecwide256kl_u8 (__m128i __odata[8], const __m128i __idata[8], const void *__h) |
Decrypt __idata[0] to __idata[7] using 256-bit AES key indicated by handle at __h and store each resultant block back from __odata to __odata+7. | |
#define __DEFAULT_FN_ATTRS |
Definition at line 334 of file keylockerintrin.h.
#define __DEFAULT_FN_ATTRS |
Definition at line 334 of file keylockerintrin.h.
|
static |
The AESDEC128KL performs 10 rounds of AES to decrypt the __idata using the 128-bit key in the handle from the __h.
It stores the result in the __odata. And return the affected ZF flag status.
This intrinsic corresponds to the AESDEC128KL
instructions.
Definition at line 284 of file keylockerintrin.h.
|
static |
The AESDEC256KL performs 10 rounds of AES to decrypt the __idata using the 256-bit key in the handle from the __h.
It stores the result in the __odata. And return the affected ZF flag status.
This intrinsic corresponds to the AESDEC256KL
instructions.
Definition at line 323 of file keylockerintrin.h.
|
static |
Decrypt __idata[0] to __idata[7] using 128-bit AES key indicated by handle at __h and store each resultant block back from __odata to __odata+7.
And return the affected ZF flag status.
This intrinsic corresponds to the AESDECWIDE128KL
instructions.
Definition at line 471 of file keylockerintrin.h.
|
static |
Decrypt __idata[0] to __idata[7] using 256-bit AES key indicated by handle at __h and store each resultant block back from __odata to __odata+7.
And return the affected ZF flag status.
This intrinsic corresponds to the AESDECWIDE256KL
instructions.
Definition at line 517 of file keylockerintrin.h.
|
static |
The AESENC128KL performs 10 rounds of AES to encrypt the __idata using the 128-bit key in the handle from the __h.
It stores the result in the __odata. And return the affected ZF flag status.
This intrinsic corresponds to the AESENC128KL
instructions.
Definition at line 206 of file keylockerintrin.h.
|
static |
The AESENC256KL performs 14 rounds of AES to encrypt the __idata using the 256-bit key in the handle from the __h.
It stores the result in the __odata. And return the affected ZF flag status.
This intrinsic corresponds to the AESENC256KL
instructions.
Definition at line 245 of file keylockerintrin.h.
|
static |
Encrypt __idata[0] to __idata[7] using 128-bit AES key indicated by handle at __h and store each resultant block back from __odata to __odata+7.
And return the affected ZF flag status.
This intrinsic corresponds to the AESENCWIDE128KL
instructions.
Definition at line 379 of file keylockerintrin.h.
|
static |
Encrypt __idata[0] to __idata[7] using 256-bit AES key indicated by handle at __h and store each resultant block back from __odata to __odata+7.
And return the affected ZF flag status.
This intrinsic corresponds to the AESENCWIDE256KL
instructions.
Definition at line 425 of file keylockerintrin.h.
|
static |
Wrap a 128-bit AES key from __key into a key handle and output in ((__m128i*)__h) to ((__m128i*)__h) + 2 and a 32-bit value as return.
The explicit source operand __htype specifies handle restrictions.
This intrinsic corresponds to the ENCODEKEY128
instructions.
Definition at line 130 of file keylockerintrin.h.
|
static |
Wrap a 256-bit AES key from __key_hi:__key_lo into a key handle, then output handle in ((__m128i*)__h) to ((__m128i*)__h) + 3 and a 32-bit value as return.
The explicit source operand __htype specifies handle restrictions.
This intrinsic corresponds to the ENCODEKEY256
instructions.
Definition at line 167 of file keylockerintrin.h.
|
static |
Load internal wrapping key from __intkey, __enkey_lo and __enkey_hi.
__ctl will assigned to EAX, whch specifies the KeySource and whether backing up the key is permitted. The 256-bit encryption key is loaded from the two explicit operands (__enkey_lo and __enkey_hi). The 128-bit integrity key is loaded from the implicit operand XMM0 which assigned by __intkey.
This intrinsic corresponds to the LOADIWKEY
instructions.
Definition at line 95 of file keylockerintrin.h.