5 #ifndef _RTE_CRYPTO_SYM_H_ 6 #define _RTE_CRYPTO_SYM_H_ 239 const uint8_t *_key_data;
240 uint16_t _key_length;
498 struct rte_crypto_aead_xform {
548 uint16_t digest_length;
586 struct rte_crypto_aead_xform aead;
896 memset(op, 0,
sizeof(*op));
912 void *priv_data, uint8_t nb_xforms)
920 xform = xform->
next = --nb_xforms > 0 ? xform + 1 : NULL;
923 return sym_op->
xform;
989 for (i = 1, nseg = mb->
next; nseg != NULL; nseg = nseg->
next, i++) {
995 if (left <= seglen) {
1003 vec[i].
len = seglen;
1007 RTE_ASSERT(left == 0);
static __rte_experimental int rte_crypto_mbuf_to_vec(const struct rte_mbuf *mb, uint32_t ofs, uint32_t len, struct rte_crypto_vec vec[], uint32_t num)
struct rte_crypto_va_iova_ptr * auth_iv
struct rte_security_session * sec_session
#define rte_pktmbuf_iova(m)
static void __rte_crypto_sym_op_reset(struct rte_crypto_sym_op *op)
#define rte_pktmbuf_iova_offset(m, o)
rte_crypto_auth_operation
const char * rte_crypto_cipher_operation_strings[]
const char * rte_crypto_aead_operation_strings[]
rte_crypto_cipher_operation
#define rte_pktmbuf_mtod_offset(m, t, o)
struct rte_crypto_sgl * sgl
const char * rte_crypto_aead_algorithm_strings[]
static struct rte_crypto_sym_xform * __rte_crypto_sym_op_sym_xforms_alloc(struct rte_crypto_sym_op *sym_op, void *priv_data, uint8_t nb_xforms)
rte_crypto_aead_operation
#define rte_pktmbuf_mtod(m, t)
static int __rte_crypto_sym_op_attach_sym_session(struct rte_crypto_sym_op *sym_op, struct rte_cryptodev_sym_session *sess)
struct rte_crypto_va_iova_ptr * aad
struct rte_cryptodev_sym_session * session
struct rte_crypto_vec * vec
rte_crypto_auth_algorithm
rte_crypto_sym_xform_type
const char * rte_crypto_auth_algorithm_strings[]
struct rte_crypto_sym_xform * xform
const char * rte_crypto_auth_operation_strings[]
struct rte_crypto_va_iova_ptr * iv
struct rte_crypto_va_iova_ptr * digest
rte_crypto_aead_algorithm
const char * rte_crypto_cipher_algorithm_strings[]
rte_crypto_cipher_algorithm