On Thu, 20 Jun 2024 at 00:03, Steve French <smfrench@xxxxxxxxx> wrote: > > Was trying to see which driver was loaded by: > > crypto_alloc_shash(hmac(md5), ...); > > and it was confusing because it looked like there were at least five > drivers that export that cra_name (most presumably hardware specific), > so was wondering what is the "default" that would be chosen and how to > tell which of the five ended up being used. > You could check the cra_driver_name of the shash's underlying crypto_alg crypto_alloc_shash(hmac(md5), ...)->base.alg->cra_driver_name