Home
last modified time | relevance | path

Searched refs:caam_hash (Results 1 – 2 of 2) sorted by relevance

/Linux-v5.15/drivers/crypto/caam/
Dcaamhash.c1760 struct caam_hash_alg *caam_hash = in caam_hash_cra_init() local
1787 if (is_xcbc_aes(caam_hash->alg_type)) { in caam_hash_cra_init()
1790 ctx->adata.algtype = OP_TYPE_CLASS1_ALG | caam_hash->alg_type; in caam_hash_cra_init()
1792 } else if (is_cmac_aes(caam_hash->alg_type)) { in caam_hash_cra_init()
1795 ctx->adata.algtype = OP_TYPE_CLASS1_ALG | caam_hash->alg_type; in caam_hash_cra_init()
1805 ctx->adata.algtype = OP_TYPE_CLASS2_ALG | caam_hash->alg_type; in caam_hash_cra_init()
Dcaamalg_qi2.c4548 struct caam_hash_alg *caam_hash = in caam_hash_cra_init() local
4561 ctx->dev = caam_hash->dev; in caam_hash_cra_init()
4591 ctx->adata.algtype = OP_TYPE_CLASS2_ALG | caam_hash->alg_type; in caam_hash_cra_init()