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)
commita13366c632132bb9f8f2950a79773d8f68f4871e
treeb9d9414236087dd7d0ea818141e9b41feecff6cc
parent8b91ac09732895f928ed6107bda5318cf260520b
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>
net/xfrm/xfrm_algo.c