Home
last modified time | relevance | path

Searched refs:caam_hash (Results 1 - 4 of 4) sorted by relevance

/kernel/linux/linux-5.10/drivers/crypto/caam/
H A 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()
H A Dcaamalg_qi2.c4546 struct caam_hash_alg *caam_hash = in caam_hash_cra_init() local
4559 ctx->dev = caam_hash->dev; in caam_hash_cra_init()
4589 ctx->adata.algtype = OP_TYPE_CLASS2_ALG | caam_hash->alg_type; in caam_hash_cra_init()
/kernel/linux/linux-6.6/drivers/crypto/caam/
H A Dcaamhash.c1767 struct caam_hash_alg *caam_hash = in caam_hash_cra_init() local
1794 if (is_xcbc_aes(caam_hash->alg_type)) { in caam_hash_cra_init()
1797 ctx->adata.algtype = OP_TYPE_CLASS1_ALG | caam_hash->alg_type; in caam_hash_cra_init()
1799 } else if (is_cmac_aes(caam_hash->alg_type)) { in caam_hash_cra_init()
1802 ctx->adata.algtype = OP_TYPE_CLASS1_ALG | caam_hash->alg_type; in caam_hash_cra_init()
1812 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()

Completed in 20 milliseconds