projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3631c65
)
[CRYPTO] null: Allow setkey on digest_null
author
Herbert Xu
<herbert@gondor.apana.org.au>
Thu, 13 Dec 2007 16:28:40 +0000
(
00:28
+0800)
committer
Herbert Xu
<herbert@gondor.apana.org.au>
Thu, 10 Jan 2008 21:16:54 +0000
(08:16 +1100)
We need to allow setkey on digest_null if it is to be used directly by
authenc instead of through hmac.
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
crypto/crypto_null.c
patch
|
blob
|
blame
|
history
diff --git
a/crypto/crypto_null.c
b/crypto/crypto_null.c
index fc2d2a4d7789141eae7b344f32fe9da9c395e9ca..ff7b3de1bcfdb1bd81742367a5335a6717b0658e 100644
(file)
--- a/
crypto/crypto_null.c
+++ b/
crypto/crypto_null.c
@@
-98,6
+98,7
@@
static struct crypto_alg digest_null = {
.cra_list = LIST_HEAD_INIT(digest_null.cra_list),
.cra_u = { .digest = {
.dia_digestsize = NULL_DIGEST_SIZE,
+ .dia_setkey = null_setkey,
.dia_init = null_init,
.dia_update = null_update,
.dia_final = null_final } }