]> git.dujemihanovic.xyz Git - linux.git/commit
selftests: net: vrf-xfrm-tests: change authentication and encryption algos
authorMagali Lemes <magali.lemes@canonical.com>
Tue, 13 Jun 2023 12:32:21 +0000 (09:32 -0300)
committerJakub Kicinski <kuba@kernel.org>
Fri, 16 Jun 2023 05:24:01 +0000 (22:24 -0700)
commitcb43c60e64ca67fcc9d23bd08f51d2ab8209d9d7
tree807c5ca3ff36bcf7d5f900d12e438f236a0e7005
parentd113c395c67b62fc0d3f2004c0afc406aca0a2b7
selftests: net: vrf-xfrm-tests: change authentication and encryption algos

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: 3f251d741150 ("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>
tools/testing/selftests/net/vrf-xfrm-tests.sh