mbedtls/tests
Gilles Peskine 72d8e0ad04 Key policy negative tests don't actually require the algorithm
It doesn't make much difference in practice, but to keep closer to
what the current code does, run negative key policy tests even if the
algorithm for the operation attempt is not supported.

In particular, this allows the following test cases to run:
* "PSA key policy: agreement + KDF, wrong agreement algorithm"
* "PSA key policy: raw agreement, wrong algorithm"
Without this exception, those two test cases would never run, because
they would depend on PSA_ALG_WANT_FFDH. Since FFDH is not implemented
yet, it isn't enabled in any configuration. There's no alternative to
FFDH for these particular test cases because ECDH is the only key
agreement that is implemented in Mbed TLS so far.

Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
2021-02-01 13:19:26 +01:00
..
.jenkins
configs
data_files Merge pull request #3698 from darrenkrahn/development 2021-01-17 18:06:18 +00:00
docker/bionic
git-scripts
include/test Move the fake PSA external RNG to its own header and source files 2021-01-20 20:02:01 +01:00
scripts Key policy negative tests don't actually require the algorithm 2021-02-01 13:19:26 +01:00
src Move the fake PSA external RNG to its own header and source files 2021-01-20 20:02:01 +01:00
suites Declare a code dependency in the code instead of in the data 2021-02-01 13:19:26 +01:00
.gitignore
CMakeLists.txt
compat-in-docker.sh
compat.sh
context-info.sh
Descriptions.txt
make-in-docker.sh
Makefile Explain the explicit dependency on instrument_record_status.h 2021-01-25 13:46:14 +01:00
ssl-opt-in-docker.sh
ssl-opt.sh