FD.io VPP
v21.06-3-gbb25fbf28
Vector Packet Processing
|
Go to the source code of this file.
Data Structures | |
struct | openssl_per_thread_data_t |
Macros | |
#define | foreach_openssl_aes_evp_op |
#define | foreach_openssl_chacha20_evp_op _ (chacha20_poly1305, CHACHA20_POLY1305, EVP_chacha20_poly1305, 8) |
#define | foreach_openssl_evp_op |
#define | foreach_openssl_hash_op |
#define | foreach_openssl_hmac_op |
Variables | |
static openssl_per_thread_data_t * | per_thread_data = 0 |
foreach_openssl_evp_op | |
foreach_openssl_hash_op | |
foreach_openssl_hmac_op | |
#define foreach_openssl_aes_evp_op |
#define foreach_openssl_chacha20_evp_op _ (chacha20_poly1305, CHACHA20_POLY1305, EVP_chacha20_poly1305, 8) |
#define foreach_openssl_evp_op |
#define foreach_openssl_hash_op |
#define foreach_openssl_hmac_op |
clib_error_t* crypto_openssl_init | ( | vlib_main_t * | vm | ) |
static_always_inline u32 openssl_ops_dec_aead | ( | vlib_main_t * | vm, |
vnet_crypto_op_t * | ops[], | ||
vnet_crypto_op_chunk_t * | chunks, | ||
u32 | n_ops, | ||
const EVP_CIPHER * | cipher, | ||
int | is_gcm, | ||
const int | iv_len | ||
) |
static_always_inline u32 openssl_ops_dec_cbc | ( | vlib_main_t * | vm, |
vnet_crypto_op_t * | ops[], | ||
vnet_crypto_op_chunk_t * | chunks, | ||
u32 | n_ops, | ||
const EVP_CIPHER * | cipher, | ||
const int | iv_len | ||
) |
static_always_inline __clib_unused u32 openssl_ops_dec_chacha20_poly1305 | ( | vlib_main_t * | vm, |
vnet_crypto_op_t * | ops[], | ||
vnet_crypto_op_chunk_t * | chunks, | ||
u32 | n_ops, | ||
const EVP_CIPHER * | cipher, | ||
const int | iv_len | ||
) |
static_always_inline u32 openssl_ops_dec_gcm | ( | vlib_main_t * | vm, |
vnet_crypto_op_t * | ops[], | ||
vnet_crypto_op_chunk_t * | chunks, | ||
u32 | n_ops, | ||
const EVP_CIPHER * | cipher, | ||
const int | iv_len | ||
) |
static_always_inline u32 openssl_ops_enc_aead | ( | vlib_main_t * | vm, |
vnet_crypto_op_t * | ops[], | ||
vnet_crypto_op_chunk_t * | chunks, | ||
u32 | n_ops, | ||
const EVP_CIPHER * | cipher, | ||
int | is_gcm, | ||
const int | iv_len | ||
) |
static_always_inline u32 openssl_ops_enc_cbc | ( | vlib_main_t * | vm, |
vnet_crypto_op_t * | ops[], | ||
vnet_crypto_op_chunk_t * | chunks, | ||
u32 | n_ops, | ||
const EVP_CIPHER * | cipher, | ||
const int | iv_len | ||
) |
static_always_inline __clib_unused u32 openssl_ops_enc_chacha20_poly1305 | ( | vlib_main_t * | vm, |
vnet_crypto_op_t * | ops[], | ||
vnet_crypto_op_chunk_t * | chunks, | ||
u32 | n_ops, | ||
const EVP_CIPHER * | cipher, | ||
const int | iv_len | ||
) |
static_always_inline u32 openssl_ops_enc_gcm | ( | vlib_main_t * | vm, |
vnet_crypto_op_t * | ops[], | ||
vnet_crypto_op_chunk_t * | chunks, | ||
u32 | n_ops, | ||
const EVP_CIPHER * | cipher, | ||
const int | iv_len | ||
) |
static_always_inline u32 openssl_ops_hash | ( | vlib_main_t * | vm, |
vnet_crypto_op_t * | ops[], | ||
vnet_crypto_op_chunk_t * | chunks, | ||
u32 | n_ops, | ||
const EVP_MD * | md | ||
) |
static_always_inline u32 openssl_ops_hmac | ( | vlib_main_t * | vm, |
vnet_crypto_op_t * | ops[], | ||
vnet_crypto_op_chunk_t * | chunks, | ||
u32 | n_ops, | ||
const EVP_MD * | md | ||
) |
VLIB_PLUGIN_REGISTER | ( | ) |
|
static |