/linux-4.4.14/crypto/ |
D | seqiv.c | 89 unsigned int ivsize) in seqiv_geniv() argument 91 unsigned int len = ivsize; in seqiv_geniv() 93 if (ivsize > sizeof(u64)) { in seqiv_geniv() 94 memset(info, 0, ivsize - sizeof(u64)); in seqiv_geniv() 98 memcpy(info + ivsize - len, &seq, len); in seqiv_geniv() 99 crypto_xor(info, ctx->salt, ivsize); in seqiv_geniv() 110 unsigned int ivsize; in seqiv_givencrypt() local 119 ivsize = crypto_ablkcipher_ivsize(geniv); in seqiv_givencrypt() 123 info = kmalloc(ivsize, req->creq.base.flags & in seqiv_givencrypt() 138 seqiv_geniv(ctx, info, req->seq, ivsize); in seqiv_givencrypt() [all …]
|
D | echainiv.c | 64 unsigned int ivsize; in echainiv_encrypt_complete2() local 73 ivsize = crypto_aead_ivsize(geniv); in echainiv_encrypt_complete2() 75 echainiv_write_iv(subreq->iv, ivsize); in echainiv_encrypt_complete2() 78 memcpy(req->iv, subreq->iv, ivsize); in echainiv_encrypt_complete2() 102 unsigned int ivsize = crypto_aead_ivsize(geniv); in echainiv_encrypt() local 105 if (req->cryptlen < ivsize) in echainiv_encrypt() 128 info = kmalloc(ivsize, req->base.flags & in echainiv_encrypt() 134 memcpy(info, req->iv, ivsize); in echainiv_encrypt() 142 crypto_xor(info, ctx->salt, ivsize); in echainiv_encrypt() 143 scatterwalk_map_and_copy(info, req->dst, req->assoclen, ivsize, 1); in echainiv_encrypt() [all …]
|
D | eseqiv.c | 81 unsigned int ivsize; in eseqiv_givencrypt() local 99 ivsize = crypto_ablkcipher_ivsize(geniv); in eseqiv_givencrypt() 101 if (vsrc != giv + ivsize && vdst != giv + ivsize) { in eseqiv_givencrypt() 112 sg_set_buf(reqctx->src, giv, ivsize); in eseqiv_givencrypt() 113 scatterwalk_crypto_chain(reqctx->src, osrc, vsrc == giv + ivsize, 2); in eseqiv_givencrypt() 118 sg_set_buf(reqctx->dst, giv, ivsize); in eseqiv_givencrypt() 119 scatterwalk_crypto_chain(reqctx->dst, odst, vdst == giv + ivsize, 2); in eseqiv_givencrypt() 125 req->creq.nbytes + ivsize, in eseqiv_givencrypt() 128 memcpy(req->creq.info, ctx->salt, ivsize); in eseqiv_givencrypt() 130 len = ivsize; in eseqiv_givencrypt() [all …]
|
D | ablkcipher.c | 142 memcpy(req->info, walk->iv, tfm->crt_ablkcipher.ivsize); in ablkcipher_walk_done() 194 unsigned int ivsize = tfm->crt_ablkcipher.ivsize; in ablkcipher_copy_iv() local 196 unsigned int size = aligned_bs * 2 + ivsize + max(aligned_bs, ivsize) - in ablkcipher_copy_iv() 208 iv = ablkcipher_get_spot(iv, ivsize); in ablkcipher_copy_iv() 210 walk->iv = memcpy(iv, walk->iv, ivsize); in ablkcipher_copy_iv() 368 if (alg->ivsize > PAGE_SIZE / 8) in crypto_init_ablkcipher_ops() 374 if (!alg->ivsize) { in crypto_init_ablkcipher_ops() 379 crt->ivsize = alg->ivsize; in crypto_init_ablkcipher_ops() 396 rblkcipher.ivsize = alg->cra_ablkcipher.ivsize; in crypto_ablkcipher_report() 425 seq_printf(m, "ivsize : %u\n", ablkcipher->ivsize); in crypto_ablkcipher_show() [all …]
|
D | blkcipher.c | 137 memcpy(desc->info, walk->iv, walk->ivsize); in blkcipher_walk_done() 281 walk->ivsize + max(aligned_bs, walk->ivsize) - in blkcipher_copy_iv() 293 iv = blkcipher_get_spot(iv, walk->ivsize); in blkcipher_copy_iv() 295 walk->iv = memcpy(iv, walk->iv, walk->ivsize); in blkcipher_copy_iv() 305 walk->ivsize = crypto_blkcipher_ivsize(desc->tfm); in blkcipher_walk_virt() 317 walk->ivsize = crypto_blkcipher_ivsize(desc->tfm); in blkcipher_walk_phys() 355 walk->ivsize = crypto_blkcipher_ivsize(desc->tfm); in blkcipher_walk_virt_block() 369 walk->ivsize = crypto_aead_ivsize(tfm); in blkcipher_aead_walk_virt_block() 453 cipher->ivsize) { in crypto_blkcipher_ctxsize() 455 len += cipher->ivsize; in crypto_blkcipher_ctxsize() [all …]
|
D | chainiv.c | 53 unsigned int ivsize; in chainiv_givencrypt() local 66 ivsize = crypto_ablkcipher_ivsize(geniv); in chainiv_givencrypt() 68 memcpy(req->giv, ctx->iv, ivsize); in chainiv_givencrypt() 69 memcpy(subreq->info, ctx->iv, ivsize); in chainiv_givencrypt() 75 memcpy(ctx->iv, subreq->info, ivsize); in chainiv_givencrypt() 159 unsigned int ivsize = crypto_ablkcipher_ivsize(geniv); in async_chainiv_givencrypt_tail() local 161 memcpy(req->giv, ctx->iv, ivsize); in async_chainiv_givencrypt_tail() 162 memcpy(subreq->info, ctx->iv, ivsize); in async_chainiv_givencrypt_tail() 168 memcpy(ctx->iv, subreq->info, ivsize); in async_chainiv_givencrypt_tail() 289 inst->alg.cra_ctxsize += inst->alg.cra_ablkcipher.ivsize; in chainiv_alloc()
|
D | aead.c | 117 raead.ivsize = aead->ivsize; in crypto_aead_report() 144 seq_printf(m, "ivsize : %u\n", aead->ivsize); in crypto_aead_show() 199 unsigned int ivsize; in aead_geniv_alloc() local 230 ivsize = crypto_aead_alg_ivsize(alg); in aead_geniv_alloc() 234 if (ivsize < sizeof(u64)) in aead_geniv_alloc() 256 inst->alg.ivsize = ivsize; in aead_geniv_alloc() 349 if (max(alg->maxauthsize, alg->ivsize) > PAGE_SIZE / 8) in aead_prepare_alg()
|
D | chacha20poly1305.c | 570 const char *name, unsigned int ivsize) in chachapoly_create() argument 581 if (ivsize > CHACHAPOLY_IV_SIZE) in chachapoly_create() 610 ctx->saltlen = CHACHAPOLY_IV_SIZE - ivsize; in chachapoly_create() 628 if (chacha->cra_ablkcipher.ivsize != CHACHA20_IV_SIZE) in chachapoly_create() 653 inst->alg.ivsize = ivsize; in chachapoly_create()
|
D | skcipher.c | 120 skcipher->ivsize = crypto_blkcipher_ivsize(blkcipher); in crypto_init_skcipher_ops_blkcipher() 211 skcipher->ivsize = crypto_ablkcipher_ivsize(ablkcipher); in crypto_init_skcipher_ops_ablkcipher()
|
D | algif_skcipher.c | 303 unsigned ivsize = crypto_skcipher_ivsize(tfm); in skcipher_sendmsg() local 329 if (con.iv && con.iv->ivlen != ivsize) in skcipher_sendmsg() 342 memcpy(ctx->iv, con.iv->iv, ivsize); in skcipher_sendmsg() 516 unsigned int ivsize = crypto_skcipher_ivsize(tfm); in skcipher_recvmsg_async() local 521 sreq = kzalloc(sizeof(*sreq) + reqsize + ivsize, GFP_KERNEL); in skcipher_recvmsg_async() 537 memcpy(iv, ctx->iv, ivsize); in skcipher_recvmsg_async()
|
D | algboss.c | 254 CRYPTO_ALG_TYPE_BLKCIPHER ? alg->cra_blkcipher.ivsize : in cryptomgr_schedule_test() 255 alg->cra_ablkcipher.ivsize)) in cryptomgr_schedule_test()
|
D | ctr.c | 215 inst->alg.cra_blkcipher.ivsize = alg->cra_blocksize; in crypto_ctr_alloc() 373 if (alg->cra_ablkcipher.ivsize != CTR_RFC3686_BLOCK_SIZE) in crypto_rfc3686_alloc() 397 inst->alg.cra_ablkcipher.ivsize = CTR_RFC3686_IV_SIZE; in crypto_rfc3686_alloc()
|
D | algif_aead.c | 173 unsigned ivsize = in aead_sendmsg() local 199 if (con.iv && con.iv->ivlen != ivsize) in aead_sendmsg() 210 memcpy(ctx->iv, con.iv->iv, ivsize); in aead_sendmsg()
|
D | crypto_null.c | 137 .ivsize = NULL_IV_SIZE,
|
D | authenc.c | 454 inst->alg.ivsize = enc->cra_ablkcipher.ivsize; in crypto_authenc_create()
|
D | ccm.c | 561 if (ctr->cra_ablkcipher.ivsize != 16) in crypto_ccm_create_common() 579 inst->alg.ivsize = 16; in crypto_ccm_create_common() 865 inst->alg.ivsize = 8; in crypto_rfc4309_create()
|
D | authencesn.c | 467 inst->alg.ivsize = enc->cra_ablkcipher.ivsize; in crypto_authenc_esn_create()
|
D | gcm.c | 673 if (ctr->cra_ablkcipher.ivsize != 16) in crypto_gcm_create_common() 698 inst->alg.ivsize = 12; in crypto_gcm_create_common() 982 inst->alg.ivsize = 8; in crypto_rfc4106_create() 1221 inst->alg.ivsize = 8; in crypto_rfc4543_create()
|
D | salsa20_generic.c | 231 .ivsize = SALSA20_IV_SIZE,
|
D | chacha20_generic.c | 186 .ivsize = CHACHA20_IV_SIZE,
|
D | cryptd.c | 376 inst->alg.cra_ablkcipher.ivsize = alg->cra_blkcipher.ivsize; in cryptd_create_blkcipher() 811 inst->alg.ivsize = crypto_aead_alg_ivsize(alg); in cryptd_create_aead()
|
D | keywrap.c | 372 inst->alg.cra_blkcipher.ivsize = SEMIBSIZE; in crypto_kw_alloc()
|
D | pcbc.c | 252 inst->alg.cra_blkcipher.ivsize = alg->cra_blocksize; in crypto_pcbc_alloc()
|
D | cbc.c | 246 inst->alg.cra_blkcipher.ivsize = alg->cra_blocksize; in crypto_cbc_alloc()
|
D | xts.c | 317 inst->alg.cra_blkcipher.ivsize = alg->cra_blocksize; in alloc()
|
D | cts.c | 309 inst->alg.cra_blkcipher.ivsize = alg->cra_blocksize; in crypto_cts_alloc()
|
D | lrw.c | 355 inst->alg.cra_blkcipher.ivsize = alg->cra_blocksize; in alloc()
|
D | pcrypt.c | 309 inst->alg.ivsize = crypto_aead_alg_ivsize(alg); in pcrypt_create_aead()
|
D | testmgr.c | 943 unsigned int ivsize = crypto_skcipher_ivsize(tfm); in __test_skcipher() local 979 memcpy(iv, template[i].iv, ivsize); in __test_skcipher() 1065 memcpy(iv, template[i].iv, ivsize); in __test_skcipher()
|
/linux-4.4.14/drivers/crypto/caam/ |
D | caamalg.c | 433 unsigned int ivsize = crypto_aead_ivsize(aead); in aead_set_sh_desc() local 628 NFIFOENTRY_PTYPE_RND | (ivsize << NFIFOENTRY_DLEN_SHIFT); in aead_set_sh_desc() 635 (ivsize << MOVE_LEN_SHIFT)); in aead_set_sh_desc() 642 (ivsize << MOVE_LEN_SHIFT)); in aead_set_sh_desc() 664 NFIFOENTRY_DTYPE_MSG | (ivsize << NFIFOENTRY_DLEN_SHIFT); in aead_set_sh_desc() 667 append_load_imm_u32(desc, ivsize, LDST_CLASS_2_CCB | in aead_set_sh_desc() 686 append_seq_fifo_load(desc, ivsize, in aead_set_sh_desc() 1533 append_seq_load(desc, crt->ivsize, LDST_SRCDST_BYTE_CONTEXT | in ablkcipher_setkey() 1592 append_seq_load(desc, crt->ivsize, LDST_SRCDST_BYTE_CONTEXT | in ablkcipher_setkey() 1656 NFIFOENTRY_PTYPE_RND | (crt->ivsize << NFIFOENTRY_DLEN_SHIFT); in ablkcipher_setkey() [all …]
|
/linux-4.4.14/drivers/crypto/qce/ |
D | ablkcipher.c | 74 rctx->ivsize = crypto_ablkcipher_ivsize(ablkcipher); in qce_ablkcipher_async_req_handle() 256 unsigned int ivsize; member 267 .ivsize = AES_BLOCK_SIZE, 276 .ivsize = AES_BLOCK_SIZE, 285 .ivsize = AES_BLOCK_SIZE, 294 .ivsize = AES_BLOCK_SIZE, 303 .ivsize = 0, 312 .ivsize = DES_BLOCK_SIZE, 321 .ivsize = 0, 330 .ivsize = DES3_EDE_BLOCK_SIZE, [all …]
|
D | common.c | 180 static void qce_xts_swapiv(__be32 *dst, const u8 *src, unsigned int ivsize) in qce_xts_swapiv() argument 185 if (ivsize > QCE_AES_IV_LENGTH) in qce_xts_swapiv() 190 for (i = (QCE_AES_IV_LENGTH - ivsize), j = ivsize - 1; in qce_xts_swapiv() 328 unsigned int ivsize = rctx->ivsize; in qce_setup_regs_ablkcipher() local 364 qce_xts_swapiv(enciv, rctx->iv, ivsize); in qce_setup_regs_ablkcipher() 366 qce_cpu_to_be32p_array(enciv, rctx->iv, ivsize); in qce_setup_regs_ablkcipher()
|
D | cipher.h | 45 unsigned int ivsize; member
|
/linux-4.4.14/drivers/crypto/ccp/ |
D | ccp-crypto-aes.c | 265 unsigned int ivsize; member 275 .ivsize = 0, 283 .ivsize = AES_BLOCK_SIZE, 291 .ivsize = AES_BLOCK_SIZE, 299 .ivsize = AES_BLOCK_SIZE, 307 .ivsize = AES_BLOCK_SIZE, 315 .ivsize = CTR_RFC3686_IV_SIZE, 342 alg->cra_ablkcipher.ivsize = def->ivsize; in ccp_register_aes_alg()
|
D | ccp-crypto-aes-xts.c | 255 alg->cra_ablkcipher.ivsize = AES_BLOCK_SIZE; in ccp_register_aes_xts_alg()
|
/linux-4.4.14/net/ceph/ |
D | crypto.c | 169 int ivsize; in ceph_aes_encrypt() local 189 ivsize = crypto_blkcipher_ivsize(tfm); in ceph_aes_encrypt() 190 memcpy(iv, aes_iv, ivsize); in ceph_aes_encrypt() 229 int ivsize; in ceph_aes_encrypt2() local 250 ivsize = crypto_blkcipher_ivsize(tfm); in ceph_aes_encrypt2() 251 memcpy(iv, aes_iv, ivsize); in ceph_aes_encrypt2() 291 int ivsize; in ceph_aes_decrypt() local 307 ivsize = crypto_blkcipher_ivsize(tfm); in ceph_aes_decrypt() 308 memcpy(iv, aes_iv, ivsize); in ceph_aes_decrypt() 356 int ivsize; in ceph_aes_decrypt2() local [all …]
|
/linux-4.4.14/security/keys/encrypted-keys/ |
D | encrypted.c | 47 static unsigned int ivsize; variable 96 ivsize = crypto_blkcipher_ivsize(tfm); in aes_get_sizes() 406 unsigned int ivsize) in init_blkcipher_desc() argument 424 crypto_blkcipher_set_iv(desc->tfm, iv, ivsize); in init_blkcipher_desc() 480 epayload->iv, ivsize); in derived_key_encrypt() 575 epayload->iv, ivsize); in derived_key_decrypt() 633 + strlen(datalen) + 1 + ivsize + 1 + encrypted_datalen; in encrypted_key_alloc() 665 asciilen = (ivsize + 1 + encrypted_datalen + HASH_SIZE) * 2; in encrypted_key_decrypt() 669 hex_encoded_data = hex_encoded_iv + (2 * ivsize) + 2; in encrypted_key_decrypt() 670 ret = hex2bin(epayload->iv, hex_encoded_iv, ivsize); in encrypted_key_decrypt() [all …]
|
/linux-4.4.14/arch/arm64/crypto/ |
D | aes-glue.c | 297 .ivsize = AES_BLOCK_SIZE, 316 .ivsize = AES_BLOCK_SIZE, 335 .ivsize = AES_BLOCK_SIZE, 354 .ivsize = AES_BLOCK_SIZE, 374 .ivsize = AES_BLOCK_SIZE, 394 .ivsize = AES_BLOCK_SIZE, 414 .ivsize = AES_BLOCK_SIZE, 434 .ivsize = AES_BLOCK_SIZE,
|
D | aes-ce-ccm-glue.c | 289 .ivsize = AES_BLOCK_SIZE,
|
/linux-4.4.14/include/uapi/linux/ |
D | cryptouser.h | 86 unsigned int ivsize; member 94 unsigned int ivsize; member
|
/linux-4.4.14/arch/arm/crypto/ |
D | aes-ce-glue.c | 367 .ivsize = AES_BLOCK_SIZE, 386 .ivsize = AES_BLOCK_SIZE, 405 .ivsize = AES_BLOCK_SIZE, 424 .ivsize = AES_BLOCK_SIZE, 444 .ivsize = AES_BLOCK_SIZE, 464 .ivsize = AES_BLOCK_SIZE, 484 .ivsize = AES_BLOCK_SIZE, 504 .ivsize = AES_BLOCK_SIZE,
|
D | aesbs-glue.c | 314 .ivsize = AES_BLOCK_SIZE, 333 .ivsize = AES_BLOCK_SIZE, 352 .ivsize = AES_BLOCK_SIZE, 372 .ivsize = AES_BLOCK_SIZE, 392 .ivsize = AES_BLOCK_SIZE, 412 .ivsize = AES_BLOCK_SIZE,
|
/linux-4.4.14/arch/x86/crypto/ |
D | serpent_avx2_glue.c | 365 .ivsize = SERPENT_BLOCK_SIZE, 390 .ivsize = SERPENT_BLOCK_SIZE, 412 .ivsize = SERPENT_BLOCK_SIZE, 457 .ivsize = SERPENT_BLOCK_SIZE, 480 .ivsize = SERPENT_BLOCK_SIZE, 506 .ivsize = SERPENT_BLOCK_SIZE, 529 .ivsize = SERPENT_BLOCK_SIZE,
|
D | twofish_avx_glue.c | 392 .ivsize = TF_BLOCK_SIZE, 416 .ivsize = TF_BLOCK_SIZE, 437 .ivsize = TF_BLOCK_SIZE, 480 .ivsize = TF_BLOCK_SIZE, 502 .ivsize = TF_BLOCK_SIZE, 527 .ivsize = TF_BLOCK_SIZE, 549 .ivsize = TF_BLOCK_SIZE,
|
D | camellia_aesni_avx_glue.c | 388 .ivsize = CAMELLIA_BLOCK_SIZE, 412 .ivsize = CAMELLIA_BLOCK_SIZE, 433 .ivsize = CAMELLIA_BLOCK_SIZE, 476 .ivsize = CAMELLIA_BLOCK_SIZE, 498 .ivsize = CAMELLIA_BLOCK_SIZE, 523 .ivsize = CAMELLIA_BLOCK_SIZE, 545 .ivsize = CAMELLIA_BLOCK_SIZE,
|
D | serpent_sse2_glue.c | 441 .ivsize = SERPENT_BLOCK_SIZE, 465 .ivsize = SERPENT_BLOCK_SIZE, 486 .ivsize = SERPENT_BLOCK_SIZE, 529 .ivsize = SERPENT_BLOCK_SIZE, 551 .ivsize = SERPENT_BLOCK_SIZE, 576 .ivsize = SERPENT_BLOCK_SIZE, 598 .ivsize = SERPENT_BLOCK_SIZE,
|
D | cast6_avx_glue.c | 425 .ivsize = CAST6_BLOCK_SIZE, 449 .ivsize = CAST6_BLOCK_SIZE, 470 .ivsize = CAST6_BLOCK_SIZE, 513 .ivsize = CAST6_BLOCK_SIZE, 535 .ivsize = CAST6_BLOCK_SIZE, 560 .ivsize = CAST6_BLOCK_SIZE, 582 .ivsize = CAST6_BLOCK_SIZE,
|
D | serpent_avx_glue.c | 431 .ivsize = SERPENT_BLOCK_SIZE, 455 .ivsize = SERPENT_BLOCK_SIZE, 476 .ivsize = SERPENT_BLOCK_SIZE, 519 .ivsize = SERPENT_BLOCK_SIZE, 541 .ivsize = SERPENT_BLOCK_SIZE, 566 .ivsize = SERPENT_BLOCK_SIZE, 588 .ivsize = SERPENT_BLOCK_SIZE,
|
D | camellia_aesni_avx2_glue.c | 396 .ivsize = CAMELLIA_BLOCK_SIZE, 420 .ivsize = CAMELLIA_BLOCK_SIZE, 441 .ivsize = CAMELLIA_BLOCK_SIZE, 484 .ivsize = CAMELLIA_BLOCK_SIZE, 506 .ivsize = CAMELLIA_BLOCK_SIZE, 531 .ivsize = CAMELLIA_BLOCK_SIZE, 553 .ivsize = CAMELLIA_BLOCK_SIZE,
|
D | salsa20_glue.c | 35 u32 keysize, u32 ivsize); 102 .ivsize = SALSA20_IV_SIZE,
|
D | twofish_glue_3way.c | 368 .ivsize = TF_BLOCK_SIZE, 388 .ivsize = TF_BLOCK_SIZE, 409 .ivsize = TF_BLOCK_SIZE, 429 .ivsize = TF_BLOCK_SIZE,
|
D | fpu.c | 126 inst->alg.cra_blkcipher.ivsize = alg->cra_blkcipher.ivsize; in crypto_fpu_alloc()
|
D | aesni-intel_glue.c | 1244 .ivsize = AES_BLOCK_SIZE, 1267 .ivsize = AES_BLOCK_SIZE, 1289 .ivsize = AES_BLOCK_SIZE, 1314 .ivsize = AES_BLOCK_SIZE, 1337 .ivsize = AES_BLOCK_SIZE, 1358 .ivsize = AES_BLOCK_SIZE, 1380 .ivsize = AES_BLOCK_SIZE, 1402 .ivsize = AES_BLOCK_SIZE, 1416 .ivsize = 8, 1434 .ivsize = 8,
|
D | cast5_avx_glue.c | 394 .ivsize = CAST5_BLOCK_SIZE, 437 .ivsize = CAST5_BLOCK_SIZE, 459 .ivsize = CAST5_BLOCK_SIZE,
|
D | chacha20_glue.c | 117 .ivsize = CHACHA20_IV_SIZE,
|
D | camellia_glue.c | 1612 .ivsize = CAMELLIA_BLOCK_SIZE, 1632 .ivsize = CAMELLIA_BLOCK_SIZE, 1655 .ivsize = CAMELLIA_BLOCK_SIZE, 1675 .ivsize = CAMELLIA_BLOCK_SIZE,
|
D | blowfish_glue.c | 409 .ivsize = BF_BLOCK_SIZE, 429 .ivsize = BF_BLOCK_SIZE,
|
D | des3_ede_glue.c | 436 .ivsize = DES3_EDE_BLOCK_SIZE, 456 .ivsize = DES3_EDE_BLOCK_SIZE,
|
/linux-4.4.14/drivers/crypto/sunxi-ss/ |
D | sun4i-ss-core.c | 101 .ivsize = AES_BLOCK_SIZE, 123 .ivsize = AES_BLOCK_SIZE, 145 .ivsize = DES_BLOCK_SIZE, 188 .ivsize = DES3_EDE_BLOCK_SIZE, 210 .ivsize = DES3_EDE_BLOCK_SIZE,
|
D | sun4i-ss-cipher.c | 24 unsigned int ivsize = crypto_ablkcipher_ivsize(tfm); in sun4i_ss_opti_poll() local 59 for (i = 0; i < 4 && i < ivsize / 4; i++) { in sun4i_ss_opti_poll() 111 for (i = 0; i < 4 && i < ivsize / 4; i++) { in sun4i_ss_opti_poll() 134 unsigned int ivsize = crypto_ablkcipher_ivsize(tfm); in sun4i_ss_cipher_poll() local 192 for (i = 0; i < 4 && i < ivsize / 4; i++) { in sun4i_ss_cipher_poll() 303 for (i = 0; i < 4 && i < ivsize / 4; i++) { in sun4i_ss_cipher_poll()
|
/linux-4.4.14/drivers/crypto/ |
D | ixp4xx_crypto.c | 886 unsigned ivsize = crypto_ablkcipher_ivsize(tfm); in ablk_perform() local 916 BUG_ON(ivsize && !req->info); in ablk_perform() 917 memcpy(crypt->iv, req->info, ivsize); in ablk_perform() 992 unsigned ivsize = crypto_aead_ivsize(tfm); in aead_perform() local 1033 BUG_ON(ivsize && !req->iv); in aead_perform() 1034 memcpy(crypt->iv, req->iv, ivsize); in aead_perform() 1200 .ivsize = DES_BLOCK_SIZE, 1227 .ivsize = DES3_EDE_BLOCK_SIZE, 1253 .ivsize = AES_BLOCK_SIZE, 1279 .ivsize = AES_BLOCK_SIZE, [all …]
|
D | talitos.c | 1092 unsigned int ivsize = crypto_aead_ivsize(aead); in ipsec_esp() local 1125 desc->ptr[2].len = cpu_to_be16(ivsize); in ipsec_esp() 1209 map_single_talitos_ptr(dev, &desc->ptr[6], ivsize, ctx->iv, in ipsec_esp() 1230 unsigned int ivsize, in talitos_edesc_alloc() argument 1249 if (ivsize) in talitos_edesc_alloc() 1250 iv_dma = dma_map_single(dev, iv, ivsize, DMA_TO_DEVICE); in talitos_edesc_alloc() 1288 dma_unmap_single(dev, iv_dma, ivsize, DMA_TO_DEVICE); in talitos_edesc_alloc() 1312 unsigned int ivsize = crypto_aead_ivsize(authenc); in aead_edesc_alloc() local 1316 authsize, ivsize, icv_stashing, in aead_edesc_alloc() 1560 unsigned int ivsize = crypto_ablkcipher_ivsize(cipher); in common_nonsnoop() local [all …]
|
D | atmel-tdes.c | 955 .ivsize = DES_BLOCK_SIZE, 976 .ivsize = DES_BLOCK_SIZE, 997 .ivsize = DES_BLOCK_SIZE, 1018 .ivsize = DES_BLOCK_SIZE, 1039 .ivsize = DES_BLOCK_SIZE, 1060 .ivsize = DES_BLOCK_SIZE, 1101 .ivsize = DES_BLOCK_SIZE, 1122 .ivsize = DES_BLOCK_SIZE, 1143 .ivsize = DES_BLOCK_SIZE, 1164 .ivsize = DES_BLOCK_SIZE, [all …]
|
D | hifn_795x.c | 656 unsigned int ivsize; member 1124 u8 *key, int keylen, u8 *iv, int ivsize, u16 mode) in hifn_setup_crypto_command() argument 1153 if (ivsize) { in hifn_setup_crypto_command() 1154 memcpy(buf_pos, iv, ivsize); in hifn_setup_crypto_command() 1155 buf_pos += ivsize; in hifn_setup_crypto_command() 1253 rctx->iv, rctx->ivsize, md); in hifn_setup_cmd_desc() 1583 if (rctx->iv && !rctx->ivsize && rctx->mode != ACRYPTO_MODE_ECB) in hifn_setup_session() 1635 dev->name, rctx->iv, rctx->ivsize, in hifn_setup_session() 1661 rctx.ivsize = 0; in hifn_test() 2100 unsigned ivsize; in hifn_setup_crypto_req() local [all …]
|
D | picoxcell_crypto.c | 864 ctx->key_len, ablk_req->info, alg->cra_ablkcipher.ivsize, in spacc_ablk_submit() 1233 .ivsize = AES_BLOCK_SIZE, 1286 .ivsize = DES_BLOCK_SIZE, 1339 .ivsize = DES3_EDE_BLOCK_SIZE, 1398 .ivsize = AES_BLOCK_SIZE, 1428 .ivsize = AES_BLOCK_SIZE, 1458 .ivsize = AES_BLOCK_SIZE, 1488 .ivsize = DES3_EDE_BLOCK_SIZE, 1519 .ivsize = DES3_EDE_BLOCK_SIZE, 1549 .ivsize = DES3_EDE_BLOCK_SIZE, [all …]
|
D | atmel-aes.c | 995 .ivsize = AES_BLOCK_SIZE, 1016 .ivsize = AES_BLOCK_SIZE, 1037 .ivsize = AES_BLOCK_SIZE, 1058 .ivsize = AES_BLOCK_SIZE, 1079 .ivsize = AES_BLOCK_SIZE, 1100 .ivsize = AES_BLOCK_SIZE, 1121 .ivsize = AES_BLOCK_SIZE, 1144 .ivsize = AES_BLOCK_SIZE,
|
D | n2_core.c | 1157 .ivsize = DES_BLOCK_SIZE, 1199 .ivsize = DES_BLOCK_SIZE, 1240 .ivsize = AES_BLOCK_SIZE, 1254 .ivsize = AES_BLOCK_SIZE,
|
D | omap-des.c | 819 .ivsize = DES_BLOCK_SIZE, 864 .ivsize = DES_BLOCK_SIZE,
|
D | padlock-aes.c | 496 .ivsize = AES_BLOCK_SIZE,
|
D | omap-aes.c | 870 .ivsize = AES_BLOCK_SIZE, 897 .ivsize = AES_BLOCK_SIZE,
|
D | geode-aes.c | 411 .ivsize = AES_BLOCK_SIZE,
|
D | s5p-sss.c | 615 .ivsize = AES_BLOCK_SIZE,
|
D | mxs-dcp.c | 824 .ivsize = AES_BLOCK_SIZE,
|
D | mv_cesa.c | 968 .ivsize = AES_BLOCK_SIZE,
|
D | sahara.c | 1245 .ivsize = AES_BLOCK_SIZE,
|
/linux-4.4.14/Documentation/DocBook/ |
D | crypto-API.xml.db | 11 API-crypto-ablkcipher-ivsize 25 API-crypto-aead-ivsize 43 API-crypto-blkcipher-ivsize
|
/linux-4.4.14/drivers/usb/wusbcore/ |
D | crypto.c | 211 size_t ivsize, dst_size; in wusb_ccm_mac() local 236 ivsize = crypto_blkcipher_ivsize(tfm_cbc); in wusb_ccm_mac() 237 memset(iv, 0, ivsize); in wusb_ccm_mac()
|
/linux-4.4.14/include/crypto/ |
D | aead.h | 145 unsigned int ivsize; member 201 return alg->ivsize; in crypto_aead_alg_ivsize()
|
D | skcipher.h | 61 unsigned int ivsize; member 246 return tfm->ivsize; in crypto_skcipher_ivsize()
|
D | algapi.h | 106 unsigned int ivsize; member
|
/linux-4.4.14/arch/powerpc/crypto/ |
D | aes-spe-glue.c | 423 .ivsize = AES_BLOCK_SIZE, 443 .ivsize = AES_BLOCK_SIZE, 463 .ivsize = AES_BLOCK_SIZE, 483 .ivsize = AES_BLOCK_SIZE,
|
/linux-4.4.14/arch/s390/crypto/ |
D | des_s390.c | 219 .ivsize = DES_BLOCK_SIZE, 365 .ivsize = DES_BLOCK_SIZE, 488 .ivsize = DES_BLOCK_SIZE, 531 .ivsize = DES_BLOCK_SIZE,
|
D | aes_s390.c | 524 .ivsize = AES_BLOCK_SIZE, 731 .ivsize = AES_BLOCK_SIZE, 882 .ivsize = AES_BLOCK_SIZE,
|
/linux-4.4.14/include/linux/ |
D | crypto.h | 265 unsigned int ivsize; member 294 unsigned int ivsize; member 501 unsigned int ivsize; member 807 return crypto_ablkcipher_crt(tfm)->ivsize; in crypto_ablkcipher_ivsize() 1198 return crypto_blkcipher_alg(tfm)->ivsize; in crypto_blkcipher_ivsize()
|
/linux-4.4.14/drivers/crypto/marvell/ |
D | cipher.c | 530 .ivsize = DES_BLOCK_SIZE, 600 .ivsize = DES3_EDE_BLOCK_SIZE, 656 .ivsize = DES3_EDE_BLOCK_SIZE, 791 .ivsize = AES_BLOCK_SIZE,
|
/linux-4.4.14/drivers/crypto/nx/ |
D | nx-aes-cbc.c | 145 .ivsize = AES_BLOCK_SIZE,
|
D | nx-aes-ctr.c | 161 .ivsize = CTR_RFC3686_IV_SIZE,
|
D | nx-aes-ccm.c | 569 .ivsize = AES_BLOCK_SIZE, 589 .ivsize = 8,
|
D | nx-aes-gcm.c | 501 .ivsize = 12, 519 .ivsize = 8,
|
/linux-4.4.14/drivers/crypto/vmx/ |
D | aes_ctr.c | 178 .ivsize = 0,
|
D | aes_cbc.c | 194 .ivsize = 0,
|
/linux-4.4.14/drivers/crypto/qat/qat_common/ |
D | qat_algs.c | 1166 .ivsize = AES_BLOCK_SIZE, 1183 .ivsize = AES_BLOCK_SIZE, 1200 .ivsize = AES_BLOCK_SIZE, 1223 .ivsize = AES_BLOCK_SIZE, 1245 .ivsize = AES_BLOCK_SIZE, 1267 .ivsize = AES_BLOCK_SIZE,
|
/linux-4.4.14/arch/sparc/crypto/ |
D | aes_glue.c | 436 .ivsize = AES_BLOCK_SIZE, 456 .ivsize = AES_BLOCK_SIZE,
|
D | des_glue.c | 432 .ivsize = DES_BLOCK_SIZE, 489 .ivsize = DES3_EDE_BLOCK_SIZE,
|
D | camellia_glue.c | 277 .ivsize = CAMELLIA_BLOCK_SIZE,
|
/linux-4.4.14/drivers/crypto/ux500/cryp/ |
D | cryp_core.c | 1179 .ivsize = AES_BLOCK_SIZE, 1205 .ivsize = AES_BLOCK_SIZE, 1357 .ivsize = DES3_EDE_BLOCK_SIZE,
|
/linux-4.4.14/drivers/crypto/amcc/ |
D | crypto4xx_core.c | 1126 .ivsize = AES_IV_SIZE,
|