FD.io VPP
v19.08.3-2-gbabecb413
Vector Packet Processing
|
Go to the source code of this file.
Data Structures | |
struct | ipsecmb_per_thread_data_t |
struct | ipsecmb_alg_data_t |
struct | ipsecmb_main_t_ |
struct | ipsecmb_aes_cbc_key_data_t |
Macros | |
#define | HMAC_MAX_BLOCK_SIZE SHA_512_BLOCK_SIZE |
#define | EXPANDED_KEY_N_BYTES (16 * 15) |
#define | foreach_ipsecmb_hmac_op |
#define | foreach_ipsecmb_cbc_cipher_op |
#define | foreach_ipsecmb_gcm_cipher_op |
Typedefs | |
typedef struct ipsecmb_main_t_ | ipsecmb_main_t |
Variables | |
static ipsecmb_main_t | ipsecmb_main = { } |
foreach_ipsecmb_hmac_op | |
foreach_ipsecmb_cbc_cipher_op | |
foreach_ipsecmb_gcm_cipher_op | |
#define foreach_ipsecmb_cbc_cipher_op |
#define foreach_ipsecmb_gcm_cipher_op |
#define foreach_ipsecmb_hmac_op |
typedef struct ipsecmb_main_t_ ipsecmb_main_t |
|
static |
clib_error_t* crypto_ipsecmb_iv_init | ( | ipsecmb_main_t * | imbm | ) |
|
static |
static_always_inline u32 ipsecmb_ops_cbc_cipher_inline | ( | vlib_main_t * | vm, |
vnet_crypto_op_t * | ops[], | ||
u32 | n_ops, | ||
u32 | key_len, | ||
JOB_CIPHER_DIRECTION | direction | ||
) |
static_always_inline u32 ipsecmb_ops_gcm_cipher_inline | ( | vlib_main_t * | vm, |
vnet_crypto_op_t * | ops[], | ||
u32 | n_ops, | ||
u32 | key_len, | ||
JOB_CIPHER_DIRECTION | direction | ||
) |
static_always_inline u32 ipsecmb_ops_hmac_inline | ( | vlib_main_t * | vm, |
vnet_crypto_op_t * | ops[], | ||
u32 | n_ops, | ||
u32 | block_size, | ||
u32 | hash_size, | ||
u32 | digest_size, | ||
JOB_HASH_ALG | alg | ||
) |
|
inlinestatic |
|
inlinestatic |
VLIB_PLUGIN_REGISTER | ( | ) |
|
static |