| 243 | } |
| 244 | |
| 245 | static void |
| 246 | softreq_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 | |
| 255 | static void |
| 256 | fill_sglist(struct nitrox_sgtable *sgtbl, uint16_t len, rte_iova_t iova, |
no outgoing calls
no test coverage detected