Lines Matching refs:caam
102 struct caam_alg_entry caam; member
108 struct caam_alg_entry caam; member
205 const bool is_rfc3686 = alg->caam.rfc3686; in aead_set_sh_desc()
247 if (alg->caam.geniv) in aead_set_sh_desc()
288 ctx->authsize, alg->caam.geniv, is_rfc3686, in aead_set_sh_desc()
293 if (!alg->caam.geniv) in aead_set_sh_desc()
749 const bool is_rfc3686 = alg->caam.rfc3686; in skcipher_setkey()
1209 const bool is_rfc3686 = alg->caam.rfc3686; in init_authenc_job()
1239 if (ivsize && ((is_rfc3686 && encrypt) || !alg->caam.geniv)) in init_authenc_job()
1905 .caam.class1_alg_type = OP_ALG_ALGSEL_AES | OP_ALG_AAI_CBC,
1924 .caam.class1_alg_type = OP_ALG_ALGSEL_3DES | OP_ALG_AAI_CBC,
1943 .caam.class1_alg_type = OP_ALG_ALGSEL_DES | OP_ALG_AAI_CBC,
1963 .caam.class1_alg_type = OP_ALG_ALGSEL_AES |
1986 .caam = {
2010 .caam.class1_alg_type = OP_ALG_ALGSEL_AES | OP_ALG_AAI_XTS,
2028 .caam.class1_alg_type = OP_ALG_ALGSEL_DES | OP_ALG_AAI_ECB,
2046 .caam.class1_alg_type = OP_ALG_ALGSEL_AES | OP_ALG_AAI_ECB,
2064 .caam.class1_alg_type = OP_ALG_ALGSEL_3DES | OP_ALG_AAI_ECB,
2086 .caam = {
2108 .caam = {
2131 .caam = {
2156 .caam = {
2180 .caam = {
2204 .caam = {
2228 .caam = {
2252 .caam = {
2276 .caam = {
2299 .caam = {
2324 .caam = {
2349 .caam = {
2374 .caam = {
2399 .caam = {
2424 .caam = {
2449 .caam = {
2474 .caam = {
2499 .caam = {
2524 .caam = {
2549 .caam = {
2574 .caam = {
2599 .caam = {
2624 .caam = {
2650 .caam = {
2676 .caam = {
2702 .caam = {
2728 .caam = {
2754 .caam = {
2780 .caam = {
2806 .caam = {
2832 .caam = {
2858 .caam = {
2884 .caam = {
2909 .caam = {
2934 .caam = {
2959 .caam = {
2984 .caam = {
3009 .caam = {
3034 .caam = {
3059 .caam = {
3084 .caam = {
3109 .caam = {
3134 .caam = {
3159 .caam = {
3184 .caam = {
3210 .caam = {
3237 .caam = {
3265 .caam = {
3292 .caam = {
3320 .caam = {
3347 .caam = {
3375 .caam = {
3402 .caam = {
3430 .caam = {
3457 .caam = {
3485 .caam = {
3512 .caam = {
3539 .caam = {
3565 .caam = {
3575 static int caam_init_common(struct caam_ctx *ctx, struct caam_alg_entry *caam, in caam_init_common() argument
3614 ctx->cdata.algtype = OP_TYPE_CLASS1_ALG | caam->class1_alg_type; in caam_init_common()
3615 ctx->adata.algtype = OP_TYPE_CLASS2_ALG | caam->class2_alg_type; in caam_init_common()
3626 u32 alg_aai = caam_alg->caam.class1_alg_type & OP_ALG_AAI_MASK; in caam_cra_init()
3648 ret = caam_init_common(ctx, &caam_alg->caam, false); in caam_cra_init()
3664 return caam_init_common(ctx, &caam_alg->caam, !caam_alg->caam.nodkp); in caam_aead_init()
3792 u32 alg_sel = t_alg->caam.class1_alg_type & OP_ALG_ALGSEL_MASK; in caam_algapi_init()
3809 (t_alg->caam.class1_alg_type & OP_ALG_AAI_MASK) == in caam_algapi_init()
3828 u32 c1_alg_sel = t_alg->caam.class1_alg_type & in caam_algapi_init()
3830 u32 c2_alg_sel = t_alg->caam.class2_alg_type & in caam_algapi_init()
3832 u32 alg_aai = t_alg->caam.class1_alg_type & OP_ALG_AAI_MASK; in caam_algapi_init()