diff options
author | Magali Lemes <[email protected]> | 2023-06-13 09:32:20 -0300 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2023-06-15 22:24:01 -0700 |
commit | d113c395c67b62fc0d3f2004c0afc406aca0a2b7 (patch) | |
tree | 5bfac942dcf5c6cf616536ff3dd5350a60d19003 /scripts/generate_rust_target.rs | |
parent | 372b304c1e517c4d3e5b6ca6c9cfb20f027c3b03 (diff) |
selftests: net: tls: check if FIPS mode is enabled
TLS selftests use the ChaCha20-Poly1305 and SM4 algorithms, which are not
FIPS compliant. When fips=1, this set of tests fails. Add a check and only
run these tests if not in FIPS mode.
Fixes: 4f336e88a870 ("selftests/tls: add CHACHA20-POLY1305 to tls selftests")
Fixes: e506342a03c7 ("selftests/tls: add SM4 GCM/CCM to tls selftests")
Reviewed-by: Jakub Kicinski <[email protected]>
Signed-off-by: Magali Lemes <[email protected]>
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'scripts/generate_rust_target.rs')
0 files changed, 0 insertions, 0 deletions