Home
last modified time | relevance | path

Searched refs:alg_base (Results 1 – 4 of 4) sorted by relevance

/drivers/crypto/aspeed/
Daspeed-hace-hash.c864 if (ast_alg->alg_base) { in aspeed_sham_cra_init()
869 bctx->shash = crypto_alloc_shash(ast_alg->alg_base, 0, in aspeed_sham_cra_init()
874 ast_alg->alg_base); in aspeed_sham_cra_init()
1007 .alg_base = "sha1",
1039 .alg_base = "sha224",
1071 .alg_base = "sha256",
1222 .alg_base = "sha384",
1254 .alg_base = "sha512",
1286 .alg_base = "sha512_224",
1318 .alg_base = "sha512_256",
Daspeed-hace.h275 const char *alg_base; member
/drivers/crypto/
Dsa2ul.c1491 static int sa_sha_cra_init_alg(struct crypto_tfm *tfm, const char *alg_base) in sa_sha_cra_init_alg() argument
1503 if (alg_base) { in sa_sha_cra_init_alg()
1504 ctx->shash = crypto_alloc_shash(alg_base, 0, in sa_sha_cra_init_alg()
1508 alg_base); in sa_sha_cra_init_alg()
1513 crypto_alloc_ahash(alg_base, 0, in sa_sha_cra_init_alg()
Domap-sham.c1321 static int omap_sham_cra_init_alg(struct crypto_tfm *tfm, const char *alg_base) in omap_sham_cra_init_alg() argument
1338 if (alg_base) { in omap_sham_cra_init_alg()
1341 bctx->shash = crypto_alloc_shash(alg_base, 0, in omap_sham_cra_init_alg()
1345 "could not be loaded.\n", alg_base); in omap_sham_cra_init_alg()