aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/ah.h
diff options
context:
space:
mode:
authorNicolas Dichtel <nicolas.dichtel@6wind.com>2011-01-13 06:51:03 -0500
committerDavid S. Miller <davem@davemloft.net>2011-01-14 00:48:25 -0500
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 be7798dea6f4..ca95b98969dd 100644
--- a/include/net/ah.h
+++ b/include/net/ah.h
@@ -4,7 +4,7 @@
4#include <linux/skbuff.h> 4#include <linux/skbuff.h>
5 5
6/* This is the maximum truncated ICV length that we know of. */ 6/* This is the maximum truncated ICV length that we know of. */
7#define MAX_AH_AUTH_LEN 16 7#define MAX_AH_AUTH_LEN 64
8 8
9struct crypto_ahash; 9struct crypto_ahash;
10 10