/drivers/crypto/ccp/ |
D | ccp-crypto.h | 62 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()
|
D | ccp-crypto-main.c | 373 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()
|
D | ccp-crypto-sha.c | 416 struct ahash_alg *alg; in ccp_register_hmac_alg() 460 struct ahash_alg *alg; in ccp_register_sha_alg()
|
/drivers/crypto/marvell/cesa/ |
D | cesa.h | 383 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;
|
D | hash.c | 936 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 = {
|
D | cesa.c | 241 static struct ahash_alg *orion_ahash_algs[] = { 257 static struct ahash_alg *armada_370_ahash_algs[] = {
|
/drivers/crypto/qce/ |
D | sha.h | 64 struct ahash_alg *alg = container_of(crypto_hash_alg_common(ahash), in to_ahash_tmpl() 65 struct ahash_alg, halg); in to_ahash_tmpl()
|
D | common.h | 91 struct ahash_alg ahash;
|
/drivers/crypto/allwinner/sun8i-ce/ |
D | sun8i-ce-hash.c | 25 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()
|
D | sun8i-ce.h | 333 struct ahash_alg hash;
|
/drivers/crypto/allwinner/sun8i-ss/ |
D | sun8i-ss-hash.c | 63 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()
|
D | sun8i-ss.h | 284 struct ahash_alg hash;
|
/drivers/crypto/caam/ |
D | caamhash.c | 1576 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 …]
|
D | caamalg_qi2.c | 4399 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/ |
D | n2_core.c | 258 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()
|
D | omap-sham.c | 183 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()
|
D | atmel-sha.c | 1254 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/ |
D | cc_hash.c | 73 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/ |
D | sun4i-ss-hash.c | 21 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()
|
D | sun4i-ss.h | 166 struct ahash_alg hash;
|
/drivers/crypto/rockchip/ |
D | rk3288_crypto.h | 244 struct ahash_alg hash;
|
/drivers/crypto/aspeed/ |
D | aspeed-hace.h | 279 struct ahash_alg ahash;
|
/drivers/crypto/amcc/ |
D | crypto4xx_core.h | 138 struct ahash_alg hash;
|
/drivers/crypto/bcm/ |
D | cipher.h | 109 struct ahash_alg hash;
|
/drivers/crypto/chelsio/ |
D | chcr_crypto.h | 320 struct ahash_alg hash;
|