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

Function create_cipher_inbuf

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

Source from the content-addressed store, hash-verified

331}
332
333static int
334create_cipher_inbuf(struct nitrox_softreq *sr)
335{
336 int err;
337 struct rte_crypto_op *op = sr->op;
338
339 fill_sglist(&sr->in, sr->iv.len, sr->iv.iova, sr->iv.virt);
340 err = create_sglist_from_mbuf(&sr->in, op->sym->m_src,
341 op->sym->cipher.data.offset,
342 op->sym->cipher.data.length);
343 if (unlikely(err))
344 return err;
345
346 create_sgcomp(&sr->in);
347 sr->dptr = sr->iova + offsetof(struct nitrox_softreq, in.sgcomp);
348
349 return 0;
350}
351
352static int
353create_cipher_outbuf(struct nitrox_softreq *sr)

Callers 1

process_cipher_dataFunction · 0.85

Calls 3

fill_sglistFunction · 0.85
create_sglist_from_mbufFunction · 0.85
create_sgcompFunction · 0.85

Tested by

no test coverage detected