Home
last modified time | relevance | path

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

/linux-4.1.27/drivers/crypto/ccp/
Dccp-crypto.h47 struct ahash_alg alg;
62 struct ahash_alg *ahash_alg; in ccp_crypto_ahash_alg() local
64 ahash_alg = container_of(alg, struct ahash_alg, halg.base); in ccp_crypto_ahash_alg()
66 return container_of(ahash_alg, struct ccp_crypto_ahash_alg, alg); in ccp_crypto_ahash_alg()
Dccp-crypto-main.c349 struct ccp_crypto_ahash_alg *ahash_alg, *ahash_tmp; in ccp_unregister_algs() local
352 list_for_each_entry_safe(ahash_alg, ahash_tmp, &hash_algs, entry) { in ccp_unregister_algs()
353 crypto_unregister_ahash(&ahash_alg->alg); in ccp_unregister_algs()
354 list_del(&ahash_alg->entry); in ccp_unregister_algs()
355 kfree(ahash_alg); in ccp_unregister_algs()
Dccp-crypto-sha.c370 struct ahash_alg *alg; in ccp_register_hmac_alg()
414 struct ahash_alg *alg; in ccp_register_sha_alg()
Dccp-crypto-aes-cmac.c355 struct ahash_alg *alg; in ccp_register_aes_cmac_algs()
/linux-4.1.27/include/crypto/internal/
Dhash.h38 struct ahash_alg alg;
80 int crypto_register_ahash(struct ahash_alg *alg);
81 int crypto_unregister_ahash(struct ahash_alg *alg);
136 static inline struct ahash_alg *__crypto_ahash_alg(struct crypto_alg *alg) in __crypto_ahash_alg()
138 return container_of(__crypto_hash_alg_common(alg), struct ahash_alg, in __crypto_ahash_alg()
167 return sizeof(struct ahash_alg) - sizeof(struct crypto_alg); in ahash_instance_headroom()
/linux-4.1.27/drivers/crypto/qce/
Dsha.h73 struct ahash_alg *alg = container_of(crypto_hash_alg_common(ahash), in to_ahash_tmpl()
74 struct ahash_alg, halg); in to_ahash_tmpl()
Dcommon.h91 struct ahash_alg ahash;
Dsha.c503 struct ahash_alg *alg; in qce_ahash_register_one()
/linux-4.1.27/crypto/
Dahash.c37 static inline struct ahash_alg *crypto_ahash_alg(struct crypto_ahash *hash) in crypto_ahash_alg()
39 return container_of(crypto_hash_alg_common(hash), struct ahash_alg, in crypto_ahash_alg()
452 struct ahash_alg *alg = crypto_ahash_alg(hash); in crypto_ahash_init_tfm()
546 static int ahash_prepare_alg(struct ahash_alg *alg) in ahash_prepare_alg()
562 int crypto_register_ahash(struct ahash_alg *alg) in crypto_register_ahash()
575 int crypto_unregister_ahash(struct ahash_alg *alg) in crypto_unregister_ahash()
Dgcm.c706 struct ahash_alg *ghash_ahash_alg; in crypto_gcm_alloc_common()
729 ghash_ahash_alg = container_of(ghash_alg, struct ahash_alg, halg.base); in crypto_gcm_alloc_common()
/linux-4.1.27/drivers/crypto/caam/
Dcaamhash.c1605 struct ahash_alg template_ahash;
1745 struct ahash_alg ahash_alg; member
1754 struct ahash_alg *alg = in caam_hash_cra_init()
1755 container_of(halg, struct ahash_alg, halg); in caam_hash_cra_init()
1757 container_of(alg, struct caam_hash_alg, ahash_alg); in caam_hash_cra_init()
1831 crypto_unregister_ahash(&t_alg->ahash_alg); in caam_algapi_hash_exit()
1842 struct ahash_alg *halg; in caam_hash_alloc()
1851 t_alg->ahash_alg = template->template_ahash; in caam_hash_alloc()
1852 halg = &t_alg->ahash_alg; in caam_hash_alloc()
1930 err = crypto_register_ahash(&t_alg->ahash_alg); in caam_algapi_hash_init()
[all …]
/linux-4.1.27/drivers/crypto/
Dn2_core.c250 struct ahash_alg alg;
256 struct ahash_alg *ahash_alg; in n2_ahash_alg() local
258 ahash_alg = container_of(alg, struct ahash_alg, halg.base); in n2_ahash_alg()
260 return container_of(ahash_alg, struct n2_ahash_alg, alg); in n2_ahash_alg()
271 struct ahash_alg *ahash_alg; in n2_hmac_alg() local
273 ahash_alg = container_of(alg, struct ahash_alg, halg.base); in n2_hmac_alg()
275 return container_of(ahash_alg, struct n2_hmac_alg, derived.alg); in n2_hmac_alg()
1427 struct ahash_alg *ahash; in __n2_register_one_hmac()
1467 struct ahash_alg *ahash; in __n2_register_one_ahash()
Datmel-sha.c992 static struct ahash_alg sha_1_256_algs[] = {
1037 static struct ahash_alg sha_224_alg = {
1059 static struct ahash_alg sha_384_512_algs[] = {
Dmxs-dcp.c831 static struct ahash_alg dcp_sha1_alg = {
855 static struct ahash_alg dcp_sha256_alg = {
Domap-sham.c180 struct ahash_alg *algs_list;
1316 static struct ahash_alg algs_sha1_md5[] = {
1416 static struct ahash_alg algs_sha224_sha256[] = {
1511 static struct ahash_alg algs_sha384_sha512[] = {
Dmv_cesa.c973 static struct ahash_alg mv_sha1_alg = {
997 static struct ahash_alg mv_hmac_sha1_alg = {
Dbfin_crc.c504 static struct ahash_alg algs = {
Dsahara.c1317 static struct ahash_alg sha_v3_algs[] = {
1344 static struct ahash_alg sha_v4_algs[] = {
Dimg-hash.c708 static struct ahash_alg img_algs[] = {
Dtalitos.c1913 struct ahash_alg hash;
/linux-4.1.27/drivers/crypto/amcc/
Dcrypto4xx_core.h147 struct ahash_alg hash;
/linux-4.1.27/arch/arm/crypto/
Dghash-ce-glue.c271 static struct ahash_alg ghash_async_alg = {
/linux-4.1.27/include/crypto/
Dhash.h123 struct ahash_alg { struct
/linux-4.1.27/arch/x86/crypto/
Dghash-clmulni-intel_glue.c285 static struct ahash_alg ghash_async_alg = {
/linux-4.1.27/arch/x86/crypto/sha-mb/
Dsha1_mb.c796 static struct ahash_alg sha1_mb_async_alg = {
/linux-4.1.27/drivers/crypto/ux500/hash/
Dhash_core.c1492 struct ahash_alg hash;