From: Adrian-Ken Rueegsegger Date: Wed, 4 Jun 2008 19:04:55 +0000 (-0700) Subject: xfrm: xfrm_algo: correct usage of RIPEMD-160 X-Git-Tag: v3.12-rc1~20339^2~50 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a13366c632132bb9f8f2950a79773d8f68f4871e;p=kernel%2Fkernel-generic.git xfrm: xfrm_algo: correct usage of RIPEMD-160 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 Acked-by: Herbert Xu Signed-off-by: David S. Miller --- 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 = {