/linux-6.12.1/drivers/crypto/caam/ |
D | caamalg_desc.h | 59 unsigned int icvsize, const bool is_rfc3686, 66 const bool is_rfc3686, u32 *nonce, 71 unsigned int icvsize, const bool is_rfc3686, 105 unsigned int ivsize, const bool is_rfc3686, 109 unsigned int ivsize, const bool is_rfc3686,
|
D | caamalg_desc.c | 213 const bool is_rfc3686, u32 *nonce, int era) in init_sh_desc_key_aead() argument 230 if (is_rfc3686) in init_sh_desc_key_aead() 254 if (is_rfc3686) { in init_sh_desc_key_aead() 290 unsigned int icvsize, const bool is_rfc3686, in cnstr_shdsc_aead_encap() argument 295 init_sh_desc_key_aead(desc, cdata, adata, is_rfc3686, nonce, era); in cnstr_shdsc_aead_encap() 337 if (is_rfc3686) in cnstr_shdsc_aead_encap() 386 const bool is_rfc3686, u32 *nonce, in cnstr_shdsc_aead_decap() argument 390 init_sh_desc_key_aead(desc, cdata, adata, is_rfc3686, nonce, era); in cnstr_shdsc_aead_decap() 451 if (is_rfc3686) in cnstr_shdsc_aead_decap() 502 unsigned int icvsize, const bool is_rfc3686, in cnstr_shdsc_aead_givencap() argument [all …]
|
D | caamalg_qi.c | 97 const bool is_rfc3686 = alg->caam.rfc3686; in aead_set_sh_desc() local 115 if (is_rfc3686) { in aead_set_sh_desc() 141 (is_rfc3686 ? DESC_AEAD_CTR_RFC3686_LEN : 0), in aead_set_sh_desc() 150 ivsize, ctx->authsize, is_rfc3686, nonce, in aead_set_sh_desc() 156 (is_rfc3686 ? DESC_AEAD_CTR_RFC3686_LEN : 0), in aead_set_sh_desc() 166 is_rfc3686, nonce, ctx1_iv_off, true, in aead_set_sh_desc() 174 (is_rfc3686 ? DESC_AEAD_CTR_RFC3686_LEN : 0), in aead_set_sh_desc() 183 ivsize, ctx->authsize, is_rfc3686, nonce, in aead_set_sh_desc() 631 const bool is_rfc3686 = alg->caam.rfc3686; in skcipher_setkey() local 643 is_rfc3686, ctx1_iv_off); in skcipher_setkey() [all …]
|
D | caamalg.c | 205 const bool is_rfc3686 = alg->caam.rfc3686; in aead_set_sh_desc() local 226 if (is_rfc3686) { in aead_set_sh_desc() 255 (is_rfc3686 ? DESC_AEAD_CTR_RFC3686_LEN : 0), in aead_set_sh_desc() 266 ctx->authsize, is_rfc3686, nonce, ctx1_iv_off, in aead_set_sh_desc() 277 (is_rfc3686 ? DESC_AEAD_CTR_RFC3686_LEN : 0), in aead_set_sh_desc() 288 ctx->authsize, alg->caam.geniv, is_rfc3686, in aead_set_sh_desc() 301 (is_rfc3686 ? DESC_AEAD_CTR_RFC3686_LEN : 0), in aead_set_sh_desc() 312 ctx->authsize, is_rfc3686, nonce, in aead_set_sh_desc() 749 const bool is_rfc3686 = alg->caam.rfc3686; in skcipher_setkey() local 760 cnstr_shdsc_skcipher_encap(desc, &ctx->cdata, ivsize, is_rfc3686, in skcipher_setkey() [all …]
|
D | caamalg_qi2.c | 188 const bool is_rfc3686 = alg->caam.rfc3686; in aead_set_sh_desc() local 205 if (is_rfc3686) { in aead_set_sh_desc() 229 (is_rfc3686 ? DESC_AEAD_CTR_RFC3686_LEN : 0), in aead_set_sh_desc() 242 ivsize, ctx->authsize, is_rfc3686, in aead_set_sh_desc() 247 ivsize, ctx->authsize, is_rfc3686, nonce, in aead_set_sh_desc() 257 (is_rfc3686 ? DESC_AEAD_CTR_RFC3686_LEN : 0), in aead_set_sh_desc() 269 is_rfc3686, nonce, ctx1_iv_off, true, in aead_set_sh_desc() 954 const bool is_rfc3686 = alg->caam.rfc3686; in skcipher_setkey() local 966 cnstr_shdsc_skcipher_encap(desc, &ctx->cdata, ivsize, is_rfc3686, in skcipher_setkey() 976 cnstr_shdsc_skcipher_decap(desc, &ctx->cdata, ivsize, is_rfc3686, in skcipher_setkey()
|