projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8bc618d
)
crypto: skcipher - Fix driver name helper
author
Herbert Xu
<herbert@gondor.apana.org.au>
Mon, 1 Feb 2016 13:36:51 +0000
(21:36 +0800)
committer
Herbert Xu
<herbert@gondor.apana.org.au>
Sat, 6 Feb 2016 07:33:13 +0000
(15:33 +0800)
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>
include/crypto/skcipher.h
patch
|
blob
|
history
diff --git
a/include/crypto/skcipher.h
b/include/crypto/skcipher.h
index 5bb70565b13a3377361f154b4603607b7963efaf..905490c1da89b30ab1cf05b7a4aeaf1962e4e6ce 100644
(file)
--- 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));
}
/**