/linux-4.1.27/drivers/crypto/ccp/ |
H A D | ccp-crypto.h | 47 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 D | ccp-crypto-main.c | 349 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 D | ccp-crypto-sha.c | 370 struct ahash_alg *alg; ccp_register_hmac_alg() 414 struct ahash_alg *alg; ccp_register_sha_alg()
|
H A D | ccp-crypto-aes-cmac.c | 355 struct ahash_alg *alg; ccp_register_aes_cmac_algs()
|
/linux-4.1.27/include/crypto/internal/ |
H A D | hash.h | 38 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 D | sha.h | 73 struct ahash_alg *alg = container_of(crypto_hash_alg_common(ahash), to_ahash_tmpl() 74 struct ahash_alg, halg); to_ahash_tmpl()
|
H A D | common.h | 91 struct ahash_alg ahash;
|
H A D | sha.c | 503 struct ahash_alg *alg; qce_ahash_register_one()
|
/linux-4.1.27/crypto/ |
H A D | ahash.c | 37 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 D | gcm.c | 706 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 D | hash.h | 67 * 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 D | n2_core.c | 250 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 D | mxs-dcp.c | 831 static struct ahash_alg dcp_sha1_alg = { 855 static struct ahash_alg dcp_sha256_alg = {
|
H A D | omap-sham.c | 180 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 D | atmel-sha.c | 992 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 D | mv_cesa.c | 973 static struct ahash_alg mv_sha1_alg = { 997 static struct ahash_alg mv_hmac_sha1_alg = {
|
H A D | bfin_crc.c | 504 static struct ahash_alg algs = {
|
H A D | img-hash.c | 708 static struct ahash_alg img_algs[] = {
|
H A D | sahara.c | 1317 static struct ahash_alg sha_v3_algs[] = { 1344 static struct ahash_alg sha_v4_algs[] = {
|
H A D | talitos.c | 1913 struct ahash_alg hash;
|
/linux-4.1.27/drivers/crypto/caam/ |
H A D | caamhash.c | 1605 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 D | crypto4xx_core.h | 147 struct ahash_alg hash;
|
/linux-4.1.27/arch/x86/crypto/ |
H A D | ghash-clmulni-intel_glue.c | 285 static struct ahash_alg ghash_async_alg = {
|
/linux-4.1.27/arch/arm/crypto/ |
H A D | ghash-ce-glue.c | 271 static struct ahash_alg ghash_async_alg = {
|
/linux-4.1.27/arch/x86/crypto/sha-mb/ |
H A D | sha1_mb.c | 796 static struct ahash_alg sha1_mb_async_alg = {
|
/linux-4.1.27/drivers/crypto/ux500/hash/ |
H A D | hash_core.c | 1492 struct ahash_alg hash;
|