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

/linux-4.1.27/drivers/crypto/ccp/
H A Dccp-crypto.h47 struct ahash_alg alg;
62 struct ahash_alg *ahash_alg; ccp_crypto_ahash_alg() local
64 ahash_alg = container_of(alg, struct ahash_alg, halg.base); ccp_crypto_ahash_alg()
66 return container_of(ahash_alg, struct ccp_crypto_ahash_alg, alg); ccp_crypto_ahash_alg()
H A Dccp-crypto-main.c349 struct ccp_crypto_ahash_alg *ahash_alg, *ahash_tmp; ccp_unregister_algs() local
352 list_for_each_entry_safe(ahash_alg, ahash_tmp, &hash_algs, entry) { ccp_unregister_algs()
353 crypto_unregister_ahash(&ahash_alg->alg); ccp_unregister_algs()
354 list_del(&ahash_alg->entry); ccp_unregister_algs()
355 kfree(ahash_alg); ccp_unregister_algs()
H A Dccp-crypto-sha.c370 struct ahash_alg *alg; ccp_register_hmac_alg()
414 struct ahash_alg *alg; ccp_register_sha_alg()
H A Dccp-crypto-aes-cmac.c355 struct ahash_alg *alg; ccp_register_aes_cmac_algs()
/linux-4.1.27/include/crypto/internal/
H A 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) __crypto_ahash_alg()
138 return container_of(__crypto_hash_alg_common(alg), struct ahash_alg, __crypto_ahash_alg()
167 return sizeof(struct ahash_alg) - sizeof(struct crypto_alg); ahash_instance_headroom()
/linux-4.1.27/drivers/crypto/qce/
H A Dsha.h73 struct ahash_alg *alg = container_of(crypto_hash_alg_common(ahash), to_ahash_tmpl()
74 struct ahash_alg, halg); to_ahash_tmpl()
H A Dcommon.h91 struct ahash_alg ahash;
H A Dsha.c503 struct ahash_alg *alg; qce_ahash_register_one()
/linux-4.1.27/crypto/
H A Dahash.c37 static inline struct ahash_alg *crypto_ahash_alg(struct crypto_ahash *hash) crypto_ahash_alg()
39 return container_of(crypto_hash_alg_common(hash), struct ahash_alg, crypto_ahash_alg()
452 struct ahash_alg *alg = crypto_ahash_alg(hash); crypto_ahash_init_tfm()
546 static int ahash_prepare_alg(struct ahash_alg *alg) ahash_prepare_alg()
562 int crypto_register_ahash(struct ahash_alg *alg) crypto_register_ahash()
575 int crypto_unregister_ahash(struct ahash_alg *alg) crypto_unregister_ahash()
H A Dgcm.c706 struct ahash_alg *ghash_ahash_alg; crypto_gcm_alloc_common()
729 ghash_ahash_alg = container_of(ghash_alg, struct ahash_alg, halg.base); crypto_gcm_alloc_common()
/linux-4.1.27/include/crypto/
H A Dhash.h67 * struct ahash_alg - asynchronous message digest definition
123 struct ahash_alg { struct
151 * @init: see struct ahash_alg
152 * @update: see struct ahash_alg
153 * @final: see struct ahash_alg
154 * @finup: see struct ahash_alg
155 * @digest: see struct ahash_alg
156 * @export: see struct ahash_alg
157 * @import: see struct ahash_alg
158 * @setkey: see struct ahash_alg
159 * @digestsize: see struct ahash_alg
160 * @statesize: see struct ahash_alg
/linux-4.1.27/drivers/crypto/
H A Dn2_core.c250 struct ahash_alg alg;
256 struct ahash_alg *ahash_alg; n2_ahash_alg() local
258 ahash_alg = container_of(alg, struct ahash_alg, halg.base); n2_ahash_alg()
260 return container_of(ahash_alg, struct n2_ahash_alg, alg); n2_ahash_alg()
271 struct ahash_alg *ahash_alg; n2_hmac_alg() local
273 ahash_alg = container_of(alg, struct ahash_alg, halg.base); n2_hmac_alg()
275 return container_of(ahash_alg, struct n2_hmac_alg, derived.alg); n2_hmac_alg()
1427 struct ahash_alg *ahash; __n2_register_one_hmac()
1467 struct ahash_alg *ahash; __n2_register_one_ahash()
H A Dmxs-dcp.c831 static struct ahash_alg dcp_sha1_alg = {
855 static struct ahash_alg dcp_sha256_alg = {
H A 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[] = {
H A 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[] = {
H A Dmv_cesa.c973 static struct ahash_alg mv_sha1_alg = {
997 static struct ahash_alg mv_hmac_sha1_alg = {
H A Dbfin_crc.c504 static struct ahash_alg algs = {
H A Dimg-hash.c708 static struct ahash_alg img_algs[] = {
H A Dsahara.c1317 static struct ahash_alg sha_v3_algs[] = {
1344 static struct ahash_alg sha_v4_algs[] = {
H A Dtalitos.c1913 struct ahash_alg hash;
/linux-4.1.27/drivers/crypto/caam/
H A Dcaamhash.c1605 struct ahash_alg template_ahash;
1745 struct ahash_alg ahash_alg; member in struct:caam_hash_alg
1754 struct ahash_alg *alg = caam_hash_cra_init()
1755 container_of(halg, struct ahash_alg, halg); caam_hash_cra_init()
1757 container_of(alg, struct caam_hash_alg, ahash_alg); caam_hash_cra_init()
1831 crypto_unregister_ahash(&t_alg->ahash_alg); caam_algapi_hash_exit()
1842 struct ahash_alg *halg; caam_hash_alloc()
1851 t_alg->ahash_alg = template->template_ahash; caam_hash_alloc()
1852 halg = &t_alg->ahash_alg; caam_hash_alloc()
1930 err = crypto_register_ahash(&t_alg->ahash_alg); caam_algapi_hash_init()
1933 t_alg->ahash_alg.halg.base.cra_driver_name); caam_algapi_hash_init()
1947 err = crypto_register_ahash(&t_alg->ahash_alg); caam_algapi_hash_init()
1950 t_alg->ahash_alg.halg.base.cra_driver_name); caam_algapi_hash_init()
/linux-4.1.27/drivers/crypto/amcc/
H A Dcrypto4xx_core.h147 struct ahash_alg hash;
/linux-4.1.27/arch/x86/crypto/
H A Dghash-clmulni-intel_glue.c285 static struct ahash_alg ghash_async_alg = {
/linux-4.1.27/arch/arm/crypto/
H A Dghash-ce-glue.c271 static struct ahash_alg ghash_async_alg = {
/linux-4.1.27/arch/x86/crypto/sha-mb/
H A Dsha1_mb.c796 static struct ahash_alg sha1_mb_async_alg = {
/linux-4.1.27/drivers/crypto/ux500/hash/
H A Dhash_core.c1492 struct ahash_alg hash;

Completed in 574 milliseconds