Lines Matching defs:ivsize
90 unsigned int ivsize = crypto_aead_ivsize(aead);
150 ivsize, ctx->authsize, is_rfc3686, nonce,
165 ivsize, ctx->authsize, alg->caam.geniv,
183 ivsize, ctx->authsize, is_rfc3686, nonce,
308 unsigned int ivsize = crypto_aead_ivsize(aead);
327 cnstr_shdsc_gcm_encap(ctx->sh_desc_enc, &ctx->cdata, ivsize,
342 cnstr_shdsc_gcm_decap(ctx->sh_desc_dec, &ctx->cdata, ivsize,
411 unsigned int ivsize = crypto_aead_ivsize(aead);
431 cnstr_shdsc_rfc4106_encap(ctx->sh_desc_enc, &ctx->cdata, ivsize,
445 cnstr_shdsc_rfc4106_decap(ctx->sh_desc_dec, &ctx->cdata, ivsize,
519 unsigned int ivsize = crypto_aead_ivsize(aead);
539 cnstr_shdsc_rfc4543_encap(ctx->sh_desc_enc, &ctx->cdata, ivsize,
553 cnstr_shdsc_rfc4543_decap(ctx->sh_desc_dec, &ctx->cdata, ivsize,
630 unsigned int ivsize = crypto_skcipher_ivsize(skcipher);
642 cnstr_shdsc_skcipher_encap(ctx->sh_desc_enc, &ctx->cdata, ivsize,
644 cnstr_shdsc_skcipher_decap(ctx->sh_desc_dec, &ctx->cdata, ivsize,
874 int dst_nents, dma_addr_t iv_dma, int ivsize,
888 dma_unmap_single(dev, iv_dma, ivsize, iv_dir);
898 int ivsize = crypto_aead_ivsize(aead);
901 edesc->iv_dma, ivsize, DMA_TO_DEVICE, edesc->qm_sg_dma,
910 int ivsize = crypto_skcipher_ivsize(skcipher);
913 edesc->iv_dma, ivsize, DMA_BIDIRECTIONAL, edesc->qm_sg_dma,
955 int ivsize = 0;
1041 ivsize = crypto_aead_ivsize(aead);
1055 qm_sg_ents = 1 + !!ivsize + mapped_src_nents;
1060 1 + !!ivsize + pad_sg_nents(mapped_src_nents));
1066 if (unlikely(offsetof(struct aead_edesc, sgt) + qm_sg_bytes + ivsize >
1069 qm_sg_ents, ivsize);
1076 if (ivsize) {
1080 memcpy(iv, req->iv, ivsize);
1082 iv_dma = dma_map_single(qidev, iv, ivsize, DMA_TO_DEVICE);
1105 iv_dma, ivsize, DMA_TO_DEVICE, 0, 0);
1112 if (ivsize) {
1113 dma_to_qm_sg_one(sg_table + qm_sg_index, iv_dma, ivsize, 0);
1127 iv_dma, ivsize, DMA_TO_DEVICE, 0, 0);
1137 in_len = 4 + ivsize + req->assoclen + req->cryptlen;
1148 (1 + !!ivsize) * sizeof(*sg_table),
1223 int ivsize = crypto_skcipher_ivsize(skcipher);
1235 edesc->src_nents > 1 ? 100 : ivsize, 1);
1248 memcpy(req->iv, skcipher_edesc_iv(edesc), ivsize);
1266 int ivsize = crypto_skcipher_ivsize(skcipher);
1334 len += ivsize;
1338 qm_sg_ents, ivsize);
1363 memcpy(iv, req->iv, ivsize);
1365 iv_dma = dma_map_single(qidev, iv, ivsize, DMA_BIDIRECTIONAL);
1376 dma_to_qm_sg_one(sg_table, iv_dma, ivsize, 0);
1383 ivsize, 0);
1390 iv_dma, ivsize, DMA_BIDIRECTIONAL, 0, 0);
1398 ivsize + req->cryptlen, 0);
1402 sizeof(*sg_table), req->cryptlen + ivsize,
1406 sizeof(*sg_table), req->cryptlen + ivsize,
1415 unsigned int ivsize = crypto_skcipher_ivsize(skcipher);
1417 return !!get_unaligned((u64 *)(req->iv + (ivsize / 2)));
1494 .ivsize = AES_BLOCK_SIZE,
1510 .ivsize = DES3_EDE_BLOCK_SIZE,
1526 .ivsize = DES_BLOCK_SIZE,
1542 .ivsize = AES_BLOCK_SIZE,
1562 .ivsize = CTR_RFC3686_IV_SIZE,
1584 .ivsize = AES_BLOCK_SIZE,
1602 .ivsize = 8,
1621 .ivsize = 8,
1641 .ivsize = 12,
1662 .ivsize = AES_BLOCK_SIZE,
1684 .ivsize = AES_BLOCK_SIZE,
1706 .ivsize = AES_BLOCK_SIZE,
1728 .ivsize = AES_BLOCK_SIZE,
1750 .ivsize = AES_BLOCK_SIZE,
1772 .ivsize = AES_BLOCK_SIZE,
1794 .ivsize = AES_BLOCK_SIZE,
1817 .ivsize = AES_BLOCK_SIZE,
1839 .ivsize = AES_BLOCK_SIZE,
1862 .ivsize = AES_BLOCK_SIZE,
1884 .ivsize = AES_BLOCK_SIZE,
1907 .ivsize = AES_BLOCK_SIZE,
1929 .ivsize = DES3_EDE_BLOCK_SIZE,
1951 .ivsize = DES3_EDE_BLOCK_SIZE,
1974 .ivsize = DES3_EDE_BLOCK_SIZE,
1997 .ivsize = DES3_EDE_BLOCK_SIZE,
2020 .ivsize = DES3_EDE_BLOCK_SIZE,
2043 .ivsize = DES3_EDE_BLOCK_SIZE,
2066 .ivsize = DES3_EDE_BLOCK_SIZE,
2089 .ivsize = DES3_EDE_BLOCK_SIZE,
2112 .ivsize = DES3_EDE_BLOCK_SIZE,
2135 .ivsize = DES3_EDE_BLOCK_SIZE,
2158 .ivsize = DES3_EDE_BLOCK_SIZE,
2181 .ivsize = DES3_EDE_BLOCK_SIZE,
2203 .ivsize = DES_BLOCK_SIZE,
2225 .ivsize = DES_BLOCK_SIZE,
2247 .ivsize = DES_BLOCK_SIZE,
2269 .ivsize = DES_BLOCK_SIZE,
2291 .ivsize = DES_BLOCK_SIZE,
2314 .ivsize = DES_BLOCK_SIZE,
2336 .ivsize = DES_BLOCK_SIZE,
2359 .ivsize = DES_BLOCK_SIZE,
2381 .ivsize = DES_BLOCK_SIZE,
2404 .ivsize = DES_BLOCK_SIZE,
2426 .ivsize = DES_BLOCK_SIZE,
2449 .ivsize = DES_BLOCK_SIZE,