summaryrefslogtreecommitdiff
path: root/include/crypto/skcipher.h
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2016-02-01 21:36:51 +0800
committerHerbert Xu <herbert@gondor.apana.org.au>2016-02-06 15:33:13 +0800
commit92b3cad3af31250a2b26d586f91c9962d626a7ed (patch)
tree97e717644375d91dcc6f8f3e08e2ba2455dfbe4e /include/crypto/skcipher.h
parent8bc618d6a2e05f8f4d26d46b63d19ddfdcba7869 (diff)
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/skcipher.h')
-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));
}
/**