Lines Matching refs:iv
112 u8 iv[8]; in crypto_gcm_setkey() member
145 sizeof(data->hash), data->iv); in crypto_gcm_setkey()
200 memcpy(req->iv + 12, &counter, 4); in crypto_gcm_init_crypt()
217 req->iv); in crypto_gcm_init_crypt()
904 u8 *iv = PTR_ALIGN((u8 *)(subreq + 1) + crypto_aead_reqsize(child), in crypto_rfc4106_crypt() local
907 memcpy(iv, ctx->nonce, 4); in crypto_rfc4106_crypt()
908 memcpy(iv + 4, req->iv, 8); in crypto_rfc4106_crypt()
913 aead_request_set_crypt(subreq, req->src, req->dst, req->cryptlen, iv); in crypto_rfc4106_crypt()
1133 u8 *iv = PTR_ALIGN((u8 *)(rctx + 1) + crypto_aead_reqsize(ctx->child), in crypto_rfc4543_crypt() local
1136 memcpy(iv, ctx->nonce, 4); in crypto_rfc4543_crypt()
1137 memcpy(iv + 4, req->iv, 8); in crypto_rfc4543_crypt()
1154 sg_set_buf(payload, req->iv, 8); in crypto_rfc4543_crypt()
1155 scatterwalk_crypto_chain(payload, src, vsrc == req->iv + 8, 2); in crypto_rfc4543_crypt()
1176 aead_request_set_crypt(subreq, cipher, cipher, enc ? 0 : authsize, iv); in crypto_rfc4543_crypt()