FD.io VPP  v19.08.3-2-gbabecb413
Vector Packet Processing
aes_cbc.c File Reference
+ Include dependency graph for aes_cbc.c:

Go to the source code of this file.

Data Structures

struct  aes_cbc_key_data_t
 

Macros

#define foreach_aesni_cbc_handler_type   _(128) _(192) _(256)
 

Functions

static_always_inline void aes_cbc_dec (__m128i *k, u8 *src, u8 *dst, u8 *iv, int count, aesni_key_size_t rounds)
 
static_always_inline u32 aesni_ops_enc_aes_cbc (vlib_main_t *vm, vnet_crypto_op_t *ops[], u32 n_ops, aesni_key_size_t ks)
 
static_always_inline u32 aesni_ops_dec_aes_cbc (vlib_main_t *vm, vnet_crypto_op_t *ops[], u32 n_ops, aesni_key_size_t ks)
 
static_always_inline void * aesni_cbc_key_exp (vnet_crypto_key_t *key, aesni_key_size_t ks)
 
clib_error_tcrypto_ia32_aesni_cbc_init_sse42 (vlib_main_t *vm)
 

Variables

 foreach_aesni_cbc_handler_type
 

Macro Definition Documentation

◆ foreach_aesni_cbc_handler_type

#define foreach_aesni_cbc_handler_type   _(128) _(192) _(256)

Definition at line 238 of file aes_cbc.c.

Function Documentation

◆ aes_cbc_dec()

static_always_inline void aes_cbc_dec ( __m128i *  k,
u8 src,
u8 dst,
u8 iv,
int  count,
aesni_key_size_t  rounds 
)

Definition at line 36 of file aes_cbc.c.

+ Here is the caller graph for this function:

◆ aesni_cbc_key_exp()

static_always_inline void* aesni_cbc_key_exp ( vnet_crypto_key_t key,
aesni_key_size_t  ks 
)

Definition at line 228 of file aes_cbc.c.

+ Here is the call graph for this function:

◆ aesni_ops_dec_aes_cbc()

static_always_inline u32 aesni_ops_dec_aes_cbc ( vlib_main_t vm,
vnet_crypto_op_t ops[],
u32  n_ops,
aesni_key_size_t  ks 
)

Definition at line 202 of file aes_cbc.c.

+ Here is the call graph for this function:

◆ aesni_ops_enc_aes_cbc()

static_always_inline u32 aesni_ops_enc_aes_cbc ( vlib_main_t vm,
vnet_crypto_op_t ops[],
u32  n_ops,
aesni_key_size_t  ks 
)

Definition at line 100 of file aes_cbc.c.

+ Here is the call graph for this function:

◆ crypto_ia32_aesni_cbc_init_sse42()

clib_error_t* crypto_ia32_aesni_cbc_init_sse42 ( vlib_main_t vm)

Definition at line 261 of file aes_cbc.c.

+ Here is the caller graph for this function:

Variable Documentation

◆ foreach_aesni_cbc_handler_type

foreach_aesni_cbc_handler_type

Definition at line 250 of file aes_cbc.c.