/kernel/linux/linux-5.10/drivers/crypto/caam/ |
H A 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,
|
H A D | caamalg_desc.c | 213 const bool is_rfc3686, u32 *nonce, int era) in init_sh_desc_key_aead() 230 if (is_rfc3686) in init_sh_desc_key_aead() 254 if (is_rfc3686) { in init_sh_desc_key_aead() 282 * @is_rfc3686: true when ctr(aes) is wrapped by rfc3686 template 290 unsigned int icvsize, const bool is_rfc3686, in cnstr_shdsc_aead_encap() 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() 377 * @is_rfc3686: true when ctr(aes) is wrapped by rfc3686 template 386 const bool is_rfc3686, u32 *nonce, in cnstr_shdsc_aead_decap() 390 init_sh_desc_key_aead(desc, cdata, adata, is_rfc3686, nonc in cnstr_shdsc_aead_decap() 210 init_sh_desc_key_aead(u32 * const desc, struct alginfo * const cdata, struct alginfo * const adata, const bool is_rfc3686, u32 *nonce, int era) init_sh_desc_key_aead() argument 288 cnstr_shdsc_aead_encap(u32 * const desc, struct alginfo *cdata, struct alginfo *adata, unsigned int ivsize, unsigned int icvsize, const bool is_rfc3686, u32 *nonce, const u32 ctx1_iv_off, const bool is_qi, int era) cnstr_shdsc_aead_encap() argument 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) cnstr_shdsc_aead_decap() argument 500 cnstr_shdsc_aead_givencap(u32 * const desc, struct alginfo *cdata, struct alginfo *adata, unsigned int ivsize, unsigned int icvsize, const bool is_rfc3686, u32 *nonce, const u32 ctx1_iv_off, const bool is_qi, int era) cnstr_shdsc_aead_givencap() argument 1378 cnstr_shdsc_skcipher_encap(u32 * const desc, struct alginfo *cdata, unsigned int ivsize, const bool is_rfc3686, const u32 ctx1_iv_off) cnstr_shdsc_skcipher_encap() argument 1454 cnstr_shdsc_skcipher_decap(u32 * const desc, struct alginfo *cdata, unsigned int ivsize, const bool is_rfc3686, const u32 ctx1_iv_off) cnstr_shdsc_skcipher_decap() argument [all...] |
H A D | caamalg_qi.c | 92 const bool is_rfc3686 = alg->caam.rfc3686; in aead_set_sh_desc() local 110 if (is_rfc3686) { in aead_set_sh_desc() 136 (is_rfc3686 ? DESC_AEAD_CTR_RFC3686_LEN : 0), in aead_set_sh_desc() 145 ivsize, ctx->authsize, is_rfc3686, nonce, in aead_set_sh_desc() 151 (is_rfc3686 ? DESC_AEAD_CTR_RFC3686_LEN : 0), in aead_set_sh_desc() 161 is_rfc3686, nonce, ctx1_iv_off, true, in aead_set_sh_desc() 169 (is_rfc3686 ? DESC_AEAD_CTR_RFC3686_LEN : 0), in aead_set_sh_desc() 178 ivsize, ctx->authsize, is_rfc3686, nonce, in aead_set_sh_desc() 626 const bool is_rfc3686 = alg->caam.rfc3686; in skcipher_setkey() local 638 is_rfc3686, ctx1_iv_of in skcipher_setkey() [all...] |
H A D | caamalg.c | 196 const bool is_rfc3686 = alg->caam.rfc3686; in aead_set_sh_desc() local 217 if (is_rfc3686) { in aead_set_sh_desc() 246 (is_rfc3686 ? DESC_AEAD_CTR_RFC3686_LEN : 0), in aead_set_sh_desc() 257 ctx->authsize, is_rfc3686, nonce, ctx1_iv_off, in aead_set_sh_desc() 268 (is_rfc3686 ? DESC_AEAD_CTR_RFC3686_LEN : 0), in aead_set_sh_desc() 279 ctx->authsize, alg->caam.geniv, is_rfc3686, in aead_set_sh_desc() 292 (is_rfc3686 ? DESC_AEAD_CTR_RFC3686_LEN : 0), in aead_set_sh_desc() 303 ctx->authsize, is_rfc3686, nonce, in aead_set_sh_desc() 740 const bool is_rfc3686 = alg->caam.rfc3686; in skcipher_setkey() local 751 cnstr_shdsc_skcipher_encap(desc, &ctx->cdata, ivsize, is_rfc3686, in skcipher_setkey() 1193 const bool is_rfc3686 = alg->caam.rfc3686; init_authenc_job() local [all...] |
H A D | caamalg_qi2.c | 183 const bool is_rfc3686 = alg->caam.rfc3686; in aead_set_sh_desc() local 200 if (is_rfc3686) { in aead_set_sh_desc() 224 (is_rfc3686 ? DESC_AEAD_CTR_RFC3686_LEN : 0), in aead_set_sh_desc() 237 ivsize, ctx->authsize, is_rfc3686, in aead_set_sh_desc() 242 ivsize, ctx->authsize, is_rfc3686, nonce, in aead_set_sh_desc() 252 (is_rfc3686 ? DESC_AEAD_CTR_RFC3686_LEN : 0), in aead_set_sh_desc() 264 is_rfc3686, nonce, ctx1_iv_off, true, in aead_set_sh_desc() 949 const bool is_rfc3686 = alg->caam.rfc3686; in skcipher_setkey() local 961 cnstr_shdsc_skcipher_encap(desc, &ctx->cdata, ivsize, is_rfc3686, in skcipher_setkey() 971 cnstr_shdsc_skcipher_decap(desc, &ctx->cdata, ivsize, is_rfc3686, in skcipher_setkey() [all...] |
/kernel/linux/linux-6.6/drivers/crypto/caam/ |
H A 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,
|
H A D | caamalg_desc.c | 213 const bool is_rfc3686, u32 *nonce, int era) in init_sh_desc_key_aead() 230 if (is_rfc3686) in init_sh_desc_key_aead() 254 if (is_rfc3686) { in init_sh_desc_key_aead() 282 * @is_rfc3686: true when ctr(aes) is wrapped by rfc3686 template 290 unsigned int icvsize, const bool is_rfc3686, in cnstr_shdsc_aead_encap() 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() 377 * @is_rfc3686: true when ctr(aes) is wrapped by rfc3686 template 386 const bool is_rfc3686, u32 *nonce, in cnstr_shdsc_aead_decap() 390 init_sh_desc_key_aead(desc, cdata, adata, is_rfc3686, nonc in cnstr_shdsc_aead_decap() 210 init_sh_desc_key_aead(u32 * const desc, struct alginfo * const cdata, struct alginfo * const adata, const bool is_rfc3686, u32 *nonce, int era) init_sh_desc_key_aead() argument 288 cnstr_shdsc_aead_encap(u32 * const desc, struct alginfo *cdata, struct alginfo *adata, unsigned int ivsize, unsigned int icvsize, const bool is_rfc3686, u32 *nonce, const u32 ctx1_iv_off, const bool is_qi, int era) cnstr_shdsc_aead_encap() argument 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) cnstr_shdsc_aead_decap() argument 500 cnstr_shdsc_aead_givencap(u32 * const desc, struct alginfo *cdata, struct alginfo *adata, unsigned int ivsize, unsigned int icvsize, const bool is_rfc3686, u32 *nonce, const u32 ctx1_iv_off, const bool is_qi, int era) cnstr_shdsc_aead_givencap() argument 1378 cnstr_shdsc_skcipher_encap(u32 * const desc, struct alginfo *cdata, unsigned int ivsize, const bool is_rfc3686, const u32 ctx1_iv_off) cnstr_shdsc_skcipher_encap() argument 1454 cnstr_shdsc_skcipher_decap(u32 * const desc, struct alginfo *cdata, unsigned int ivsize, const bool is_rfc3686, const u32 ctx1_iv_off) cnstr_shdsc_skcipher_decap() 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 | 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() 1209 const bool is_rfc3686 = alg->caam.rfc3686; init_authenc_job() local [all...] |
H A 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() [all...] |