Home
last modified time | relevance | path

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

/openbmc/u-boot/drivers/crypto/fsl/
H A Dfsl_hash.c161 int caam_hash(const unsigned char *pbuf, unsigned int buf_len, in caam_hash() function
204 if (caam_hash(pbuf, buf_len, pout, SHA256)) in hw_sha256()
211 if (caam_hash(pbuf, buf_len, pout, SHA1)) in hw_sha1()
/openbmc/linux/drivers/crypto/caam/
H A Dcaamhash.c1768 struct caam_hash_alg *caam_hash = in caam_hash_cra_init() local
1795 if (is_xcbc_aes(caam_hash->alg_type)) { in caam_hash_cra_init()
1798 ctx->adata.algtype = OP_TYPE_CLASS1_ALG | caam_hash->alg_type; in caam_hash_cra_init()
1800 } else if (is_cmac_aes(caam_hash->alg_type)) { in caam_hash_cra_init()
1803 ctx->adata.algtype = OP_TYPE_CLASS1_ALG | caam_hash->alg_type; in caam_hash_cra_init()
1813 ctx->adata.algtype = OP_TYPE_CLASS2_ALG | caam_hash->alg_type; in caam_hash_cra_init()
H A Dcaamalg_qi2.c4559 struct caam_hash_alg *caam_hash = in caam_hash_cra_init() local
4572 ctx->dev = caam_hash->dev; in caam_hash_cra_init()
4602 ctx->adata.algtype = OP_TYPE_CLASS2_ALG | caam_hash->alg_type; in caam_hash_cra_init()