| /linux/drivers/crypto/caam/ |
| H A D | caamalg_desc.h | 62 unsigned int icvsize, const bool is_rfc3686, 69 const bool is_rfc3686, u32 *nonce, 74 unsigned int icvsize, const bool is_rfc3686, 108 unsigned int ivsize, const bool is_rfc3686, 112 unsigned int ivsize, const bool is_rfc3686,
|
| H A D | caamalg_desc.c | 214 const bool is_rfc3686, u32 *nonce, int era) in init_sh_desc_key_aead() argument 231 if (is_rfc3686) in init_sh_desc_key_aead() 255 if (is_rfc3686) { in init_sh_desc_key_aead() 291 unsigned int icvsize, const bool is_rfc3686, in cnstr_shdsc_aead_encap() argument 296 init_sh_desc_key_aead(desc, cdata, adata, is_rfc3686, nonce, era); in cnstr_shdsc_aead_encap() 338 if (is_rfc3686) in cnstr_shdsc_aead_encap() 387 const bool is_rfc3686, u32 *nonce, in cnstr_shdsc_aead_decap() argument 391 init_sh_desc_key_aead(desc, cdata, adata, is_rfc3686, nonce, era); in cnstr_shdsc_aead_decap() 452 if (is_rfc3686) in cnstr_shdsc_aead_decap() 503 unsigned int icvsize, const bool is_rfc3686, in cnstr_shdsc_aead_givencap() argument [all …]
|
| H A 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_of in skcipher_setkey() [all...] |
| H A D | caamalg.c | 211 const bool is_rfc3686 = alg->caam.rfc3686; in aead_set_sh_desc() local 232 if (is_rfc3686) { in aead_set_sh_desc() 261 (is_rfc3686 ? DESC_AEAD_CTR_RFC3686_LEN : 0), in aead_set_sh_desc() 272 ctx->authsize, is_rfc3686, nonce, ctx1_iv_off, in aead_set_sh_desc() 283 (is_rfc3686 ? DESC_AEAD_CTR_RFC3686_LEN : 0), in aead_set_sh_desc() 294 ctx->authsize, alg->caam.geniv, is_rfc3686, in aead_set_sh_desc() 307 (is_rfc3686 ? DESC_AEAD_CTR_RFC3686_LEN : 0), in aead_set_sh_desc() 318 ctx->authsize, is_rfc3686, nonce, in aead_set_sh_desc() 755 const bool is_rfc3686 = alg->caam.rfc3686; in skcipher_setkey() local 771 cnstr_shdsc_skcipher_encap(desc, &ctx->cdata, ivsize, is_rfc3686, in skcipher_setkey() 1276 const bool is_rfc3686 = alg->caam.rfc3686; init_authenc_job() local [all...] |
| H A D | caamalg_qi2.c | 190 const bool is_rfc3686 = alg->caam.rfc3686; in aead_set_sh_desc() local 207 if (is_rfc3686) { in aead_set_sh_desc() 231 (is_rfc3686 ? DESC_AEAD_CTR_RFC3686_LEN : 0), in aead_set_sh_desc() 244 ivsize, ctx->authsize, is_rfc3686, in aead_set_sh_desc() 249 ivsize, ctx->authsize, is_rfc3686, nonce, in aead_set_sh_desc() 259 (is_rfc3686 ? DESC_AEAD_CTR_RFC3686_LEN : 0), in aead_set_sh_desc() 271 is_rfc3686, nonce, ctx1_iv_off, true, in aead_set_sh_desc() 956 const bool is_rfc3686 = alg->caam.rfc3686; in skcipher_setkey() local 968 cnstr_shdsc_skcipher_encap(desc, &ctx->cdata, ivsize, is_rfc3686, in skcipher_setkey() 978 cnstr_shdsc_skcipher_decap(desc, &ctx->cdata, ivsize, is_rfc3686, in skcipher_setkey() [all...] |