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

Function create_aead_inbuf

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

Source from the content-addressed store, hash-verified

524}
525
526static int
527create_aead_inbuf(struct nitrox_softreq *sr, struct nitrox_sglist *digest)
528{
529 int err;
530 struct nitrox_crypto_ctx *ctx = sr->ctx;
531
532 err = create_aead_sglist(sr, &sr->in, sr->op->sym->m_src);
533 if (unlikely(err))
534 return err;
535
536 if (ctx->req_op == NITROX_OP_DECRYPT)
537 fill_sglist(&sr->in, digest->len, digest->iova, digest->virt);
538
539 create_sgcomp(&sr->in);
540 sr->dptr = sr->iova + offsetof(struct nitrox_softreq, in.sgcomp);
541 return 0;
542}
543
544static int
545create_aead_oop_outbuf(struct nitrox_softreq *sr, struct nitrox_sglist *digest)

Callers 2

process_cipher_auth_dataFunction · 0.85
process_combined_dataFunction · 0.85

Calls 3

create_aead_sglistFunction · 0.85
fill_sglistFunction · 0.85
create_sgcompFunction · 0.85

Tested by

no test coverage detected