Skip to content

Commit

Permalink
xfrm: xfrm_algo: correct usage of RIPEMD-160
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Adrian-Ken Rueegsegger authored and David S. Miller committed Jun 4, 2008
1 parent 8b91ac0 commit a13366c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions net/xfrm/xfrm_algo.c
Original file line number Diff line number Diff line change
Expand Up @@ -200,8 +200,8 @@ static struct xfrm_algo_desc aalg_list[] = {
}
},
{
.name = "hmac(ripemd160)",
.compat = "ripemd160",
.name = "hmac(rmd160)",
.compat = "rmd160",

.uinfo = {
.auth = {
Expand Down

0 comments on commit a13366c

Please sign in to comment.