Home
last modified time | relevance | path

Searched refs:ahash_alg (Results 1 – 25 of 42) sorted by relevance

12

/drivers/crypto/ccp/
Dccp-crypto.h62 struct ahash_alg alg;
83 struct ahash_alg *ahash_alg; in ccp_crypto_ahash_alg() local
85 ahash_alg = container_of(alg, struct ahash_alg, halg.base); in ccp_crypto_ahash_alg()
87 return container_of(ahash_alg, struct ccp_crypto_ahash_alg, alg); in ccp_crypto_ahash_alg()
Dccp-crypto-main.c373 struct ccp_crypto_ahash_alg *ahash_alg, *ahash_tmp; in ccp_unregister_algs() local
378 list_for_each_entry_safe(ahash_alg, ahash_tmp, &hash_algs, entry) { in ccp_unregister_algs()
379 crypto_unregister_ahash(&ahash_alg->alg); in ccp_unregister_algs()
380 list_del(&ahash_alg->entry); in ccp_unregister_algs()
381 kfree(ahash_alg); in ccp_unregister_algs()
Dccp-crypto-sha.c416 struct ahash_alg *alg; in ccp_register_hmac_alg()
460 struct ahash_alg *alg; in ccp_register_sha_alg()
/drivers/crypto/marvell/cesa/
Dcesa.h383 struct ahash_alg **ahash_algs;
901 extern struct ahash_alg mv_md5_alg;
902 extern struct ahash_alg mv_sha1_alg;
903 extern struct ahash_alg mv_sha256_alg;
904 extern struct ahash_alg mv_ahmac_md5_alg;
905 extern struct ahash_alg mv_ahmac_sha1_alg;
906 extern struct ahash_alg mv_ahmac_sha256_alg;
Dhash.c936 struct ahash_alg mv_md5_alg = {
1007 struct ahash_alg mv_sha1_alg = {
1081 struct ahash_alg mv_sha256_alg = {
1315 struct ahash_alg mv_ahmac_md5_alg = {
1386 struct ahash_alg mv_ahmac_sha1_alg = {
1457 struct ahash_alg mv_ahmac_sha256_alg = {
Dcesa.c241 static struct ahash_alg *orion_ahash_algs[] = {
257 static struct ahash_alg *armada_370_ahash_algs[] = {
/drivers/crypto/qce/
Dsha.h64 struct ahash_alg *alg = container_of(crypto_hash_alg_common(ahash), in to_ahash_tmpl()
65 struct ahash_alg, halg); in to_ahash_tmpl()
Dcommon.h91 struct ahash_alg ahash;
/drivers/crypto/allwinner/sun8i-ce/
Dsun8i-ce-hash.c25 struct ahash_alg *alg = __crypto_ahash_alg(tfm->__crt_alg); in sun8i_ce_hash_crainit()
118 struct ahash_alg *alg = __crypto_ahash_alg(tfm->base.__crt_alg); in sun8i_ce_hash_final()
156 struct ahash_alg *alg = __crypto_ahash_alg(tfm->base.__crt_alg); in sun8i_ce_hash_finup()
181 struct ahash_alg *alg = __crypto_ahash_alg(tfm->base.__crt_alg); in sun8i_ce_hash_digest_fb()
203 struct ahash_alg *alg = __crypto_ahash_alg(tfm->base.__crt_alg); in sun8i_ce_hash_need_fallback()
236 struct ahash_alg *alg = __crypto_ahash_alg(tfm->base.__crt_alg); in sun8i_ce_hash_digest()
328 struct ahash_alg *alg = __crypto_ahash_alg(tfm->base.__crt_alg); in sun8i_ce_hash_run()
Dsun8i-ce.h333 struct ahash_alg hash;
/drivers/crypto/allwinner/sun8i-ss/
Dsun8i-ss-hash.c63 struct ahash_alg *alg = __crypto_ahash_alg(ahash->base.__crt_alg); in sun8i_ss_hmac_setkey()
113 struct ahash_alg *alg = __crypto_ahash_alg(tfm->__crt_alg); in sun8i_ss_hash_crainit()
208 struct ahash_alg *alg = __crypto_ahash_alg(tfm->base.__crt_alg); in sun8i_ss_hash_final()
246 struct ahash_alg *alg = __crypto_ahash_alg(tfm->base.__crt_alg); in sun8i_ss_hash_finup()
271 struct ahash_alg *alg = __crypto_ahash_alg(tfm->base.__crt_alg); in sun8i_ss_hash_digest_fb()
352 struct ahash_alg *alg = __crypto_ahash_alg(tfm->base.__crt_alg); in sun8i_ss_hash_need_fallback()
401 struct ahash_alg *alg = __crypto_ahash_alg(tfm->base.__crt_alg); in sun8i_ss_hash_digest()
487 struct ahash_alg *alg = __crypto_ahash_alg(tfm->base.__crt_alg); in sun8i_ss_hash_run()
Dsun8i-ss.h284 struct ahash_alg hash;
/drivers/crypto/caam/
Dcaamhash.c1576 struct ahash_alg template_ahash;
1752 struct ahash_alg ahash_alg; member
1761 struct ahash_alg *alg = in caam_hash_cra_init()
1762 container_of(halg, struct ahash_alg, halg); in caam_hash_cra_init()
1764 container_of(alg, struct caam_hash_alg, ahash_alg); in caam_hash_cra_init()
1890 crypto_unregister_ahash(&t_alg->ahash_alg); in caam_algapi_hash_exit()
1901 struct ahash_alg *halg; in caam_hash_alloc()
1910 t_alg->ahash_alg = template->template_ahash; in caam_hash_alloc()
1911 halg = &t_alg->ahash_alg; in caam_hash_alloc()
1924 t_alg->ahash_alg.setkey = NULL; in caam_hash_alloc()
[all …]
Dcaamalg_qi2.c4399 struct ahash_alg template_ahash;
4538 struct ahash_alg ahash_alg; member
4547 struct ahash_alg *alg = in caam_hash_cra_init()
4548 container_of(halg, struct ahash_alg, halg); in caam_hash_cra_init()
4550 container_of(alg, struct caam_hash_alg, ahash_alg); in caam_hash_cra_init()
4624 struct ahash_alg *halg; in caam_hash_alloc()
4631 t_alg->ahash_alg = template->template_ahash; in caam_hash_alloc()
4632 halg = &t_alg->ahash_alg; in caam_hash_alloc()
4645 t_alg->ahash_alg.setkey = NULL; in caam_hash_alloc()
5347 err = crypto_register_ahash(&t_alg->ahash_alg); in dpaa2_caam_probe()
[all …]
/drivers/crypto/
Dn2_core.c258 struct ahash_alg alg;
264 struct ahash_alg *ahash_alg; in n2_ahash_alg() local
266 ahash_alg = container_of(alg, struct ahash_alg, halg.base); in n2_ahash_alg()
268 return container_of(ahash_alg, struct n2_ahash_alg, alg); in n2_ahash_alg()
279 struct ahash_alg *ahash_alg; in n2_hmac_alg() local
281 ahash_alg = container_of(alg, struct ahash_alg, halg.base); in n2_hmac_alg()
283 return container_of(ahash_alg, struct n2_hmac_alg, derived.alg); in n2_hmac_alg()
1368 struct ahash_alg *ahash; in __n2_register_one_hmac()
1408 struct ahash_alg *ahash; in __n2_register_one_ahash()
Domap-sham.c183 struct ahash_alg *algs_list;
1426 static struct ahash_alg algs_sha1_md5[] = {
1522 static struct ahash_alg algs_sha224_sha256[] = {
1617 static struct ahash_alg algs_sha384_sha512[] = {
2149 struct ahash_alg *alg; in omap_sham_probe()
Datmel-sha.c1254 static void atmel_sha_alg_init(struct ahash_alg *alg) in atmel_sha_alg_init()
1273 static struct ahash_alg sha_1_256_algs[] = {
1290 static struct ahash_alg sha_224_alg = {
1298 static struct ahash_alg sha_384_512_algs[] = {
2016 static void atmel_sha_hmac_alg_init(struct ahash_alg *alg) in atmel_sha_hmac_alg_init()
2036 static struct ahash_alg sha_hmac_algs[] = {
/drivers/crypto/ccree/
Dcc_hash.c73 struct ahash_alg ahash_alg; member
1125 struct ahash_alg *ahash_alg = in cc_cra_init() local
1126 container_of(hash_alg_common, struct ahash_alg, halg); in cc_cra_init()
1128 container_of(ahash_alg, struct cc_hash_alg, ahash_alg); in cc_cra_init()
1566 struct ahash_alg template_ahash;
1826 struct ahash_alg *halg; in cc_alloc_hash_alg()
1832 t_crypto_alg->ahash_alg = template->template_ahash; in cc_alloc_hash_alg()
1833 halg = &t_crypto_alg->ahash_alg; in cc_alloc_hash_alg()
2018 rc = crypto_register_ahash(&t_alg->ahash_alg); in cc_hash_alloc()
2041 rc = crypto_register_ahash(&t_alg->ahash_alg); in cc_hash_alloc()
[all …]
/drivers/crypto/allwinner/sun4i-ss/
Dsun4i-ss-hash.c21 struct ahash_alg *alg = __crypto_ahash_alg(tfm->__crt_alg); in sun4i_hash_crainit()
51 struct ahash_alg *alg = __crypto_ahash_alg(tfm->base.__crt_alg); in sun4i_hash_init()
194 struct ahash_alg *alg = __crypto_ahash_alg(tfm->base.__crt_alg); in sun4i_hash()
Dsun4i-ss.h166 struct ahash_alg hash;
/drivers/crypto/rockchip/
Drk3288_crypto.h244 struct ahash_alg hash;
/drivers/crypto/aspeed/
Daspeed-hace.h279 struct ahash_alg ahash;
/drivers/crypto/amcc/
Dcrypto4xx_core.h138 struct ahash_alg hash;
/drivers/crypto/bcm/
Dcipher.h109 struct ahash_alg hash;
/drivers/crypto/chelsio/
Dchcr_crypto.h320 struct ahash_alg hash;

12