FD.io VPP  v21.06-3-gbb25fbf28
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 N   4
 
#define u32xN   u32x4
 
#define u32xN_min_scalar   u32x4_min_scalar
 
#define u32xN_is_all_zero   u32x4_is_all_zero
 
#define u32xN_splat   u32x4_splat
 
#define foreach_aes_cbc_handler_type   _(128) _(192) _(256)
 

Functions

static_always_inline void __clib_unused aes_cbc_dec (u8x16 *k, u8x16u *src, u8x16u *dst, u8x16u *iv, int count, int rounds)
 
static_always_inline u32 aes_ops_enc_aes_cbc (vlib_main_t *vm, vnet_crypto_op_t *ops[], u32 n_ops, aes_key_size_t ks)
 
static_always_inline u32 aes_ops_dec_aes_cbc (vlib_main_t *vm, vnet_crypto_op_t *ops[], u32 n_ops, aes_key_size_t ks)
 
static_always_inline void * aes_cbc_key_exp (vnet_crypto_key_t *key, aes_key_size_t ks)
 
clib_error_tcrypto_native_aes_cbc_init_slm (vlib_main_t *vm)
 

Variables

 foreach_aes_cbc_handler_type
 

Macro Definition Documentation

◆ foreach_aes_cbc_handler_type

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

Definition at line 458 of file aes_cbc.c.

◆ N

#define N   4

Definition at line 225 of file aes_cbc.c.

◆ u32xN

#define u32xN   u32x4

Definition at line 226 of file aes_cbc.c.

◆ u32xN_is_all_zero

#define u32xN_is_all_zero   u32x4_is_all_zero

Definition at line 228 of file aes_cbc.c.

◆ u32xN_min_scalar

#define u32xN_min_scalar   u32x4_min_scalar

Definition at line 227 of file aes_cbc.c.

◆ u32xN_splat

#define u32xN_splat   u32x4_splat

Definition at line 229 of file aes_cbc.c.

Function Documentation

◆ aes_cbc_dec()

static_always_inline void __clib_unused aes_cbc_dec ( u8x16 k,
u8x16u *  src,
u8x16u *  dst,
u8x16u *  iv,
int  count,
int  rounds 
)

Definition at line 40 of file aes_cbc.c.

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

◆ aes_cbc_key_exp()

static_always_inline void* aes_cbc_key_exp ( vnet_crypto_key_t key,
aes_key_size_t  ks 
)

Definition at line 439 of file aes_cbc.c.

+ Here is the call graph for this function:

◆ aes_ops_dec_aes_cbc()

static_always_inline u32 aes_ops_dec_aes_cbc ( vlib_main_t vm,
vnet_crypto_op_t ops[],
u32  n_ops,
aes_key_size_t  ks 
)

Definition at line 407 of file aes_cbc.c.

+ Here is the call graph for this function:

◆ aes_ops_enc_aes_cbc()

static_always_inline u32 aes_ops_enc_aes_cbc ( vlib_main_t vm,
vnet_crypto_op_t ops[],
u32  n_ops,
aes_key_size_t  ks 
)

Definition at line 233 of file aes_cbc.c.

+ Here is the call graph for this function:

◆ crypto_native_aes_cbc_init_slm()

clib_error_t* crypto_native_aes_cbc_init_slm ( vlib_main_t vm)

Definition at line 485 of file aes_cbc.c.

+ Here is the caller graph for this function:

Variable Documentation

◆ foreach_aes_cbc_handler_type

foreach_aes_cbc_handler_type

Definition at line 470 of file aes_cbc.c.