FD.io VPP  v19.08-27-gf4dcae4
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

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

Definition at line 30 of file aesni.h.

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

Definition at line 29 of file aesni.h.

Enumeration Type Documentation

Enumerator
AESNI_KEY_128 
AESNI_KEY_192 
AESNI_KEY_256 

Definition at line 22 of file aesni.h.

Function Documentation

static_always_inline __m128i aes128_key_assist ( __m128i  r1,
__m128i  r2 
)

Definition at line 38 of file aesni.h.

+ Here is the caller graph for this function:

static_always_inline void aes128_key_expand ( __m128i *  k,
u8 key 
)

Definition at line 47 of file aesni.h.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

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

Definition at line 63 of file aesni.h.

+ Here is the caller graph for this function:

static_always_inline void aes192_key_expand ( __m128i *  k,
u8 key 
)

Definition at line 75 of file aesni.h.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

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

Definition at line 120 of file aesni.h.

+ Here is the caller graph for this function:

static_always_inline void aes256_key_assist2 ( __m128i  r1,
__m128i *  r3 
)

Definition at line 130 of file aesni.h.

+ Here is the caller graph for this function:

static_always_inline void aes256_key_expand ( __m128i *  k,
u8 key 
)

Definition at line 140 of file aesni.h.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static_always_inline void aes_key_enc_to_dec ( __m128i *  k,
aesni_key_size_t  ks 
)

Definition at line 199 of file aesni.h.

+ Here is the caller graph for this function:

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

Definition at line 181 of file aesni.h.

+ Here is the call graph for this function:

+ Here is the caller graph for this function: