diff options
author | Adrian-Ken Rueegsegger <rueegsegger@swiss-it.ch> | 2008-06-04 12:04:55 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-06-04 12:04:55 -0700 |
commit | a13366c632132bb9f8f2950a79773d8f68f4871e (patch) | |
tree | b9d9414236087dd7d0ea818141e9b41feecff6cc /net/xfrm/xfrm_algo.c | |
parent | 8b91ac09732895f928ed6107bda5318cf260520b (diff) | |
download | op-kernel-dev-a13366c632132bb9f8f2950a79773d8f68f4871e.zip op-kernel-dev-a13366c632132bb9f8f2950a79773d8f68f4871e.tar.gz |
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 <rueegsegger@swiss-it.ch>
Acked-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/xfrm/xfrm_algo.c')
-rw-r--r-- | 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..23a2cc04 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 = { |