Lines Matching refs:iv
145 struct iv { struct
159 struct iv iv; argument
243 uint16_t offset = sr->ctx->iv.offset + salt_size; in softreq_copy_iv()
245 sr->iv.virt = rte_crypto_op_ctod_offset(sr->op, uint8_t *, offset); in softreq_copy_iv()
246 sr->iv.iova = rte_crypto_op_ctophys_offset(sr->op, offset); in softreq_copy_iv()
247 sr->iv.len = sr->ctx->iv.length - salt_size; in softreq_copy_iv()
334 fill_sglist(&sr->in, sr->iv.len, sr->iv.iova, sr->iv.virt); in create_cipher_inbuf()
363 fill_sglist(&sr->out, sr->iv.len, sr->iv.iova, sr->iv.virt); in create_cipher_outbuf()
411 create_cipher_gph(op->sym->cipher.data.length, sr->iv.len, &sr->gph); in process_cipher_data()
456 fill_sglist(sgtbl, sr->iv.len, sr->iv.iova, sr->iv.virt); in create_cipher_auth_sglist()
487 fill_sglist(sgtbl, sr->iv.len, sr->iv.iova, sr->iv.virt); in create_combined_sglist()
660 create_aead_gph(op->sym->cipher.data.length, sr->iv.len, in process_cipher_auth_data()
671 if (unlikely(ctx->iv.length < AES_GCM_SALT_SIZE)) { in softreq_copy_salt()
672 NITROX_LOG(ERR, "Invalid IV length %d\n", ctx->iv.length); in softreq_copy_salt()
676 addr = rte_crypto_op_ctod_offset(sr->op, uint8_t *, ctx->iv.offset); in softreq_copy_salt()
681 memcpy(ctx->fctx.crypto.iv, addr, AES_GCM_SALT_SIZE); in softreq_copy_salt()
738 create_aead_gph(op->sym->aead.data.length, sr->iv.len, in process_combined_data()