MCPcopy Create free account
hub / github.com/F-Stack/f-stack / get_crypto_ctx

Function get_crypto_ctx

dpdk/drivers/crypto/nitrox/nitrox_sym.c:614–623  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

612{}
613
614static struct nitrox_crypto_ctx *
615get_crypto_ctx(struct rte_crypto_op *op)
616{
617 if (op->sess_type == RTE_CRYPTO_OP_WITH_SESSION) {
618 if (likely(op->sym->session))
619 return CRYPTODEV_GET_SYM_SESS_PRIV(op->sym->session);
620 }
621
622 return NULL;
623}
624
625static int
626nitrox_enq_single_op(struct nitrox_qp *qp, struct rte_crypto_op *op)

Callers 1

nitrox_enq_single_opFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected