diff options
author | Nicolas Dichtel <nicolas.dichtel@6wind.com> | 2011-01-13 12:51:03 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-01-14 06:48:25 +0100 |
commit | 78d07369462e9feeaa5db301b0aa70e9dcb40b48 (patch) | |
tree | 8756347993a87a302df4f731ab59dc97ca3a5720 | |
parent | net: remove dev_txq_stats_fold() (diff) | |
download | linux-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.h | 2 |
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; |