Home
last modified time | relevance | path

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

/arch/s390/crypto/
A Dhmac_s390.c377 struct s390_hmac_alg *hmac; in _s390_hmac_algs_unregister() local
381 hmac = &s390_hmac_algs[i]; in _s390_hmac_algs_unregister()
382 if (!hmac->registered) in _s390_hmac_algs_unregister()
384 crypto_unregister_shash(&hmac->alg); in _s390_hmac_algs_unregister()
390 struct s390_hmac_alg *hmac; in hmac_s390_init() local
399 hmac = &s390_hmac_algs[i]; in hmac_s390_init()
400 if (!cpacf_query_func(CPACF_KMAC, hmac->fc)) in hmac_s390_init()
403 rc = crypto_register_shash(&hmac->alg); in hmac_s390_init()
406 hmac->alg.halg.base.cra_name); in hmac_s390_init()
409 hmac->registered = true; in hmac_s390_init()
[all …]

Completed in 4 milliseconds