mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2025-01-01 18:55:12 +00:00
crypto: skcipher - Fix driver name helper
The helper crypto_skcipher_driver_name was returning the alg name and not the driver name. Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
This commit is contained in:
parent
8bc618d6a2
commit
92b3cad3af
@ -234,7 +234,7 @@ static inline int crypto_has_skcipher(const char *alg_name, u32 type,
|
||||
static inline const char *crypto_skcipher_driver_name(
|
||||
struct crypto_skcipher *tfm)
|
||||
{
|
||||
return crypto_tfm_alg_name(crypto_skcipher_tfm(tfm));
|
||||
return crypto_tfm_alg_driver_name(crypto_skcipher_tfm(tfm));
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user