提交 a13366c6 编写于 作者: A Adrian-Ken Rueegsegger 提交者: David S. Miller

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: NAdrian-Ken Rueegsegger <rueegsegger@swiss-it.ch>
Acked-by: NHerbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 8b91ac09
...@@ -200,8 +200,8 @@ static struct xfrm_algo_desc aalg_list[] = { ...@@ -200,8 +200,8 @@ static struct xfrm_algo_desc aalg_list[] = {
} }
}, },
{ {
.name = "hmac(ripemd160)", .name = "hmac(rmd160)",
.compat = "ripemd160", .compat = "rmd160",
.uinfo = { .uinfo = {
.auth = { .auth = {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册