FD.io VPP  v19.04.4-rc0-5-ge88582fac
Vector Packet Processing
aesni.h File Reference
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define AESNI_KEY_ROUNDS(x)   (10 + x *2)
 
#define AESNI_KEY_BYTES(x)   (16 + x * 8)
 

Enumerations

enum  aesni_key_size_t { AESNI_KEY_128 = 0, AESNI_KEY_192 = 1, AESNI_KEY_256 = 2 }
 

Functions

static_always_inline __m128i aes128_key_assist (__m128i r1, __m128i r2)
 
static_always_inline void aes128_key_expand (__m128i *k, u8 *key)
 
static_always_inline void aes192_key_assist (__m128i *r1, __m128i *r2, __m128i *r3)
 
static_always_inline void aes192_key_expand (__m128i *k, u8 *key)
 
static_always_inline void aes256_key_assist1 (__m128i *r1, __m128i *r2)
 
static_always_inline void aes256_key_assist2 (__m128i r1, __m128i *r3)
 
static_always_inline void aes256_key_expand (__m128i *k, u8 *key)
 
static_always_inline void aes_key_expand (__m128i *k, u8 *key, aesni_key_size_t ks)
 
static_always_inline void aes_key_enc_to_dec (__m128i *k, aesni_key_size_t ks)
 

Macro Definition Documentation

◆ AESNI_KEY_BYTES

#define AESNI_KEY_BYTES (   x)    (16 + x * 8)

Definition at line 29 of file aesni.h.

◆ AESNI_KEY_ROUNDS

#define AESNI_KEY_ROUNDS (   x)    (10 + x *2)

Definition at line 28 of file aesni.h.

Enumeration Type Documentation

◆ aesni_key_size_t

Enumerator
AESNI_KEY_128 
AESNI_KEY_192 
AESNI_KEY_256 

Definition at line 21 of file aesni.h.

Function Documentation

◆ aes128_key_assist()

static_always_inline __m128i aes128_key_assist ( __m128i  r1,
__m128i  r2 
)

Definition at line 37 of file aesni.h.

+ Here is the caller graph for this function:

◆ aes128_key_expand()

static_always_inline void aes128_key_expand ( __m128i *  k,
u8 key 
)

Definition at line 46 of file aesni.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ aes192_key_assist()

static_always_inline void aes192_key_assist ( __m128i *  r1,
__m128i *  r2,
__m128i *  r3 
)

Definition at line 62 of file aesni.h.

+ Here is the caller graph for this function:

◆ aes192_key_expand()

static_always_inline void aes192_key_expand ( __m128i *  k,
u8 key 
)

Definition at line 74 of file aesni.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ aes256_key_assist1()

static_always_inline void aes256_key_assist1 ( __m128i *  r1,
__m128i *  r2 
)

Definition at line 119 of file aesni.h.

+ Here is the caller graph for this function:

◆ aes256_key_assist2()

static_always_inline void aes256_key_assist2 ( __m128i  r1,
__m128i *  r3 
)

Definition at line 129 of file aesni.h.

+ Here is the caller graph for this function:

◆ aes256_key_expand()

static_always_inline void aes256_key_expand ( __m128i *  k,
u8 key 
)

Definition at line 139 of file aesni.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ aes_key_enc_to_dec()

static_always_inline void aes_key_enc_to_dec ( __m128i *  k,
aesni_key_size_t  ks 
)

Definition at line 198 of file aesni.h.

+ Here is the caller graph for this function:

◆ aes_key_expand()

static_always_inline void aes_key_expand ( __m128i *  k,
u8 key,
aesni_key_size_t  ks 
)

Definition at line 180 of file aesni.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function: