5 #ifndef _RTE_CRYPTO_SYM_H_
6 #define _RTE_CRYPTO_SYM_H_
466 struct rte_crypto_aead_xform {
516 uint16_t digest_length;
554 struct rte_crypto_aead_xform
aead;
863 memset(op, 0,
sizeof(*op));
879 void *priv_data, uint8_t nb_xforms)
887 xform = xform->
next = --nb_xforms > 0 ? xform + 1 : NULL;
890 return sym_op->
xform;
956 for (i = 1, nseg = mb->
next; nseg != NULL; nseg = nseg->
next, i++) {
962 if (left <= seglen) {
974 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
struct rte_crypto_sym_op::@122::@124::@129 aad
#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_crypto_sym_op::@122::@124::@128 digest
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_op::@122::@124::@127 data
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