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:
1ac9ad1
)
ipsec: update MAX_AH_AUTH_LEN to support sha512
author
Nicolas Dichtel
<nicolas.dichtel@6wind.com>
Thu, 13 Jan 2011 11:51:03 +0000
(11:51 +0000)
committer
David S. Miller
<davem@davemloft.net>
Fri, 14 Jan 2011 05:48:25 +0000
(21:48 -0800)
icv_truncbits is set to 256 for sha512, so update
MAX_AH_AUTH_LEN to 64.
Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/ah.h
patch
|
blob
|
blame
|
history
diff --git
a/include/net/ah.h
b/include/net/ah.h
index be7798dea6f45c5841c8806a4751995c3fc13374..ca95b98969ddf21860590e8252f7ad8a53f690b4 100644
(file)
--- a/
include/net/ah.h
+++ b/
include/net/ah.h
@@
-4,7
+4,7
@@
#include <linux/skbuff.h>
/* This is the maximum truncated ICV length that we know of. */
-#define MAX_AH_AUTH_LEN
16
+#define MAX_AH_AUTH_LEN
64
struct crypto_ahash;