Lines Matching refs:hmac
309 struct s390_hmac_alg *hmac; in _s390_hmac_algs_unregister() local
313 hmac = &s390_hmac_algs[i]; in _s390_hmac_algs_unregister()
314 if (!hmac->registered) in _s390_hmac_algs_unregister()
316 crypto_unregister_shash(&hmac->alg); in _s390_hmac_algs_unregister()
322 struct s390_hmac_alg *hmac; in hmac_s390_init() local
331 hmac = &s390_hmac_algs[i]; in hmac_s390_init()
332 if (!cpacf_query_func(CPACF_KMAC, hmac->fc)) in hmac_s390_init()
335 rc = crypto_register_shash(&hmac->alg); in hmac_s390_init()
338 hmac->alg.halg.base.cra_name); in hmac_s390_init()
341 hmac->registered = true; in hmac_s390_init()
342 pr_debug("registered %s\n", hmac->alg.halg.base.cra_name); in hmac_s390_init()