selftests: net: vrf-xfrm-tests: change authentication and encryption algos
stable inclusion from stable-v5.10.186 commit 2af75a36af8d372a6976f3cccfcba692eacedcf4 category: bugfix bugzilla: https://gitee.com/openeuler/kernel/issues/I8L5XP Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=2af75a36af8d372a6976f3cccfcba692eacedcf4 -------------------------------- [ Upstream commit cb43c60e ] The vrf-xfrm-tests tests use the hmac(md5) and cbc(des3_ede) algorithms for performing authentication and encryption, respectively. This causes the tests to fail when fips=1 is set, since these algorithms are not allowed in FIPS mode. Therefore, switch from hmac(md5) and cbc(des3_ede) to hmac(sha1) and cbc(aes), which are FIPS compliant. Fixes: 3f251d74 ("selftests: Add tests for vrf and xfrms") Reviewed-by:David Ahern <dsahern@kernel.org> Signed-off-by:
Magali Lemes <magali.lemes@canonical.com> Signed-off-by:
Jakub Kicinski <kuba@kernel.org> Signed-off-by:
Sasha Levin <sashal@kernel.org> Signed-off-by:
sanglipeng <sanglipeng1@jd.com>
Loading
Please sign in to comment