Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a13366c6 authored by Adrian-Ken Rueegsegger's avatar Adrian-Ken Rueegsegger Committed by David S. Miller
Browse files

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: default avatarAdrian-Ken Rueegsegger <rueegsegger@swiss-it.ch>
Acked-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 8b91ac09
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -200,8 +200,8 @@ static struct xfrm_algo_desc aalg_list[] = {
	}
},
{
	.name = "hmac(ripemd160)",
	.compat = "ripemd160",
	.name = "hmac(rmd160)",
	.compat = "rmd160",

	.uinfo = {
		.auth = {