FD.io VPP
v20.09-64-g4f7b92f0a
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 |
Functions | |
static void | ipsecmb_retire_hmac_job (JOB_AES_HMAC *job, u32 *n_fail, u32 digest_size) |
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) |
static void | ipsecmb_retire_cipher_job (JOB_AES_HMAC *job, u32 *n_fail) |
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) |
clib_error_t * | crypto_ipsecmb_iv_init (ipsecmb_main_t *imbm) |
static void | crypto_ipsecmb_key_handler (vlib_main_t *vm, vnet_crypto_key_op_t kop, vnet_crypto_key_index_t idx) |
static clib_error_t * | crypto_ipsecmb_init (vlib_main_t *vm) |
VLIB_PLUGIN_REGISTER () | |
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_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 |
VLIB_PLUGIN_REGISTER | ( | ) |
|
static |