Home
last modified time | relevance | path

Searched refs:geniv (Results 1 – 35 of 35) sorted by relevance

/linux-4.4.14/crypto/
Dchainiv.c50 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 …]
Deseqiv.c44 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 …]
Dseqiv.c38 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 …]
Dechainiv.c63 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()
Dablkcipher.c390 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 …]
Dblkcipher.c517 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()
Daead.c113 strncpy(raead.geniv, "<none>", sizeof(raead.geniv)); in crypto_aead_report()
Dctr.c228 inst->alg.cra_blkcipher.geniv = "chainiv"; in crypto_ctr_alloc()
403 inst->alg.cra_ablkcipher.geniv = "seqiv"; in crypto_rfc3686_alloc()
Dchacha20_generic.c187 .geniv = "seqiv",
Dcryptd.c380 inst->alg.cra_ablkcipher.geniv = alg->cra_blkcipher.geniv; in cryptd_create_blkcipher()
/linux-4.4.14/net/xfrm/
Dxfrm_algo.c34 .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 …]
Dxfrm_user.c314 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/
Dcryptouser.h82 char geniv[CRYPTO_MAX_NAME]; member
91 char geniv[CRYPTO_MAX_NAME]; member
/linux-4.4.14/drivers/crypto/caam/
Dcaamalg.c121 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/
Dskcipher.h70 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/
Desp6.c503 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/
Desp4.c561 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/
Dchacha20_glue.c118 .geniv = "seqiv",
Dcast5_avx_glue.c463 .geniv = "chainiv",
Dserpent_avx2_glue.c484 .geniv = "chainiv",
Dtwofish_avx_glue.c506 .geniv = "chainiv",
Dcamellia_aesni_avx_glue.c502 .geniv = "chainiv",
Dserpent_sse2_glue.c555 .geniv = "chainiv",
Dcast6_avx_glue.c539 .geniv = "chainiv",
Dserpent_avx_glue.c545 .geniv = "chainiv",
Dcamellia_aesni_avx2_glue.c510 .geniv = "chainiv",
Daesni-intel_glue.c1293 .geniv = "chainiv",
/linux-4.4.14/drivers/crypto/nx/
Dnx-aes-ctr.c162 .geniv = "seqiv",
/linux-4.4.14/include/crypto/
Daead.h143 const char *geniv; member
/linux-4.4.14/drivers/crypto/
Dixp4xx_crypto.c1201 .geniv = "eseqiv",
1228 .geniv = "eseqiv",
1254 .geniv = "eseqiv",
1280 .geniv = "eseqiv",
1294 .geniv = "eseqiv",
Domap-aes.c896 .geniv = "eseqiv",
Dtalitos.c2750 alg->cra_ablkcipher.geniv = "eseqiv"; in talitos_alg_alloc()
/linux-4.4.14/include/linux/
Dcrypto.h261 const char *geniv; member
290 const char *geniv; member
/linux-4.4.14/include/net/
Dxfrm.h171 const char *geniv; member
1326 char *geniv; member
1336 char *geniv; member
/linux-4.4.14/net/key/
Daf_key.c1193 x->geniv = a->uinfo.encr.geniv; in pfkey_msg2xfrm_state()