Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/net/xfrm/
Dxfrm_algo.c32 .geniv = "seqiv",
51 .geniv = "seqiv",
70 .geniv = "seqiv",
89 .geniv = "seqiv",
108 .geniv = "seqiv",
127 .geniv = "seqiv",
146 .geniv = "seqiv",
165 .geniv = "seqiv",
373 .geniv = "echainiv",
394 .geniv = "echainiv",
[all …]
Dxfrm_user.c340 x->geniv = algo->uinfo.encr.geniv; in attach_crypt()
425 x->geniv = algo->uinfo.aead.geniv; in attach_aead()
Dxfrm_state.c1498 x->geniv = orig->geniv; in xfrm_state_clone()
/kernel/linux/linux-5.10/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()
50 struct crypto_aead *geniv = crypto_aead_reqtfm(req); in seqiv_aead_encrypt() local
51 struct aead_geniv_ctx *ctx = crypto_aead_ctx(geniv); in seqiv_aead_encrypt()
84 crypto_aead_alignmask(geniv) + 1))) { in seqiv_aead_encrypt()
111 struct crypto_aead *geniv = crypto_aead_reqtfm(req); in seqiv_aead_decrypt() local
112 struct aead_geniv_ctx *ctx = crypto_aead_ctx(geniv); in seqiv_aead_decrypt()
118 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.c154 strscpy(raead.geniv, "<none>", sizeof(raead.geniv)); in crypto_aead_report()
Dskcipher.c718 strscpy(rblkcipher.geniv, "<none>", sizeof(rblkcipher.geniv)); in crypto_skcipher_report()
DMakefile17 obj-$(CONFIG_CRYPTO_AEAD2) += geniv.o
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/
Dcryptouser.h60 char geniv[CRYPTO_MAX_NAME]; member
68 char geniv[CRYPTO_MAX_NAME]; member
/kernel/linux/linux-5.10/drivers/crypto/caam/
Dcaamalg.c87 bool geniv; member
238 if (alg->caam.geniv) in aead_set_sh_desc()
279 ctx->authsize, alg->caam.geniv, is_rfc3686, in aead_set_sh_desc()
284 if (!alg->caam.geniv) in aead_set_sh_desc()
1222 if (ivsize && ((is_rfc3686 && encrypt) || !alg->caam.geniv)) in init_authenc_job()
2241 .geniv = true,
2285 .geniv = true,
2329 .geniv = true,
2373 .geniv = true,
2417 .geniv = true,
[all …]
Dcaamalg_qi.c40 bool geniv; member
131 if (alg->caam.geniv) in aead_set_sh_desc()
160 ivsize, ctx->authsize, alg->caam.geniv, in aead_set_sh_desc()
164 if (!alg->caam.geniv) in aead_set_sh_desc()
1035 if ((alg->caam.rfc3686 && encrypt) || !alg->caam.geniv) in aead_edesc_alloc()
1675 .geniv = true,
1719 .geniv = true,
1763 .geniv = true,
1808 .geniv = true,
1853 .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.c47 bool geniv; member
222 if (desc_inline_query((alg->caam.geniv ? DESC_QI_AEAD_GIVENC_LEN : in aead_set_sh_desc()
235 if (alg->caam.geniv) in aead_set_sh_desc()
263 ivsize, ctx->authsize, alg->caam.geniv, in aead_set_sh_desc()
442 if ((alg->caam.rfc3686 && encrypt) || !alg->caam.geniv) in aead_edesc_alloc()
1892 .geniv = true,
1936 .geniv = true,
1980 .geniv = true,
2025 .geniv = true,
2070 .geniv = true,
[all …]
Dcaamalg_desc.h65 unsigned int icvsize, const bool geniv,
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/
Dcryptouser.h143 char geniv[CRYPTO_MAX_NAME]; member
151 char geniv[CRYPTO_MAX_NAME]; member
/kernel/linux/linux-5.10/include/uapi/linux/
Dcryptouser.h166 char geniv[CRYPTO_MAX_NAME]; member
175 char geniv[CRYPTO_MAX_NAME]; member
/kernel/linux/linux-5.10/net/ipv6/
Desp6.c1068 x->geniv, x->aead->alg_name) >= CRYPTO_MAX_ALG_NAME) in esp_init_aead()
1111 x->geniv ?: "", x->geniv ? "(" : "", in esp_init_authenc()
1114 x->geniv ? ")" : "") >= CRYPTO_MAX_ALG_NAME) in esp_init_authenc()
1119 x->geniv ?: "", x->geniv ? "(" : "", in esp_init_authenc()
1122 x->geniv ? ")" : "") >= CRYPTO_MAX_ALG_NAME) in esp_init_authenc()
/kernel/linux/linux-5.10/net/ipv4/
Desp4.c1027 x->geniv, x->aead->alg_name) >= CRYPTO_MAX_ALG_NAME) in esp_init_aead()
1070 x->geniv ?: "", x->geniv ? "(" : "", in esp_init_authenc()
1073 x->geniv ? ")" : "") >= CRYPTO_MAX_ALG_NAME) in esp_init_authenc()
1078 x->geniv ?: "", x->geniv ? "(" : "", in esp_init_authenc()
1081 x->geniv ? ")" : "") >= CRYPTO_MAX_ALG_NAME) in esp_init_authenc()
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
Dipsec.c267 if (!x->geniv) { in mlx5e_xfrm_validate_state()
271 if (strcmp(x->geniv, "seqiv")) { in mlx5e_xfrm_validate_state()
/kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/inline_crypto/ch_ipsec/
Dchcr_ipsec.c280 if (!x->geniv) { in ch_ipsec_xfrm_add_state()
284 if (strcmp(x->geniv, "seqiv")) { in ch_ipsec_xfrm_add_state()
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/ixgbe/
Dixgbe_ipsec.c942 xs->geniv = algo->uinfo.aead.geniv; in ixgbe_ipsec_vf_add_sa()
/kernel/linux/linux-5.10/include/net/
Dxfrm.h194 const char *geniv; member
1390 char *geniv; member
1400 char *geniv; member
/kernel/linux/linux-5.10/Documentation/crypto/
Darchitecture.rst173 - geniv: IV generator (obsolete)
/kernel/linux/linux-5.10/net/key/
Daf_key.c1232 x->geniv = a->uinfo.encr.geniv; in pfkey_msg2xfrm_state()
/kernel/linux/patches/linux-5.10/imx8mm_patch/patches/drivers/
D0016_linux_drivers_crypto.patch163 bool geniv;
1315 .geniv = true,
2006 .geniv = true,