Lines Matching full:iv
94 struct scatterlist *src, char *iv, int ivsize, in alloc_src_sglist() argument
103 /* IV entry */ in alloc_src_sglist()
105 /* Allocate buffer to hold IV and input scatterlist array */ in alloc_src_sglist()
110 nitrox_creq_copy_iv(nkreq->src, iv, ivsize); in alloc_src_sglist()
125 /* IV, ORH, COMPLETION entries */ in alloc_dst_sglist()
175 ret = alloc_src_sglist(&rctx->nkreq, rctx->src, rctx->iv, rctx->ivsize, in nitrox_set_creq()
225 memcpy(fctx->crypto.iv, areq->iv, GCM_AES_SALT_SIZE); in nitrox_aes_gcm_enc()
231 rctx->iv = &areq->iv[GCM_AES_SALT_SIZE]; in nitrox_aes_gcm_enc()
259 memcpy(fctx->crypto.iv, areq->iv, GCM_AES_SALT_SIZE); in nitrox_aes_gcm_dec()
265 rctx->iv = &areq->iv[GCM_AES_SALT_SIZE]; in nitrox_aes_gcm_dec()
374 memcpy(fctx->crypto.iv, key + keylen, GCM_AES_SALT_SIZE); in nitrox_rfc4106_setkey()
453 aead_rctx->iv = areq->iv; in nitrox_rfc4106_enc()
486 aead_rctx->iv = areq->iv; in nitrox_rfc4106_dec()