diff options
author | Herbert Xu <herbert@gondor.apana.org.au> | 2016-02-01 14:36:51 +0100 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2016-02-06 08:33:13 +0100 |
commit | 92b3cad3af31250a2b26d586f91c9962d626a7ed (patch) | |
tree | 97e717644375d91dcc6f8f3e08e2ba2455dfbe4e /include/crypto | |
parent | crypto: doc - Use ahash (diff) | |
download | linux-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.h | 2 |
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)); } /** |