ah: update maximum truncated ICV length
Subsystems (2)
PATCH 1/1 ah: update maximum truncated ICV length
Hi,
patch is enclosed.
Regards,
Nicolas
Quoted 1 line
From
2ca463cf672f000d37a0aaa5e3d3738b50661926Mon Sep 17 00:00:00 2001
From: Nicolas Dichtel <[email protected]>
Date: Thu, 23 Dec 2010 09:52:21 -0500
Subject: [PATCH] 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.
--- include/net/ah.h | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
include/net/ah.h +1 -1
@@ -4,7 +4,7 @@#include <linux/skbuff.h> /* This is the maximum truncated ICV length that we know of. */ -#define MAX_AH_AUTH_LEN 12 +#define MAX_AH_AUTH_LEN 16struct crypto_ahash ;
Signature · 1 line
1.7.3.4
From: Nicolas Dichtel <[email protected]>
Date: Tue, 11 Jan 2011 19:06:19 +0100
Quoted 9 lines
Quoted 1 line
From
2ca463cf672f000d37a0aaa5e3d3738b50661926Mon Sep 17 00:00:00 2001From: Nicolas Dichtel <[email protected]>
Date: Thu, 23 Dec 2010 09:52:21 -0500
Subject: [PATCH] ah: update maximum truncated ICV lengthFor SHA256, RFC4868 requires to truncate ICV length to 128 bits, hence
MAX_AH_AUTH_LENshould be updated to 16.Signed-off-by Nicolas Dichtel <[email protected]>
Applied.