aboutsummaryrefslogtreecommitdiff
path: root/include/net/ah.h
diff options
context:
space:
mode:
authorNicolas Dichtel <nicolas.dichtel@6wind.com>2011-01-13 11:51:03 +0000
committerDavid S. Miller <davem@davemloft.net>2011-01-13 21:48:25 -0800
commit78d07369462e9feeaa5db301b0aa70e9dcb40b48 (patch)
tree8756347993a87a302df4f731ab59dc97ca3a5720 /include/net/ah.h
parent1ac9ad1394fa542ac7ae0dc943ee3cda678799fa (diff)
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>
Diffstat (limited to 'include/net/ah.h')
-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 be7798dea6f..ca95b98969d 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;