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

Function process_cipher_data

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

Source from the content-addressed store, hash-verified

399}
400
401static int
402process_cipher_data(struct nitrox_softreq *sr)
403{
404 struct rte_crypto_op *op = sr->op;
405 int err;
406
407 softreq_copy_iv(sr, 0);
408 err = create_cipher_inbuf(sr);
409 if (unlikely(err))
410 return err;
411
412 err = create_cipher_outbuf(sr);
413 if (unlikely(err))
414 return err;
415
416 create_cipher_gph(op->sym->cipher.data.length, sr->iv.len, &sr->gph);
417
418 return 0;
419}
420
421static int
422extract_cipher_auth_digest(struct nitrox_softreq *sr,

Callers 1

process_softreqFunction · 0.85

Calls 4

softreq_copy_ivFunction · 0.85
create_cipher_inbufFunction · 0.85
create_cipher_outbufFunction · 0.85
create_cipher_gphFunction · 0.85

Tested by

no test coverage detected