5 #ifndef _RTE_CRYPTO_SYM_H_
6 #define _RTE_CRYPTO_SYM_H_
142 RTE_CRYPTO_CIPHER_LIST_END
318 RTE_CRYPTO_AUTH_LIST_END
417 RTE_CRYPTO_AEAD_LIST_END
436 struct rte_crypto_aead_xform {
486 uint16_t digest_length;
524 struct rte_crypto_aead_xform
aead;
833 memset(op, 0,
sizeof(*op));
849 void *priv_data, uint8_t nb_xforms)
857 xform = xform->
next = --nb_xforms > 0 ? xform + 1 : NULL;
860 return sym_op->
xform;
926 for (i = 1, nseg = mb->
next; nseg != NULL; nseg = nseg->
next, i++) {
932 if (left <= seglen) {
944 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_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_sym_op::@108::@110::@113 data
struct rte_cryptodev_sym_session * session
struct rte_crypto_sym_op::@108::@110::@114 digest
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[]
rte_crypto_aead_algorithm
const char * rte_crypto_cipher_algorithm_strings[]
struct rte_crypto_sym_op::@108::@110::@115 aad
rte_crypto_cipher_algorithm