Searched refs:caam_hash (Results 1 – 2 of 2) sorted by relevance
1814 struct caam_hash_alg *caam_hash = in caam_hash_cra_init() local1839 if (is_xcbc_aes(caam_hash->alg_type)) { in caam_hash_cra_init()1842 ctx->adata.algtype = OP_TYPE_CLASS1_ALG | caam_hash->alg_type; in caam_hash_cra_init()1844 } else if (is_cmac_aes(caam_hash->alg_type)) { in caam_hash_cra_init()1847 ctx->adata.algtype = OP_TYPE_CLASS1_ALG | caam_hash->alg_type; in caam_hash_cra_init()1857 ctx->adata.algtype = OP_TYPE_CLASS2_ALG | caam_hash->alg_type; in caam_hash_cra_init()
4517 struct caam_hash_alg *caam_hash = in caam_hash_cra_init() local4530 ctx->dev = caam_hash->dev; in caam_hash_cra_init()4560 ctx->adata.algtype = OP_TYPE_CLASS2_ALG | caam_hash->alg_type; in caam_hash_cra_init()