FD.io VPP
v21.10.1-2-g0a485f517
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_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_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_cipher_op | |
foreach_ipsecmb_gcm_cipher_op | |
#define foreach_ipsecmb_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 ipsec_mb_ops_chacha_poly_dec_chained | ( | vlib_main_t * | vm, |
vnet_crypto_op_t * | ops[], | ||
vnet_crypto_op_chunk_t * | chunks, | ||
u32 | n_ops | ||
) |
static_always_inline u32 ipsec_mb_ops_chacha_poly_enc_chained | ( | vlib_main_t * | vm, |
vnet_crypto_op_t * | ops[], | ||
vnet_crypto_op_chunk_t * | chunks, | ||
u32 | n_ops | ||
) |
static_always_inline u32 ipsecmb_ops_aes_cipher_inline | ( | vlib_main_t * | vm, |
vnet_crypto_op_t * | ops[], | ||
u32 | n_ops, | ||
u32 | key_len, | ||
JOB_CIPHER_DIRECTION | direction, | ||
JOB_CIPHER_MODE | cipher_mode | ||
) |
static_always_inline u32 ipsecmb_ops_chacha_poly | ( | vlib_main_t * | vm, |
vnet_crypto_op_t * | ops[], | ||
u32 | n_ops, | ||
IMB_CIPHER_DIRECTION | dir | ||
) |
static_always_inline u32 ipsecmb_ops_chacha_poly_chained | ( | vlib_main_t * | vm, |
vnet_crypto_op_t * | ops[], | ||
vnet_crypto_op_chunk_t * | chunks, | ||
u32 | n_ops, | ||
IMB_CIPHER_DIRECTION | dir | ||
) |
static_always_inline u32 ipsecmb_ops_chacha_poly_dec | ( | vlib_main_t * | vm, |
vnet_crypto_op_t * | ops[], | ||
u32 | n_ops | ||
) |
static_always_inline u32 ipsecmb_ops_chacha_poly_enc | ( | vlib_main_t * | vm, |
vnet_crypto_op_t * | ops[], | ||
u32 | n_ops | ||
) |
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 |
static_always_inline vnet_crypto_op_status_t ipsecmb_status_job | ( | JOB_STS | status | ) |
VLIB_PLUGIN_REGISTER | ( | ) |
|
static |