Home
last modified time | relevance | path

Searched refs:ghash_alg (Results 1 – 6 of 6) sorted by relevance

/Linux-v5.4/crypto/
Dghash-generic.c152 static struct shash_alg ghash_alg = { variable
172 return crypto_register_shash(&ghash_alg); in ghash_mod_init()
177 crypto_unregister_shash(&ghash_alg); in ghash_mod_exit()
Dgcm.c590 struct crypto_alg *ghash_alg; in crypto_gcm_create_common() local
602 ghash_alg = crypto_find_alg(ghash_name, &crypto_ahash_type, in crypto_gcm_create_common()
607 if (IS_ERR(ghash_alg)) in crypto_gcm_create_common()
608 return PTR_ERR(ghash_alg); in crypto_gcm_create_common()
610 ghash = __crypto_hash_alg_common(ghash_alg); in crypto_gcm_create_common()
651 ghash_alg->cra_driver_name) >= in crypto_gcm_create_common()
680 crypto_mod_put(ghash_alg); in crypto_gcm_create_common()
/Linux-v5.4/arch/s390/crypto/
Dghash_s390.c120 static struct shash_alg ghash_alg = { variable
142 return crypto_register_shash(&ghash_alg); in ghash_mod_init()
147 crypto_unregister_shash(&ghash_alg); in ghash_mod_exit()
/Linux-v5.4/arch/arm64/crypto/
Dghash-ce-glue.c261 static struct shash_alg ghash_alg[] = {{ variable
701 ret = crypto_register_shashes(ghash_alg, in ghash_ce_mod_init()
702 ARRAY_SIZE(ghash_alg)); in ghash_ce_mod_init()
705 ret = crypto_register_shash(ghash_alg); in ghash_ce_mod_init()
713 crypto_unregister_shashes(ghash_alg, in ghash_ce_mod_init()
714 ARRAY_SIZE(ghash_alg)); in ghash_ce_mod_init()
722 crypto_unregister_shashes(ghash_alg, ARRAY_SIZE(ghash_alg)); in ghash_ce_mod_exit()
724 crypto_unregister_shash(ghash_alg); in ghash_ce_mod_exit()
/Linux-v5.4/arch/x86/crypto/
Dghash-clmulni-intel_glue.c144 static struct shash_alg ghash_alg = { variable
335 err = crypto_register_shash(&ghash_alg); in ghash_pclmulqdqni_mod_init()
345 crypto_unregister_shash(&ghash_alg); in ghash_pclmulqdqni_mod_init()
353 crypto_unregister_shash(&ghash_alg); in ghash_pclmulqdqni_mod_exit()
/Linux-v5.4/arch/arm/crypto/
Dghash-ce-glue.c188 static struct shash_alg ghash_alg = { variable
369 err = crypto_register_shash(&ghash_alg); in ghash_ce_mod_init()
379 crypto_unregister_shash(&ghash_alg); in ghash_ce_mod_init()
386 crypto_unregister_shash(&ghash_alg); in ghash_ce_mod_exit()