/linux-master/crypto/ |
H A D | echainiv.c | 16 #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 D | seqiv.c | 11 #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 D | aead.c | 143 strscpy(raead.geniv, "<none>", sizeof(raead.geniv)); 164 seq_printf(m, "geniv : <none>\n");
|
H A D | geniv.c | 3 * geniv: Shared IV generator code 10 #include <crypto/internal/geniv.h>
|
H A D | lskcipher.c | 272 strscpy(rblkcipher.geniv, "<none>", sizeof(rblkcipher.geniv));
|
H A D | Makefile | 17 obj-$(CONFIG_CRYPTO_GENIV) += geniv.o
|
H A D | skcipher.c | 797 strscpy(rblkcipher.geniv, "<none>", sizeof(rblkcipher.geniv));
|
/linux-master/net/xfrm/ |
H A D | xfrm_algo.c | 33 .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 D | xfrm_user.c | 515 x->geniv = algo->uinfo.encr.geniv; 609 x->geniv = algo->uinfo.aead.geniv;
|
H A D | xfrm_state.c | 1683 x->geniv = orig->geniv;
|
/linux-master/include/uapi/linux/ |
H A D | cryptouser.h | 174 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 D | caamalg_qi.c | 45 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 D | caamalg.c | 96 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 D | caamalg_desc.h | 65 unsigned int icvsize, const bool geniv,
|
H A D | caamalg_desc.c | 376 * @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 D | caamalg_qi2.c | 49 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 D | esp4.c | 1012 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 D | esp6.c | 1055 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 D | ipsec.c | 34 #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 D | chcr_ipsec.c | 278 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 D | xfrm.h | 221 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 D | ixgbe_ipsec.c | 947 xs->geniv = algo->uinfo.aead.geniv;
|
/linux-master/net/key/ |
H A D | af_key.c | 1228 x->geniv = a->uinfo.encr.geniv;
|