/linux-6.1.9/include/crypto/internal/ |
D | hash.h | 36 char head[offsetof(struct ahash_alg, halg.base)]; 39 struct ahash_alg alg; 71 int crypto_register_ahash(struct ahash_alg *alg); 72 void crypto_unregister_ahash(struct ahash_alg *alg); 73 int crypto_register_ahashes(struct ahash_alg *algs, int count); 74 void crypto_unregister_ahashes(struct ahash_alg *algs, int count); 137 static inline struct ahash_alg *__crypto_ahash_alg(struct crypto_alg *alg) in __crypto_ahash_alg() 139 return container_of(__crypto_hash_alg_common(alg), struct ahash_alg, in __crypto_ahash_alg()
|
/linux-6.1.9/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()
|
/linux-6.1.9/crypto/ |
D | ahash.c | 35 static inline struct ahash_alg *crypto_ahash_alg(struct crypto_ahash *hash) in crypto_ahash_alg() 37 return container_of(crypto_hash_alg_common(hash), struct ahash_alg, in crypto_ahash_alg() 450 struct ahash_alg *alg = crypto_ahash_alg(hash); in crypto_ahash_exit_tfm() 458 struct ahash_alg *alg = crypto_ahash_alg(hash); in crypto_ahash_init_tfm() 568 static int ahash_prepare_alg(struct ahash_alg *alg) in ahash_prepare_alg() 584 int crypto_register_ahash(struct ahash_alg *alg) in crypto_register_ahash() 597 void crypto_unregister_ahash(struct ahash_alg *alg) in crypto_unregister_ahash() 603 int crypto_register_ahashes(struct ahash_alg *algs, int count) in crypto_register_ahashes() 623 void crypto_unregister_ahashes(struct ahash_alg *algs, int count) in crypto_unregister_ahashes()
|
/linux-6.1.9/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;
|
/linux-6.1.9/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[] = {
|
/linux-6.1.9/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;
|
/linux-6.1.9/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;
|
/linux-6.1.9/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 | 4398 struct ahash_alg template_ahash; 4537 struct ahash_alg ahash_alg; member 4546 struct ahash_alg *alg = in caam_hash_cra_init() 4547 container_of(halg, struct ahash_alg, halg); in caam_hash_cra_init() 4549 container_of(alg, struct caam_hash_alg, ahash_alg); in caam_hash_cra_init() 4623 struct ahash_alg *halg; in caam_hash_alloc() 4630 t_alg->ahash_alg = template->template_ahash; in caam_hash_alloc() 4631 halg = &t_alg->ahash_alg; in caam_hash_alloc() 4644 t_alg->ahash_alg.setkey = NULL; in caam_hash_alloc() 5346 err = crypto_register_ahash(&t_alg->ahash_alg); in dpaa2_caam_probe() [all …]
|
/linux-6.1.9/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()
|
/linux-6.1.9/Documentation/crypto/ |
D | api-digest.rst | 8 :functions: hash_alg_common ahash_alg shash_alg
|
D | devel-algos.rst | 151 int crypto_register_ahash(struct ahash_alg *alg); 162 void crypto_unregister_ahash(struct ahash_alg *alg); 168 Cipher Definition With struct shash_alg and ahash_alg
|
/linux-6.1.9/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 …]
|
/linux-6.1.9/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;
|
/linux-6.1.9/drivers/crypto/aspeed/ |
D | aspeed-hace.h | 279 struct ahash_alg ahash;
|
/linux-6.1.9/drivers/crypto/rockchip/ |
D | rk3288_crypto.h | 244 struct ahash_alg hash;
|
/linux-6.1.9/drivers/crypto/amcc/ |
D | crypto4xx_core.h | 138 struct ahash_alg hash;
|