|
static_always_inline void | crypto_set_op_status (vnet_crypto_op_t *ops[], u32 n_ops, int status) |
|
static_always_inline u32 | vnet_crypto_process_ops_call_handler (vlib_main_t *vm, vnet_crypto_main_t *cm, vnet_crypto_op_id_t opt, vnet_crypto_op_t *ops[], vnet_crypto_op_chunk_t *chunks, u32 n_ops) |
|
static_always_inline u32 | vnet_crypto_process_ops_inline (vlib_main_t *vm, vnet_crypto_op_t ops[], vnet_crypto_op_chunk_t *chunks, u32 n_ops) |
|
u32 | vnet_crypto_process_ops (vlib_main_t *vm, vnet_crypto_op_t ops[], u32 n_ops) |
|
u32 | vnet_crypto_process_chained_ops (vlib_main_t *vm, vnet_crypto_op_t ops[], vnet_crypto_op_chunk_t *chunks, u32 n_ops) |
|
u32 | vnet_crypto_register_engine (vlib_main_t *vm, char *name, int prio, char *desc) |
|
static_always_inline void | crypto_set_active_engine (vnet_crypto_op_data_t *od, vnet_crypto_op_id_t id, u32 ei, crypto_op_class_type_t oct) |
|
int | vnet_crypto_set_handler2 (char *alg_name, char *engine, crypto_op_class_type_t oct) |
|
int | vnet_crypto_is_set_handler (vnet_crypto_alg_t alg) |
|
void | vnet_crypto_register_ops_handler_inline (vlib_main_t *vm, u32 engine_index, vnet_crypto_op_id_t opt, vnet_crypto_ops_handler_t *fn, vnet_crypto_chained_ops_handler_t *cfn) |
|
void | vnet_crypto_register_ops_handler (vlib_main_t *vm, u32 engine_index, vnet_crypto_op_id_t opt, vnet_crypto_ops_handler_t *fn) |
|
void | vnet_crypto_register_chained_ops_handler (vlib_main_t *vm, u32 engine_index, vnet_crypto_op_id_t opt, vnet_crypto_chained_ops_handler_t *fn) |
|
void | vnet_crypto_register_ops_handlers (vlib_main_t *vm, u32 engine_index, vnet_crypto_op_id_t opt, vnet_crypto_ops_handler_t *fn, vnet_crypto_chained_ops_handler_t *cfn) |
|
void | vnet_crypto_register_async_handler (vlib_main_t *vm, u32 engine_index, vnet_crypto_async_op_id_t opt, vnet_crypto_frame_enqueue_t *enqueue_hdl, vnet_crypto_frame_dequeue_t *dequeue_hdl) |
|
void | vnet_crypto_register_key_handler (vlib_main_t *vm, u32 engine_index, vnet_crypto_key_handler_t *key_handler) |
|
static int | vnet_crypto_key_len_check (vnet_crypto_alg_t alg, u16 length) |
|
u32 | vnet_crypto_key_add (vlib_main_t *vm, vnet_crypto_alg_t alg, u8 *data, u16 length) |
|
void | vnet_crypto_key_del (vlib_main_t *vm, vnet_crypto_key_index_t index) |
|
vnet_crypto_async_alg_t | vnet_crypto_link_algs (vnet_crypto_alg_t crypto_alg, vnet_crypto_alg_t integ_alg) |
|
u32 | vnet_crypto_key_add_linked (vlib_main_t *vm, vnet_crypto_key_index_t index_crypto, vnet_crypto_key_index_t index_integ) |
| Use 2 created keys to generate new key for linked algs (cipher + integ) The returned key index is to be used for linked alg only. More...
|
|
clib_error_t * | crypto_dispatch_enable_disable (int is_enable) |
|
static_always_inline void | crypto_set_active_async_engine (vnet_crypto_async_op_data_t *od, vnet_crypto_async_op_id_t id, u32 ei) |
|
int | vnet_crypto_set_async_handler2 (char *alg_name, char *engine) |
|
u32 | vnet_crypto_register_post_node (vlib_main_t *vm, char *post_node_name) |
| async crypto register functions More...
|
|
void | vnet_crypto_request_async_mode (int is_enable) |
|
void | vnet_crypto_set_async_dispatch_mode (u8 mode) |
|
int | vnet_crypto_is_set_async_handler (vnet_crypto_async_op_id_t op) |
|
static void | vnet_crypto_init_cipher_data (vnet_crypto_alg_t alg, vnet_crypto_op_id_t eid, vnet_crypto_op_id_t did, char *name, u8 is_aead) |
|
static void | vnet_crypto_init_hash_data (vnet_crypto_alg_t alg, vnet_crypto_op_id_t id, char *name) |
|
static void | vnet_crypto_init_hmac_data (vnet_crypto_alg_t alg, vnet_crypto_op_id_t id, char *name) |
|
static void | vnet_crypto_init_async_data (vnet_crypto_async_alg_t alg, vnet_crypto_async_op_id_t eid, vnet_crypto_async_op_id_t did, char *name) |
|
clib_error_t * | vnet_crypto_init (vlib_main_t *vm) |
|