]> err.no Git - linux-2.6/commitdiff
xfrm: xfrm_algo: correct usage of RIPEMD-160
authorAdrian-Ken Rueegsegger <rueegsegger@swiss-it.ch>
Wed, 4 Jun 2008 19:04:55 +0000 (12:04 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 4 Jun 2008 19:04:55 +0000 (12:04 -0700)
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 <rueegsegger@swiss-it.ch>
Acked-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/xfrm/xfrm_algo.c

index ac765dd9c7f5793396dd2dd4bbc27529f67143a9..23a2cc04b8cdb5f4a9f215643bfc1df130800322 100644 (file)
@@ -200,8 +200,8 @@ static struct xfrm_algo_desc aalg_list[] = {
        }
 },
 {
-       .name = "hmac(ripemd160)",
-       .compat = "ripemd160",
+       .name = "hmac(rmd160)",
+       .compat = "rmd160",
 
        .uinfo = {
                .auth = {