Home
last modified time | relevance | path

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

12

/linux/include/crypto/internal/
A Dhash.h36 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/drivers/crypto/ccp/
A 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()
A 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()
A Dccp-crypto-sha.c416 struct ahash_alg *alg; in ccp_register_hmac_alg()
460 struct ahash_alg *alg; in ccp_register_sha_alg()
/linux/crypto/
A Dahash.c35 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/drivers/crypto/marvell/cesa/
A 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;
A 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 = {
A Dcesa.c241 static struct ahash_alg *orion_ahash_algs[] = {
257 static struct ahash_alg *armada_370_ahash_algs[] = {
/linux/drivers/crypto/qce/
A 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()
A Dcommon.h91 struct ahash_alg ahash;
/linux/drivers/crypto/allwinner/sun8i-ce/
A Dsun8i-ce-hash.c24 struct ahash_alg *alg = __crypto_ahash_alg(tfm->__crt_alg); in sun8i_ce_hash_crainit()
117 struct ahash_alg *alg = __crypto_ahash_alg(tfm->base.__crt_alg); in sun8i_ce_hash_final()
155 struct ahash_alg *alg = __crypto_ahash_alg(tfm->base.__crt_alg); in sun8i_ce_hash_finup()
180 struct ahash_alg *alg = __crypto_ahash_alg(tfm->base.__crt_alg); in sun8i_ce_hash_digest_fb()
220 struct ahash_alg *alg = __crypto_ahash_alg(tfm->base.__crt_alg); in sun8i_ce_hash_digest()
254 struct ahash_alg *alg = __crypto_ahash_alg(tfm->base.__crt_alg); in sun8i_ce_hash_run()
A Dsun8i-ce.h332 struct ahash_alg hash;
/linux/drivers/crypto/allwinner/sun8i-ss/
A Dsun8i-ss-hash.c24 struct ahash_alg *alg = __crypto_ahash_alg(tfm->__crt_alg); in sun8i_ss_hash_crainit()
117 struct ahash_alg *alg = __crypto_ahash_alg(tfm->base.__crt_alg); in sun8i_ss_hash_final()
155 struct ahash_alg *alg = __crypto_ahash_alg(tfm->base.__crt_alg); in sun8i_ss_hash_finup()
180 struct ahash_alg *alg = __crypto_ahash_alg(tfm->base.__crt_alg); in sun8i_ss_hash_digest_fb()
285 struct ahash_alg *alg = __crypto_ahash_alg(tfm->base.__crt_alg); in sun8i_ss_hash_digest()
322 struct ahash_alg *alg = __crypto_ahash_alg(tfm->base.__crt_alg); in sun8i_ss_hash_run()
A Dsun8i-ss.h270 struct ahash_alg hash;
/linux/drivers/crypto/caam/
A Dcaamhash.c1573 struct ahash_alg template_ahash;
1749 struct ahash_alg ahash_alg; member
1758 struct ahash_alg *alg = in caam_hash_cra_init()
1759 container_of(halg, struct ahash_alg, halg); in caam_hash_cra_init()
1887 crypto_unregister_ahash(&t_alg->ahash_alg); in caam_algapi_hash_exit()
1898 struct ahash_alg *halg; in caam_hash_alloc()
1907 t_alg->ahash_alg = template->template_ahash; in caam_hash_alloc()
1908 halg = &t_alg->ahash_alg; in caam_hash_alloc()
1921 t_alg->ahash_alg.setkey = NULL; in caam_hash_alloc()
1995 t_alg->ahash_alg.halg.base.cra_driver_name, in caam_algapi_hash_init()
[all …]
A Dcaamalg_qi2.c4398 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()
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()
5345 err = crypto_register_ahash(&t_alg->ahash_alg); in dpaa2_caam_probe()
5348 t_alg->ahash_alg.halg.base.cra_driver_name, in dpaa2_caam_probe()
[all …]
/linux/drivers/crypto/
A 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()
1363 struct ahash_alg *ahash; in __n2_register_one_hmac()
1403 struct ahash_alg *ahash; in __n2_register_one_ahash()
/linux/drivers/crypto/ccree/
A 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 …]
/linux/drivers/crypto/allwinner/sun4i-ss/
A 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()
A Dsun4i-ss.h166 struct ahash_alg hash;
/linux/Documentation/crypto/
A Dapi-digest.rst8 :functions: hash_alg_common ahash_alg shash_alg
A Ddevel-algos.rst151 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/drivers/crypto/rockchip/
A Drk3288_crypto.h263 struct ahash_alg hash;
/linux/drivers/crypto/amcc/
A Dcrypto4xx_core.h138 struct ahash_alg hash;
/linux/drivers/crypto/chelsio/
A Dchcr_crypto.h320 struct ahash_alg hash;

Completed in 51 milliseconds

12