projects
/
profile
/
common
/
kernel-common.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fa6dd8a
)
ah: update maximum truncated ICV length
author
Nicolas Dichtel
<nicolas.dichtel@6wind.com>
Tue, 11 Jan 2011 08:06:19 +0000
(08:06 +0000)
committer
David S. Miller
<davem@davemloft.net>
Tue, 11 Jan 2011 22:03:10 +0000
(14:03 -0800)
For SHA256, RFC4868 requires to truncate ICV length to 128 bits,
hence MAX_AH_AUTH_LEN should be updated to 16.
Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/ah.h
patch
|
blob
|
history
diff --git
a/include/net/ah.h
b/include/net/ah.h
index
f0129f7
..
be7798d
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 1
2
+#define MAX_AH_AUTH_LEN 1
6
struct crypto_ahash;