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 ac765dd..23a2cc0 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 = {