projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.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
|
blame
|
history
diff --git
a/include/net/ah.h
b/include/net/ah.h
index f0129f79a31a16a57639856953d8f09d62e8d1a2..be7798dea6f45c5841c8806a4751995c3fc13374 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;