mbedtls/tests
Manuel Pégourié-Gonnard 7d5271608b Fix undeclared dependencies on SHA-1
Previously the whole .function file had a global dependency on
MBEDTLS_SHA1_C. This hasn't been correct for a long time:
- on principle, dependency declarations in .function files are for
compile-time dependencies;
- in practice, a number of test cases do not depend on SHA-1, as they only
use SHA-256 or SHA-512 - those cases should not be skipped in builds
without SHA-1;
- this was "taken advantage of" to skip dependency declarations for
test cases that only depended on SHA-1.

The previous commit removed the global dependency on SHA1_C; as a result
the test cases that actually depend on SHA-1 were not skipped in builds
without SHA-1. This commit fixes that by adding dependency declarations
where they belong: in the .data file.

All cases compute hashes using MD is available, or PSA otherwise; so
MD_OR_PSA is appropriate here.

Signed-off-by: Manuel Pégourié-Gonnard <manuel.pegourie-gonnard@arm.com>
2022-08-11 12:50:06 +02:00
..
.jenkins
configs
data_files Remove remaining bignum radix args 2022-08-01 15:07:14 +01:00
docker/bionic
git-scripts Fix typographical errors in .md files found by cspell 2022-07-29 13:44:01 +01:00
include Fix failure of RSA accel test 2022-08-11 12:47:02 +02:00
opt-testcases
scripts Fix failure of RSA accel test 2022-08-11 12:47:02 +02:00
src Remove radix arg from mbedtls_test_read_mpi 2022-08-01 15:05:24 +01:00
suites Fix undeclared dependencies on SHA-1 2022-08-11 12:50:06 +02:00
.gitignore
CMakeLists.txt
compat-in-docker.sh
compat.sh
context-info.sh
Descriptions.txt
make-in-docker.sh
Makefile
ssl-opt-in-docker.sh
ssl-opt.sh fix typo and changelog entry issues 2022-07-28 23:08:00 +08:00