66 #define _(n, s) [VNET_CRYPTO_OP_TYPE_##n] = s, 72 return format (s,
"unknown");
74 return format (s,
"%s", strings[opt]);
82 #define _(n, s) [VNET_CRYPTO_OP_STATUS_##n] = s, 88 return format (s,
"unknown");
90 return format (s,
"%s", strings[st]);
97 u32 crypto_engine_index = va_arg (*args,
u32);
100 if (crypto_engine_index == ~0)
#define foreach_crypto_op_status
vnet_crypto_engine_t * engines
uword * alg_index_by_name
vnet_crypto_op_data_t opt_data[VNET_CRYPTO_N_OP_IDS]
vnet_crypto_alg_data_t * algs
#define vec_elt_at_index(v, i)
Get vector value at index i checking that i is in bounds.
#define vec_free(V)
Free vector's memory (no header).
#define foreach_crypto_op_type
vnet_crypto_op_type_t type
#define hash_get_mem(h, key)
vnet_crypto_main_t crypto_main