From 92b3cad3af31250a2b26d586f91c9962d626a7ed Mon Sep 17 00:00:00 2001 From: Herbert Xu Date: Mon, 1 Feb 2016 21:36:51 +0800 Subject: 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 --- include/crypto/skcipher.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/crypto/skcipher.h') diff --git a/include/crypto/skcipher.h b/include/crypto/skcipher.h index 5bb70565b13a..905490c1da89 100644 --- a/include/crypto/skcipher.h +++ b/include/crypto/skcipher.h @@ -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)); } /** -- cgit v1.2.3-55-g7522