[RFC PATCH] [XFRM] xfrm_algo: correct usage of RIPEMD-160

STALE6632d

4 messages, 3 authors, 2008-06-04 · open the first message on its own page

[RFC PATCH] [XFRM] xfrm_algo: correct usage of RIPEMD-160

From: Adrian-Ken Rueegsegger <hidden>
Date: 2008-06-02 09:33:12

This patch makes HMAC-RIPEMD-160 usable with IPsec/XFRM. The RIPEMD-160
implementation is currently in the cryptodev-2.6 tree.

Since I have no IPsec test setup the patch has not (yet) been tested with
IPsec and is thus marked as RFC. I will put together a test environment which
will take some time. In the meantime it would be great if somebody who already
has a working IPsec environment could test this patch.

Thanks,
Adrian

[RFC PATCH] [XFRM] xfrm_algo: correct usage of RIPEMD-160

From: Adrian-Ken Rueegsegger <hidden>
Date: 2008-06-02 09:33:12

This patch fixes the usage of RIPEMD-160 in xfrm_algo which in turn
allows hmac(rmd160) to be used as authentication mechanism in IPsec
ESP and AH (see RFC 2857).

Signed-off-by: Adrian-Ken Rueegsegger <redacted>
---
 net/xfrm/xfrm_algo.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/net/xfrm/xfrm_algo.c b/net/xfrm/xfrm_algo.c
index ac765dd..23a2cc0 100644
--- a/net/xfrm/xfrm_algo.c
+++ b/net/xfrm/xfrm_algo.c
@@ -200,8 +200,8 @@ static struct xfrm_algo_desc aalg_list[] = {
 	}
 },
 {
-	.name = "hmac(ripemd160)",
-	.compat = "ripemd160",
+	.name = "hmac(rmd160)",
+	.compat = "rmd160",
 
 	.uinfo = {
 		.auth = {
-- 
1.5.2.5

Re: [RFC PATCH] [XFRM] xfrm_algo: correct usage of RIPEMD-160

From: Herbert Xu <herbert@gondor.apana.org.au>
Date: 2008-06-02 10:41:07

On Mon, Jun 02, 2008 at 11:33:09AM +0200, Adrian-Ken Rueegsegger wrote:
This patch fixes the usage of RIPEMD-160 in xfrm_algo which in turn
allows hmac(rmd160) to be used as authentication mechanism in IPsec
ESP and AH (see RFC 2857).

Signed-off-by: Adrian-Ken Rueegsegger <redacted>
Acked-by: Herbert Xu <herbert@gondor.apana.org.au>
-- 
Visit Openswan at http://www.openswan.org/
Email: Herbert Xu ~{PmV>HI~} [off-list ref]
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt

Re: [RFC PATCH] [XFRM] xfrm_algo: correct usage of RIPEMD-160

From: David Miller <davem@davemloft.net>
Date: 2008-06-04 19:05:04

From: Herbert Xu <herbert@gondor.apana.org.au>
Date: Mon, 2 Jun 2008 20:41:07 +1000
On Mon, Jun 02, 2008 at 11:33:09AM +0200, Adrian-Ken Rueegsegger wrote:
quoted
This patch fixes the usage of RIPEMD-160 in xfrm_algo which in turn
allows hmac(rmd160) to be used as authentication mechanism in IPsec
ESP and AH (see RFC 2857).

Signed-off-by: Adrian-Ken Rueegsegger <redacted>
Acked-by: Herbert Xu <herbert@gondor.apana.org.au>
Applied, thanks everyone.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help