Home
last modified time | relevance | path

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

/linux-4.1.27/crypto/
Dseqiv.c35 struct crypto_ablkcipher *geniv; in seqiv_complete2() local
43 geniv = skcipher_givcrypt_reqtfm(req); in seqiv_complete2()
44 memcpy(req->creq.info, subreq->info, crypto_ablkcipher_ivsize(geniv)); in seqiv_complete2()
61 struct crypto_aead *geniv; in seqiv_aead_complete2() local
69 geniv = aead_givcrypt_reqtfm(req); in seqiv_aead_complete2()
70 memcpy(req->areq.iv, subreq->iv, crypto_aead_ivsize(geniv)); in seqiv_aead_complete2()
100 struct crypto_ablkcipher *geniv = skcipher_givcrypt_reqtfm(req); in seqiv_givencrypt() local
101 struct seqiv_ctx *ctx = crypto_ablkcipher_ctx(geniv); in seqiv_givencrypt()
109 ablkcipher_request_set_tfm(subreq, skcipher_geniv_cipher(geniv)); in seqiv_givencrypt()
115 ivsize = crypto_ablkcipher_ivsize(geniv); in seqiv_givencrypt()
[all …]
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 = skcipher_givcrypt_reqtfm(req); in chainiv_givencrypt_first() local
86 struct chainiv_ctx *ctx = crypto_ablkcipher_ctx(geniv); in chainiv_givencrypt_first()
90 if (crypto_ablkcipher_crt(geniv)->givencrypt != in chainiv_givencrypt_first()
94 crypto_ablkcipher_crt(geniv)->givencrypt = chainiv_givencrypt; in chainiv_givencrypt_first()
96 crypto_ablkcipher_ivsize(geniv)); in chainiv_givencrypt_first()
146 struct crypto_ablkcipher *geniv = skcipher_givcrypt_reqtfm(req); in async_chainiv_postpone_request() local
[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 = skcipher_givcrypt_reqtfm(req); in eseqiv_givencrypt_first() local
152 struct eseqiv_ctx *ctx = crypto_ablkcipher_ctx(geniv); in eseqiv_givencrypt_first()
[all …]
Daead.c121 strncpy(raead.geniv, aead->geniv ?: "<built-in>", sizeof(raead.geniv)); in crypto_aead_report()
154 seq_printf(m, "geniv : %s\n", aead->geniv ?: "<built-in>"); in crypto_aead_show()
206 strncpy(raead.geniv, aead->geniv, sizeof(raead.geniv)); in crypto_nivaead_report()
240 seq_printf(m, "geniv : %s\n", aead->geniv); in crypto_nivaead_show()
321 if (strcmp(tmpl->name, alg->cra_aead.geniv)) in aead_geniv_alloc()
348 inst->alg.cra_aead.geniv = alg->cra_aead.geniv; in aead_geniv_alloc()
410 const char *geniv; in crypto_nivaead_default() local
439 geniv = alg->cra_aead.geniv; in crypto_nivaead_default()
441 tmpl = crypto_lookup_template(geniv); in crypto_nivaead_default()
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.c516 strncpy(rblkcipher.geniv, alg->cra_blkcipher.geniv ?: "<default>", in crypto_blkcipher_report()
517 sizeof(rblkcipher.geniv)); in crypto_blkcipher_report()
548 seq_printf(m, "geniv : %s\n", alg->cra_blkcipher.geniv ?: in crypto_blkcipher_show()
594 const char *geniv; in skcipher_geniv_alloc() member
641 balg.geniv = alg->cra_blkcipher.geniv; in skcipher_geniv_alloc()
651 balg.geniv = alg->cra_ablkcipher.geniv; in skcipher_geniv_alloc()
664 if (!balg.geniv) in skcipher_geniv_alloc()
665 balg.geniv = crypto_default_geniv(alg); in skcipher_geniv_alloc()
667 if (strcmp(tmpl->name, balg.geniv)) in skcipher_geniv_alloc()
695 inst->alg.cra_ablkcipher.geniv = balg.geniv; in skcipher_geniv_alloc()
Dcryptd.c371 inst->alg.cra_ablkcipher.geniv = alg->cra_blkcipher.geniv; in cryptd_create_blkcipher()
782 inst->alg.cra_aead.geniv = alg->cra_aead.geniv; in cryptd_create_aead()
Dctr.c228 inst->alg.cra_blkcipher.geniv = "chainiv"; in crypto_ctr_alloc()
403 inst->alg.cra_ablkcipher.geniv = "seqiv"; in crypto_rfc3686_alloc()
Dpcrypt.c365 inst->alg.cra_aead.geniv = alg->cra_aead.geniv; in pcrypt_alloc_aead()
Dgcm.c1035 inst->alg.cra_aead.geniv = "seqiv"; in crypto_rfc4106_alloc()
1360 inst->alg.cra_aead.geniv = "seqiv"; in crypto_rfc4543_alloc()
Dccm.c818 inst->alg.cra_aead.geniv = "seqiv"; in crypto_rfc4309_alloc()
/linux-4.1.27/include/linux/
Dcryptouser.h80 char geniv[CRYPTO_MAX_NAME]; member
89 char geniv[CRYPTO_MAX_NAME]; member
Dcrypto.h289 const char *geniv; member
331 const char *geniv; member
359 const char *geniv; member
/linux-4.1.27/include/crypto/internal/
Daead.h65 static inline struct crypto_aead *aead_geniv_base(struct crypto_aead *geniv) in aead_geniv_base() argument
67 return crypto_aead_crt(geniv)->base; in aead_geniv_base()
Dskcipher.h70 struct crypto_ablkcipher *geniv) in skcipher_geniv_cipher() argument
72 return crypto_ablkcipher_crt(geniv)->base; in skcipher_geniv_cipher()
/linux-4.1.27/drivers/crypto/caam/
Dcaamalg.c458 u32 geniv, moveiv; in aead_set_sh_desc() local
646 geniv = NFIFOENTRY_STYPE_PAD | NFIFOENTRY_DEST_DECO | in aead_set_sh_desc()
649 append_load_imm_u32(desc, geniv, LDST_CLASS_IND_CCB | in aead_set_sh_desc()
977 u32 geniv; in rfc4106_set_sh_desc() local
1162 geniv = NFIFOENTRY_STYPE_PAD | NFIFOENTRY_DEST_DECO | in rfc4106_set_sh_desc()
1165 append_load_imm_u32(desc, geniv, LDST_CLASS_IND_CCB | in rfc4106_set_sh_desc()
1259 u32 geniv; in rfc4543_set_sh_desc() local
1528 geniv = NFIFOENTRY_STYPE_PAD | NFIFOENTRY_DEST_DECO | in rfc4543_set_sh_desc()
1531 append_load_imm_u32(desc, geniv, LDST_CLASS_IND_CCB | in rfc4543_set_sh_desc()
1838 u32 geniv; in ablkcipher_setkey() local
[all …]
/linux-4.1.27/drivers/crypto/nx/
Dnx-aes-ctr.c183 .geniv = "seqiv",
Dnx-aes-gcm.c522 .geniv = "seqiv",
Dnx-aes-ccm.c604 .geniv = "seqiv",
/linux-4.1.27/drivers/crypto/
Dixp4xx_crypto.c1220 .geniv = "eseqiv",
1247 .geniv = "eseqiv",
1273 .geniv = "eseqiv",
1299 .geniv = "eseqiv",
1313 .geniv = "eseqiv",
Domap-aes.c898 .geniv = "eseqiv",
Dtalitos.c2524 alg->cra_ablkcipher.geniv = "eseqiv"; in talitos_alg_alloc()
2535 alg->cra_aead.geniv = "<built-in>"; in talitos_alg_alloc()
/linux-4.1.27/arch/x86/crypto/
Dcast5_avx_glue.c464 .geniv = "chainiv",
Dtwofish_avx_glue.c508 .geniv = "chainiv",
Dserpent_avx2_glue.c485 .geniv = "chainiv",
Dcast6_avx_glue.c540 .geniv = "chainiv",
Dcamellia_aesni_avx2_glue.c511 .geniv = "chainiv",
Dserpent_avx_glue.c546 .geniv = "chainiv",
Dcamellia_aesni_avx_glue.c503 .geniv = "chainiv",
Dserpent_sse2_glue.c555 .geniv = "chainiv",
Daesni-intel_glue.c1410 .geniv = "chainiv",
1453 .geniv = "seqiv",