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

Function softreq_copy_iv

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

Source from the content-addressed store, hash-verified

243}
244
245static void
246softreq_copy_iv(struct nitrox_softreq *sr, uint8_t salt_size)
247{
248 uint16_t offset = sr->ctx->iv.offset + salt_size;
249
250 sr->iv.virt = rte_crypto_op_ctod_offset(sr->op, uint8_t *, offset);
251 sr->iv.iova = rte_crypto_op_ctophys_offset(sr->op, offset);
252 sr->iv.len = sr->ctx->iv.length - salt_size;
253}
254
255static void
256fill_sglist(struct nitrox_sgtable *sgtbl, uint16_t len, rte_iova_t iova,

Callers 3

process_cipher_dataFunction · 0.85
process_cipher_auth_dataFunction · 0.85
process_combined_dataFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected