Home
last modified time | relevance | path

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

/linux/arch/s390/crypto/
H A Dphmac_s390.c996 struct phmac_alg *phmac; in s390_phmac_exit() local
1005 phmac = &phmac_algs[i]; in s390_phmac_exit()
1006 if (phmac->registered) in s390_phmac_exit()
1007 crypto_engine_unregister_ahash(&phmac->alg); in s390_phmac_exit()
1015 struct phmac_alg *phmac; in s390_phmac_init() local
1045 phmac = &phmac_algs[i]; in s390_phmac_init()
1046 if (!cpacf_query_func(CPACF_KMAC, phmac->fc)) in s390_phmac_init()
1048 rc = crypto_engine_register_ahash(&phmac->alg); in s390_phmac_init()
1051 phmac->registered = true; in s390_phmac_init()
1052 pr_debug("%s registered\n", phmac->alg.base.halg.base.cra_name); in s390_phmac_init()