summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNicolas Dichtel <nicolas.dichtel@6wind.com>2011-01-13 12:51:03 +0100
committerDavid S. Miller <davem@davemloft.net>2011-01-14 06:48:25 +0100
commit78d07369462e9feeaa5db301b0aa70e9dcb40b48 (patch)
tree8756347993a87a302df4f731ab59dc97ca3a5720
parentnet: remove dev_txq_stats_fold() (diff)
downloadlinux-78d07369462e9feeaa5db301b0aa70e9dcb40b48.tar.xz
linux-78d07369462e9feeaa5db301b0aa70e9dcb40b48.zip
ipsec: update MAX_AH_AUTH_LEN to support sha512
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>
-rw-r--r--include/net/ah.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/ah.h b/include/net/ah.h
index be7798dea6f4..ca95b98969dd 100644
--- 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;