| /linux-4.4.14/crypto/ |
| D | chainiv.c | 50 struct crypto_ablkcipher *geniv = skcipher_givcrypt_reqtfm(req); in chainiv_givencrypt() local 51 struct chainiv_ctx *ctx = crypto_ablkcipher_ctx(geniv); in chainiv_givencrypt() 56 ablkcipher_request_set_tfm(subreq, skcipher_geniv_cipher(geniv)); in chainiv_givencrypt() 66 ivsize = crypto_ablkcipher_ivsize(geniv); in chainiv_givencrypt() 85 struct crypto_ablkcipher *geniv = __crypto_ablkcipher_cast(tfm); in chainiv_init_common() local 92 crypto_ablkcipher_ivsize(geniv)); in chainiv_init_common() 101 struct crypto_ablkcipher *geniv = __crypto_ablkcipher_cast(tfm); in chainiv_init() local 109 crypto_ablkcipher_crt(geniv)->givencrypt = chainiv_givencrypt; in chainiv_init() 139 struct crypto_ablkcipher *geniv = skcipher_givcrypt_reqtfm(req); in async_chainiv_postpone_request() local 140 struct async_chainiv_ctx *ctx = crypto_ablkcipher_ctx(geniv); in async_chainiv_postpone_request() [all …]
|
| D | eseqiv.c | 44 struct crypto_ablkcipher *geniv = skcipher_givcrypt_reqtfm(req); in eseqiv_complete2() local 48 crypto_ablkcipher_alignmask(geniv) + 1), in eseqiv_complete2() 49 crypto_ablkcipher_ivsize(geniv)); in eseqiv_complete2() 67 struct crypto_ablkcipher *geniv = skcipher_givcrypt_reqtfm(req); in eseqiv_givencrypt() local 68 struct eseqiv_ctx *ctx = crypto_ablkcipher_ctx(geniv); in eseqiv_givencrypt() 86 ablkcipher_request_set_tfm(subreq, skcipher_geniv_cipher(geniv)); in eseqiv_givencrypt() 99 ivsize = crypto_ablkcipher_ivsize(geniv); in eseqiv_givencrypt() 103 crypto_ablkcipher_alignmask(geniv) + 1); in eseqiv_givencrypt() 151 struct crypto_ablkcipher *geniv = __crypto_ablkcipher_cast(tfm); in eseqiv_init() local 152 struct eseqiv_ctx *ctx = crypto_ablkcipher_ctx(geniv); in eseqiv_init() [all …]
|
| D | seqiv.c | 38 struct crypto_ablkcipher *geniv; in seqiv_complete2() local 46 geniv = skcipher_givcrypt_reqtfm(req); in seqiv_complete2() 47 memcpy(req->creq.info, subreq->info, crypto_ablkcipher_ivsize(geniv)); in seqiv_complete2() 64 struct crypto_aead *geniv; in seqiv_aead_encrypt_complete2() local 72 geniv = crypto_aead_reqtfm(req); in seqiv_aead_encrypt_complete2() 73 memcpy(req->iv, subreq->iv, crypto_aead_ivsize(geniv)); in seqiv_aead_encrypt_complete2() 104 struct crypto_ablkcipher *geniv = skcipher_givcrypt_reqtfm(req); in seqiv_givencrypt() local 105 struct seqiv_ctx *ctx = crypto_ablkcipher_ctx(geniv); in seqiv_givencrypt() 113 ablkcipher_request_set_tfm(subreq, skcipher_geniv_cipher(geniv)); in seqiv_givencrypt() 119 ivsize = crypto_ablkcipher_ivsize(geniv); in seqiv_givencrypt() [all …]
|
| D | echainiv.c | 63 struct crypto_aead *geniv; in echainiv_encrypt_complete2() local 72 geniv = crypto_aead_reqtfm(req); in echainiv_encrypt_complete2() 73 ivsize = crypto_aead_ivsize(geniv); in echainiv_encrypt_complete2() 96 struct crypto_aead *geniv = crypto_aead_reqtfm(req); in echainiv_encrypt() local 97 struct aead_geniv_ctx *ctx = crypto_aead_ctx(geniv); in echainiv_encrypt() 102 unsigned int ivsize = crypto_aead_ivsize(geniv); in echainiv_encrypt() 127 crypto_aead_alignmask(geniv) + 1))) { in echainiv_encrypt() 153 struct crypto_aead *geniv = crypto_aead_reqtfm(req); in echainiv_decrypt() local 154 struct aead_geniv_ctx *ctx = crypto_aead_ctx(geniv); in echainiv_decrypt() 158 unsigned int ivsize = crypto_aead_ivsize(geniv); in echainiv_decrypt()
|
| D | ablkcipher.c | 390 strncpy(rblkcipher.geniv, alg->cra_ablkcipher.geniv ?: "<default>", in crypto_ablkcipher_report() 391 sizeof(rblkcipher.geniv)); in crypto_ablkcipher_report() 426 seq_printf(m, "geniv : %s\n", ablkcipher->geniv ?: "<default>"); in crypto_ablkcipher_show() 471 strncpy(rblkcipher.geniv, alg->cra_ablkcipher.geniv ?: "<built-in>", in crypto_givcipher_report() 472 sizeof(rblkcipher.geniv)); in crypto_givcipher_report() 507 seq_printf(m, "geniv : %s\n", ablkcipher->geniv ?: "<built-in>"); in crypto_givcipher_show() 545 const char *geniv; in crypto_givcipher_default() local 577 geniv = alg->cra_blkcipher.geniv; in crypto_givcipher_default() 579 geniv = alg->cra_ablkcipher.geniv; in crypto_givcipher_default() 581 if (!geniv) in crypto_givcipher_default() [all …]
|
| D | blkcipher.c | 517 strncpy(rblkcipher.geniv, alg->cra_blkcipher.geniv ?: "<default>", in crypto_blkcipher_report() 518 sizeof(rblkcipher.geniv)); in crypto_blkcipher_report() 549 seq_printf(m, "geniv : %s\n", alg->cra_blkcipher.geniv ?: in crypto_blkcipher_show() 595 const char *geniv; in skcipher_geniv_alloc() member 642 balg.geniv = alg->cra_blkcipher.geniv; in skcipher_geniv_alloc() 652 balg.geniv = alg->cra_ablkcipher.geniv; in skcipher_geniv_alloc() 665 if (!balg.geniv) in skcipher_geniv_alloc() 666 balg.geniv = crypto_default_geniv(alg); in skcipher_geniv_alloc() 668 if (strcmp(tmpl->name, balg.geniv)) in skcipher_geniv_alloc() 696 inst->alg.cra_ablkcipher.geniv = balg.geniv; in skcipher_geniv_alloc()
|
| D | aead.c | 113 strncpy(raead.geniv, "<none>", sizeof(raead.geniv)); in crypto_aead_report()
|
| D | ctr.c | 228 inst->alg.cra_blkcipher.geniv = "chainiv"; in crypto_ctr_alloc() 403 inst->alg.cra_ablkcipher.geniv = "seqiv"; in crypto_rfc3686_alloc()
|
| D | chacha20_generic.c | 187 .geniv = "seqiv",
|
| D | cryptd.c | 380 inst->alg.cra_ablkcipher.geniv = alg->cra_blkcipher.geniv; in cryptd_create_blkcipher()
|
| /linux-4.4.14/net/xfrm/ |
| D | xfrm_algo.c | 34 .geniv = "seqiv", 53 .geniv = "seqiv", 72 .geniv = "seqiv", 91 .geniv = "seqiv", 110 .geniv = "seqiv", 129 .geniv = "seqiv", 148 .geniv = "seqiv", 167 .geniv = "seqiv", 375 .geniv = "echainiv", 396 .geniv = "echainiv", [all …]
|
| D | xfrm_user.c | 314 x->geniv = algo->uinfo.encr.geniv; in attach_crypt() 399 x->geniv = algo->uinfo.aead.geniv; in attach_aead()
|
| /linux-4.4.14/include/uapi/linux/ |
| D | cryptouser.h | 82 char geniv[CRYPTO_MAX_NAME]; member 91 char geniv[CRYPTO_MAX_NAME]; member
|
| /linux-4.4.14/drivers/crypto/caam/ |
| D | caamalg.c | 121 bool geniv; member 437 u32 geniv, moveiv; in aead_set_sh_desc() local 463 if (alg->caam.geniv) in aead_set_sh_desc() 602 if (!alg->caam.geniv) in aead_set_sh_desc() 626 geniv = NFIFOENTRY_STYPE_PAD | NFIFOENTRY_DEST_DECO | in aead_set_sh_desc() 629 append_load_imm_u32(desc, geniv, LDST_CLASS_IND_CCB | in aead_set_sh_desc() 1468 u32 geniv; in ablkcipher_setkey() local 1654 geniv = NFIFOENTRY_STYPE_PAD | NFIFOENTRY_DEST_DECO | in ablkcipher_setkey() 1657 append_load_imm_u32(desc, geniv, LDST_CLASS_IND_CCB | in ablkcipher_setkey() 2150 if (ivsize && (is_rfc3686 || !(alg->caam.geniv && encrypt))) in init_authenc_job() [all …]
|
| /linux-4.4.14/include/crypto/internal/ |
| D | skcipher.h | 70 struct crypto_ablkcipher *geniv) in skcipher_geniv_cipher() argument 72 return crypto_ablkcipher_crt(geniv)->base; in skcipher_geniv_cipher()
|
| /linux-4.4.14/net/ipv6/ |
| D | esp6.c | 503 x->geniv, x->aead->alg_name) >= CRYPTO_MAX_ALG_NAME) in esp_init_aead() 546 x->geniv ?: "", x->geniv ? "(" : "", in esp_init_authenc() 549 x->geniv ? ")" : "") >= CRYPTO_MAX_ALG_NAME) in esp_init_authenc() 554 x->geniv ?: "", x->geniv ? "(" : "", in esp_init_authenc() 557 x->geniv ? ")" : "") >= CRYPTO_MAX_ALG_NAME) in esp_init_authenc()
|
| /linux-4.4.14/net/ipv4/ |
| D | esp4.c | 561 x->geniv, x->aead->alg_name) >= CRYPTO_MAX_ALG_NAME) in esp_init_aead() 604 x->geniv ?: "", x->geniv ? "(" : "", in esp_init_authenc() 607 x->geniv ? ")" : "") >= CRYPTO_MAX_ALG_NAME) in esp_init_authenc() 612 x->geniv ?: "", x->geniv ? "(" : "", in esp_init_authenc() 615 x->geniv ? ")" : "") >= CRYPTO_MAX_ALG_NAME) in esp_init_authenc()
|
| /linux-4.4.14/arch/x86/crypto/ |
| D | chacha20_glue.c | 118 .geniv = "seqiv",
|
| D | cast5_avx_glue.c | 463 .geniv = "chainiv",
|
| D | serpent_avx2_glue.c | 484 .geniv = "chainiv",
|
| D | twofish_avx_glue.c | 506 .geniv = "chainiv",
|
| D | camellia_aesni_avx_glue.c | 502 .geniv = "chainiv",
|
| D | serpent_sse2_glue.c | 555 .geniv = "chainiv",
|
| D | cast6_avx_glue.c | 539 .geniv = "chainiv",
|
| D | serpent_avx_glue.c | 545 .geniv = "chainiv",
|
| D | camellia_aesni_avx2_glue.c | 510 .geniv = "chainiv",
|
| D | aesni-intel_glue.c | 1293 .geniv = "chainiv",
|
| /linux-4.4.14/drivers/crypto/nx/ |
| D | nx-aes-ctr.c | 162 .geniv = "seqiv",
|
| /linux-4.4.14/include/crypto/ |
| D | aead.h | 143 const char *geniv; member
|
| /linux-4.4.14/drivers/crypto/ |
| D | ixp4xx_crypto.c | 1201 .geniv = "eseqiv", 1228 .geniv = "eseqiv", 1254 .geniv = "eseqiv", 1280 .geniv = "eseqiv", 1294 .geniv = "eseqiv",
|
| D | omap-aes.c | 896 .geniv = "eseqiv",
|
| D | talitos.c | 2750 alg->cra_ablkcipher.geniv = "eseqiv"; in talitos_alg_alloc()
|
| /linux-4.4.14/include/linux/ |
| D | crypto.h | 261 const char *geniv; member 290 const char *geniv; member
|
| /linux-4.4.14/include/net/ |
| D | xfrm.h | 171 const char *geniv; member 1326 char *geniv; member 1336 char *geniv; member
|
| /linux-4.4.14/net/key/ |
| D | af_key.c | 1193 x->geniv = a->uinfo.encr.geniv; in pfkey_msg2xfrm_state()
|