summaryrefslogtreecommitdiffstats
path: root/include/crypto
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2016-02-01 14:36:51 +0100
committerHerbert Xu <herbert@gondor.apana.org.au>2016-02-06 08:33:13 +0100
commit92b3cad3af31250a2b26d586f91c9962d626a7ed (patch)
tree97e717644375d91dcc6f8f3e08e2ba2455dfbe4e /include/crypto
parentcrypto: doc - Use ahash (diff)
downloadlinux-92b3cad3af31250a2b26d586f91c9962d626a7ed.tar.xz
linux-92b3cad3af31250a2b26d586f91c9962d626a7ed.zip
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>
Diffstat (limited to 'include/crypto')
-rw-r--r--include/crypto/skcipher.h2
1 files changed, 1 insertions, 1 deletions
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));
}
/**