From: Nicolas Dichtel Date: Thu, 13 Jan 2011 11:51:03 +0000 (+0000) Subject: ipsec: update MAX_AH_AUTH_LEN to support sha512 X-Git-Tag: v2.6.38-rc1~50^2~19 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=78d07369462e9feeaa5db301b0aa70e9dcb40b48;p=platform%2Fkernel%2Flinux-exynos.git 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 Signed-off-by: David S. Miller --- diff --git a/include/net/ah.h b/include/net/ah.h index be7798d..ca95b98 100644 --- a/include/net/ah.h +++ b/include/net/ah.h @@ -4,7 +4,7 @@ #include /* 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;