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

Function create_aead_oop_outbuf

dpdk/drivers/crypto/nitrox/nitrox_sym_reqmgr.c:544–558  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

542}
543
544static int
545create_aead_oop_outbuf(struct nitrox_softreq *sr, struct nitrox_sglist *digest)
546{
547 int err;
548 struct nitrox_crypto_ctx *ctx = sr->ctx;
549
550 err = create_aead_sglist(sr, &sr->out, sr->op->sym->m_dst);
551 if (unlikely(err))
552 return err;
553
554 if (ctx->req_op == NITROX_OP_ENCRYPT)
555 fill_sglist(&sr->out, digest->len, digest->iova, digest->virt);
556
557 return 0;
558}
559
560static void
561create_aead_inplace_outbuf(struct nitrox_softreq *sr,

Callers 1

create_aead_outbufFunction · 0.85

Calls 2

create_aead_sglistFunction · 0.85
fill_sglistFunction · 0.85

Tested by

no test coverage detected