Lines Matching refs:caam
51 struct caam_alg_entry caam; member
57 struct caam_alg_entry caam; member
97 const bool is_rfc3686 = alg->caam.rfc3686; in aead_set_sh_desc()
136 if (alg->caam.geniv) in aead_set_sh_desc()
165 ivsize, ctx->authsize, alg->caam.geniv, in aead_set_sh_desc()
169 if (!alg->caam.geniv) in aead_set_sh_desc()
631 const bool is_rfc3686 = alg->caam.rfc3686; in skcipher_setkey()
1040 if ((alg->caam.rfc3686 && encrypt) || !alg->caam.geniv) in aead_edesc_alloc()
1496 .caam.class1_alg_type = OP_ALG_ALGSEL_AES | OP_ALG_AAI_CBC,
1512 .caam.class1_alg_type = OP_ALG_ALGSEL_3DES | OP_ALG_AAI_CBC,
1528 .caam.class1_alg_type = OP_ALG_ALGSEL_DES | OP_ALG_AAI_CBC,
1545 .caam.class1_alg_type = OP_ALG_ALGSEL_AES |
1565 .caam = {
1586 .caam.class1_alg_type = OP_ALG_ALGSEL_AES | OP_ALG_AAI_XTS,
1605 .caam = {
1624 .caam = {
1644 .caam = {
1665 .caam = {
1687 .caam = {
1709 .caam = {
1731 .caam = {
1753 .caam = {
1775 .caam = {
1797 .caam = {
1820 .caam = {
1842 .caam = {
1865 .caam = {
1887 .caam = {
1910 .caam = {
1932 .caam = {
1954 .caam = {
1977 .caam = {
2000 .caam = {
2023 .caam = {
2046 .caam = {
2069 .caam = {
2092 .caam = {
2115 .caam = {
2138 .caam = {
2161 .caam = {
2184 .caam = {
2206 .caam = {
2228 .caam = {
2250 .caam = {
2272 .caam = {
2294 .caam = {
2317 .caam = {
2339 .caam = {
2362 .caam = {
2384 .caam = {
2407 .caam = {
2429 .caam = {
2452 .caam = {
2461 static int caam_init_common(struct caam_ctx *ctx, struct caam_alg_entry *caam, in caam_init_common() argument
2493 ctx->cdata.algtype = OP_TYPE_CLASS1_ALG | caam->class1_alg_type; in caam_init_common()
2494 ctx->adata.algtype = OP_TYPE_CLASS2_ALG | caam->class2_alg_type; in caam_init_common()
2511 u32 alg_aai = caam_alg->caam.class1_alg_type & OP_ALG_AAI_MASK; in caam_cra_init()
2531 ret = caam_init_common(ctx, &caam_alg->caam, false); in caam_cra_init()
2545 return caam_init_common(ctx, &caam_alg->caam, !caam_alg->caam.nodkp); in caam_aead_init()
2668 u32 alg_sel = t_alg->caam.class1_alg_type & OP_ALG_ALGSEL_MASK; in caam_qi_algapi_init()
2695 u32 c1_alg_sel = t_alg->caam.class1_alg_type & in caam_qi_algapi_init()
2697 u32 c2_alg_sel = t_alg->caam.class2_alg_type & in caam_qi_algapi_init()
2699 u32 alg_aai = t_alg->caam.class1_alg_type & OP_ALG_AAI_MASK; in caam_qi_algapi_init()