diff options
author | Nicolas Dichtel <nicolas.dichtel@6wind.com> | 2011-01-11 03:06:19 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-01-11 17:03:10 -0500 |
commit | e44f391187495e0deaf7b9f0077e94f270837d1a (patch) | |
tree | 96f3f1b035cff852615a6b030cb560338af26d8d /include | |
parent | fa6dd8a2c89861d05621ce7e2880e485bec22fba (diff) |
ah: update maximum truncated ICV length
For SHA256, RFC4868 requires to truncate ICV length to 128 bits,
hence MAX_AH_AUTH_LEN should be updated to 16.
Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
-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 f0129f79a31a..be7798dea6f4 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 12 | 7 | #define MAX_AH_AUTH_LEN 16 |
8 | 8 | ||
9 | struct crypto_ahash; | 9 | struct crypto_ahash; |
10 | 10 | ||