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

/linux-master/crypto/
H A Dechainiv.c16 #include <crypto/internal/geniv.h>
28 struct crypto_aead *geniv = crypto_aead_reqtfm(req); local
29 struct aead_geniv_ctx *ctx = crypto_aead_ctx(geniv);
34 unsigned int ivsize = crypto_aead_ivsize(geniv);
87 struct crypto_aead *geniv = crypto_aead_reqtfm(req); local
88 struct aead_geniv_ctx *ctx = crypto_aead_ctx(geniv);
92 unsigned int ivsize = crypto_aead_ivsize(geniv);
H A Dseqiv.c11 #include <crypto/internal/geniv.h>
24 struct crypto_aead *geniv; local
32 geniv = crypto_aead_reqtfm(req);
33 memcpy(req->iv, subreq->iv, crypto_aead_ivsize(geniv));
49 struct crypto_aead *geniv = crypto_aead_reqtfm(req); local
50 struct aead_geniv_ctx *ctx = crypto_aead_ctx(geniv);
83 crypto_aead_alignmask(geniv) + 1))) {
110 struct crypto_aead *geniv = crypto_aead_reqtfm(req); local
111 struct aead_geniv_ctx *ctx = crypto_aead_ctx(geniv);
117 if (req->cryptlen < ivsize + crypto_aead_authsize(geniv))
[all...]
H A Daead.c143 strscpy(raead.geniv, "<none>", sizeof(raead.geniv));
164 seq_printf(m, "geniv : <none>\n");
H A Dgeniv.c3 * geniv: Shared IV generator code
10 #include <crypto/internal/geniv.h>
H A Dlskcipher.c272 strscpy(rblkcipher.geniv, "<none>", sizeof(rblkcipher.geniv));
H A DMakefile17 obj-$(CONFIG_CRYPTO_GENIV) += geniv.o
H A Dskcipher.c797 strscpy(rblkcipher.geniv, "<none>", sizeof(rblkcipher.geniv));
/linux-master/net/xfrm/
H A 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
[all...]
H A Dxfrm_user.c515 x->geniv = algo->uinfo.encr.geniv;
609 x->geniv = algo->uinfo.aead.geniv;
H A Dxfrm_state.c1683 x->geniv = orig->geniv;
/linux-master/include/uapi/linux/
H A Dcryptouser.h174 char geniv[CRYPTO_MAX_NAME]; member in struct:crypto_report_blkcipher
183 char geniv[CRYPTO_MAX_NAME]; member in struct:crypto_report_aead
/linux-master/drivers/crypto/caam/
H A Dcaamalg_qi.c45 bool geniv; member in struct:caam_alg_entry
136 if (alg->caam.geniv)
165 ivsize, ctx->authsize, alg->caam.geniv,
169 if (!alg->caam.geniv)
1040 if ((alg->caam.rfc3686 && encrypt) || !alg->caam.geniv)
1691 .geniv = true,
1735 .geniv = true,
1779 .geniv = true,
1824 .geniv = true,
1869 .geniv
[all...]
H A Dcaamalg.c96 bool geniv; member in struct:caam_alg_entry
247 if (alg->caam.geniv)
288 ctx->authsize, alg->caam.geniv, is_rfc3686,
293 if (!alg->caam.geniv)
1239 if (ivsize && ((is_rfc3686 && encrypt) || !alg->caam.geniv))
2328 .geniv = true,
2378 .geniv = true,
2428 .geniv = true,
2478 .geniv = true,
2528 .geniv
[all...]
H A Dcaamalg_desc.h65 unsigned int icvsize, const bool geniv,
H A Dcaamalg_desc.c376 * @geniv: whether to generate Encrypted Chain IV
385 unsigned int icvsize, const bool geniv,
410 if (!geniv)
419 if (geniv)
427 if (geniv)
442 if (geniv) {
506 u32 geniv, moveiv; local
537 geniv = NFIFOENTRY_STYPE_PAD | NFIFOENTRY_DEST_DECO |
540 append_load_imm_u32(desc, geniv, LDST_CLASS_IND_CCB |
383 cnstr_shdsc_aead_decap(u32 * const desc, struct alginfo *cdata, struct alginfo *adata, unsigned int ivsize, unsigned int icvsize, const bool geniv, const bool is_rfc3686, u32 *nonce, const u32 ctx1_iv_off, const bool is_qi, int era) argument
H A Dcaamalg_qi2.c49 bool geniv; member in struct:caam_alg_entry
227 if (desc_inline_query((alg->caam.geniv ? DESC_QI_AEAD_GIVENC_LEN :
240 if (alg->caam.geniv)
268 ivsize, ctx->authsize, alg->caam.geniv,
447 if ((alg->caam.rfc3686 && encrypt) || !alg->caam.geniv)
1900 .geniv = true,
1944 .geniv = true,
1988 .geniv = true,
2033 .geniv = true,
2078 .geniv
[all...]
/linux-master/net/ipv4/
H A Desp4.c1012 x->geniv, x->aead->alg_name) >= CRYPTO_MAX_ALG_NAME) {
1057 x->geniv ?: "", x->geniv ? "(" : "",
1060 x->geniv ? ")" : "") >= CRYPTO_MAX_ALG_NAME) {
1067 x->geniv ?: "", x->geniv ? "(" : "",
1070 x->geniv ? ")" : "") >= CRYPTO_MAX_ALG_NAME) {
/linux-master/net/ipv6/
H A Desp6.c1055 x->geniv, x->aead->alg_name) >= CRYPTO_MAX_ALG_NAME) {
1100 x->geniv ?: "", x->geniv ? "(" : "",
1103 x->geniv ? ")" : "") >= CRYPTO_MAX_ALG_NAME) {
1110 x->geniv ?: "", x->geniv ? "(" : "",
1113 x->geniv ? ")" : "") >= CRYPTO_MAX_ALG_NAME) {
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
H A Dipsec.c34 #include <crypto/internal/geniv.h>
468 if (!x->geniv) {
469 NL_SET_ERR_MSG_MOD(extack, "Cannot offload xfrm states without geniv");
472 if (strcmp(x->geniv, "seqiv")) {
473 NL_SET_ERR_MSG_MOD(extack, "Cannot offload xfrm states with geniv other than seqiv");
/linux-master/drivers/net/ethernet/chelsio/inline_crypto/ch_ipsec/
H A Dchcr_ipsec.c278 if (!x->geniv) {
279 NL_SET_ERR_MSG_MOD(extack, "Cannot offload xfrm states without geniv");
282 if (strcmp(x->geniv, "seqiv")) {
283 NL_SET_ERR_MSG_MOD(extack, "Cannot offload xfrm states with geniv other than seqiv");
/linux-master/include/net/
H A Dxfrm.h221 const char *geniv; member in struct:xfrm_state
1451 char *geniv; member in struct:xfrm_algo_aead_info
1461 char *geniv; member in struct:xfrm_algo_encr_info
/linux-master/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_ipsec.c947 xs->geniv = algo->uinfo.aead.geniv;
/linux-master/net/key/
H A Daf_key.c1228 x->geniv = a->uinfo.encr.geniv;

Completed in 269 milliseconds