Home
last modified time | relevance | path

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

/linux-6.12.1/net/xfrm/
Dxfrm_algo.c33 .geniv = "seqiv",
52 .geniv = "seqiv",
71 .geniv = "seqiv",
90 .geniv = "seqiv",
109 .geniv = "seqiv",
128 .geniv = "seqiv",
147 .geniv = "seqiv",
166 .geniv = "seqiv",
394 .geniv = "echainiv",
415 .geniv = "echainiv",
[all …]
Dxfrm_user.c519 x->geniv = algo->uinfo.encr.geniv; in attach_crypt()
613 x->geniv = algo->uinfo.aead.geniv; in attach_aead()
Dxfrm_state.c1742 x->geniv = orig->geniv; in xfrm_state_clone()
/linux-6.12.1/crypto/
Dseqiv.c24 struct crypto_aead *geniv; in seqiv_aead_encrypt_complete2() local
32 geniv = crypto_aead_reqtfm(req); in seqiv_aead_encrypt_complete2()
33 memcpy(req->iv, subreq->iv, crypto_aead_ivsize(geniv)); in seqiv_aead_encrypt_complete2()
49 struct crypto_aead *geniv = crypto_aead_reqtfm(req); in seqiv_aead_encrypt() local
50 struct aead_geniv_ctx *ctx = crypto_aead_ctx(geniv); in seqiv_aead_encrypt()
83 crypto_aead_alignmask(geniv) + 1))) { in seqiv_aead_encrypt()
110 struct crypto_aead *geniv = crypto_aead_reqtfm(req); in seqiv_aead_decrypt() local
111 struct aead_geniv_ctx *ctx = crypto_aead_ctx(geniv); in seqiv_aead_decrypt()
117 if (req->cryptlen < ivsize + crypto_aead_authsize(geniv)) in seqiv_aead_decrypt()
Dechainiv.c28 struct crypto_aead *geniv = crypto_aead_reqtfm(req); in echainiv_encrypt() local
29 struct aead_geniv_ctx *ctx = crypto_aead_ctx(geniv); in echainiv_encrypt()
34 unsigned int ivsize = crypto_aead_ivsize(geniv); in echainiv_encrypt()
87 struct crypto_aead *geniv = crypto_aead_reqtfm(req); in echainiv_decrypt() local
88 struct aead_geniv_ctx *ctx = crypto_aead_ctx(geniv); in echainiv_decrypt()
92 unsigned int ivsize = crypto_aead_ivsize(geniv); in echainiv_decrypt()
Daead.c143 strscpy(raead.geniv, "<none>", sizeof(raead.geniv)); in crypto_aead_report()
Dlskcipher.c272 strscpy(rblkcipher.geniv, "<none>", sizeof(rblkcipher.geniv)); in crypto_lskcipher_report()
DMakefile17 obj-$(CONFIG_CRYPTO_GENIV) += geniv.o
Dskcipher.c797 strscpy(rblkcipher.geniv, "<none>", sizeof(rblkcipher.geniv)); in crypto_skcipher_report()
/linux-6.12.1/drivers/crypto/caam/
Dcaamalg_qi.c45 bool geniv; member
136 if (alg->caam.geniv) in aead_set_sh_desc()
165 ivsize, ctx->authsize, alg->caam.geniv, in aead_set_sh_desc()
169 if (!alg->caam.geniv) in aead_set_sh_desc()
1040 if ((alg->caam.rfc3686 && encrypt) || !alg->caam.geniv) in aead_edesc_alloc()
1691 .geniv = true,
1735 .geniv = true,
1779 .geniv = true,
1824 .geniv = true,
1869 .geniv = true,
[all …]
Dcaamalg.c96 bool geniv; member
247 if (alg->caam.geniv) in aead_set_sh_desc()
288 ctx->authsize, alg->caam.geniv, is_rfc3686, in aead_set_sh_desc()
293 if (!alg->caam.geniv) in aead_set_sh_desc()
1239 if (ivsize && ((is_rfc3686 && encrypt) || !alg->caam.geniv)) in init_authenc_job()
2328 .geniv = true,
2378 .geniv = true,
2428 .geniv = true,
2478 .geniv = true,
2528 .geniv = true,
[all …]
Dcaamalg_desc.c385 unsigned int icvsize, const bool geniv, in cnstr_shdsc_aead_decap() argument
410 if (!geniv) in cnstr_shdsc_aead_decap()
419 if (geniv) in cnstr_shdsc_aead_decap()
427 if (geniv) in cnstr_shdsc_aead_decap()
442 if (geniv) { in cnstr_shdsc_aead_decap()
506 u32 geniv, moveiv; in cnstr_shdsc_aead_givencap() local
537 geniv = NFIFOENTRY_STYPE_PAD | NFIFOENTRY_DEST_DECO | in cnstr_shdsc_aead_givencap()
540 append_load_imm_u32(desc, geniv, LDST_CLASS_IND_CCB | in cnstr_shdsc_aead_givencap()
Dcaamalg_qi2.c49 bool geniv; member
227 if (desc_inline_query((alg->caam.geniv ? DESC_QI_AEAD_GIVENC_LEN : in aead_set_sh_desc()
240 if (alg->caam.geniv) in aead_set_sh_desc()
268 ivsize, ctx->authsize, alg->caam.geniv, in aead_set_sh_desc()
447 if ((alg->caam.rfc3686 && encrypt) || !alg->caam.geniv) in aead_edesc_alloc()
1900 .geniv = true,
1944 .geniv = true,
1988 .geniv = true,
2033 .geniv = true,
2078 .geniv = true,
[all …]
Dcaamalg_desc.h65 unsigned int icvsize, const bool geniv,
/linux-6.12.1/include/uapi/linux/
Dcryptouser.h174 char geniv[CRYPTO_MAX_NAME]; member
183 char geniv[CRYPTO_MAX_NAME]; member
/linux-6.12.1/net/ipv6/
Desp6.c1055 x->geniv, x->aead->alg_name) >= CRYPTO_MAX_ALG_NAME) { in esp_init_aead()
1100 x->geniv ?: "", x->geniv ? "(" : "", in esp_init_authenc()
1103 x->geniv ? ")" : "") >= CRYPTO_MAX_ALG_NAME) { in esp_init_authenc()
1110 x->geniv ?: "", x->geniv ? "(" : "", in esp_init_authenc()
1113 x->geniv ? ")" : "") >= CRYPTO_MAX_ALG_NAME) { in esp_init_authenc()
/linux-6.12.1/net/ipv4/
Desp4.c1018 x->geniv, x->aead->alg_name) >= CRYPTO_MAX_ALG_NAME) { in esp_init_aead()
1063 x->geniv ?: "", x->geniv ? "(" : "", in esp_init_authenc()
1066 x->geniv ? ")" : "") >= CRYPTO_MAX_ALG_NAME) { in esp_init_authenc()
1073 x->geniv ?: "", x->geniv ? "(" : "", in esp_init_authenc()
1076 x->geniv ? ")" : "") >= CRYPTO_MAX_ALG_NAME) { in esp_init_authenc()
/linux-6.12.1/drivers/net/ethernet/chelsio/inline_crypto/ch_ipsec/
Dchcr_ipsec.c278 if (!x->geniv) { in ch_ipsec_xfrm_add_state()
282 if (strcmp(x->geniv, "seqiv")) { in ch_ipsec_xfrm_add_state()
/linux-6.12.1/drivers/net/ethernet/intel/ixgbe/
Dixgbe_ipsec.c947 xs->geniv = algo->uinfo.aead.geniv; in ixgbe_ipsec_vf_add_sa()
/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
Dipsec.c474 if (!x->geniv) { in mlx5e_xfrm_validate_state()
478 if (strcmp(x->geniv, "seqiv")) { in mlx5e_xfrm_validate_state()
/linux-6.12.1/include/net/
Dxfrm.h224 const char *geniv; member
1492 char *geniv; member
1502 char *geniv; member
/linux-6.12.1/Documentation/crypto/
Darchitecture.rst173 - geniv: IV generator (obsolete)
/linux-6.12.1/net/key/
Daf_key.c1228 x->geniv = a->uinfo.encr.geniv; in pfkey_msg2xfrm_state()