* [PATCH] ah: update maximum truncated ICV length
@ 2011-01-11 18:06 Nicolas Dichtel
2011-01-11 22:05 ` David Miller
0 siblings, 1 reply; 2+ messages in thread
From: Nicolas Dichtel @ 2011-01-11 18:06 UTC (permalink / raw)
To: netdev
[-- Attachment #1: Type: text/plain, Size: 43 bytes --]
Hi,
patch is enclosed.
Regards,
Nicolas
[-- Attachment #2: 0001-ah-update-maximum-truncated-ICV-length.patch --]
[-- Type: text/x-patch, Size: 803 bytes --]
>From 2ca463cf672f000d37a0aaa5e3d3738b50661926 Mon Sep 17 00:00:00 2001
From: Nicolas Dichtel <nicolas.dichtel@6wind.com>
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.
Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
---
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 f0129f7..be7798d 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 12
+#define MAX_AH_AUTH_LEN 16
struct crypto_ahash;
--
1.7.3.4
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] ah: update maximum truncated ICV length
2011-01-11 18:06 [PATCH] ah: update maximum truncated ICV length Nicolas Dichtel
@ 2011-01-11 22:05 ` David Miller
0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2011-01-11 22:05 UTC (permalink / raw)
To: nicolas.dichtel; +Cc: netdev
From: Nicolas Dichtel <nicolas.dichtel@6wind.com>
Date: Tue, 11 Jan 2011 19:06:19 +0100
>>From 2ca463cf672f000d37a0aaa5e3d3738b50661926 Mon Sep 17 00:00:00 2001
> From: Nicolas Dichtel <nicolas.dichtel@6wind.com>
> 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.
>
> Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
Applied.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-01-11 22:04 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-01-11 18:06 [PATCH] ah: update maximum truncated ICV length Nicolas Dichtel
2011-01-11 22:05 ` David Miller
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).