mbedtls/tests/scripts
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
..
all-in-docker.sh Update copyright notices to use Linux Foundation guidance 2020-08-19 10:35:41 +02:00
all.sh Test SSL with non-deterministic ECDSA 2021-01-13 20:31:24 +01:00
analyze_outcomes.py Document the fields of TestCasesOutcomes 2020-06-26 18:31:26 +02:00
basic-build-test.sh Update copyright notices to use Linux Foundation guidance 2020-08-19 10:35:41 +02:00
basic-in-docker.sh Update copyright notices to use Linux Foundation guidance 2020-08-19 10:35:41 +02:00
check-doxy-blocks.pl Update copyright notices to use Linux Foundation guidance 2020-08-19 10:35:41 +02:00
check-generated-files.sh fix(programs/psa): commit python3 generated file 2020-09-24 20:57:46 -07:00
check-names.sh Merge pull request #3614 from gilles-peskine-arm/ssl-opt-gnutls-printf-development 2020-11-04 17:55:42 +01:00
check-python-files.sh mypy: require at least version 0.780 2021-01-20 12:03:24 +01:00
check_files.py check_files.py: pass mypy 2020-12-10 21:30:01 +01:00
check_test_cases.py Update copyright notices to use Linux Foundation guidance 2020-08-19 10:35:41 +02:00
curves.pl Update copyright notices to use Linux Foundation guidance 2020-08-19 10:35:41 +02:00
depends-hashes.pl Update copyright notices to use Linux Foundation guidance 2020-08-19 10:35:41 +02:00
depends-pkalgs.pl Update copyright notices to use Linux Foundation guidance 2020-08-19 10:35:41 +02:00
docker_env.sh Update copyright notices to use Linux Foundation guidance 2020-08-19 10:35:41 +02:00
doxygen.sh Update copyright notices to use Linux Foundation guidance 2020-08-19 10:35:41 +02:00
gen_ctr_drbg.pl Update copyright notices to use Linux Foundation guidance 2020-08-19 10:35:41 +02:00
gen_gcm_decrypt.pl Update copyright notices to use Linux Foundation guidance 2020-08-19 10:35:41 +02:00
gen_gcm_encrypt.pl Update copyright notices to use Linux Foundation guidance 2020-08-19 10:35:41 +02:00
gen_pkcs1_v21_sign_verify.pl Update copyright notices to use Linux Foundation guidance 2020-08-19 10:35:41 +02:00
generate-afl-tests.sh Update copyright notices to use Linux Foundation guidance 2020-08-19 10:35:41 +02:00
generate_test_code.py Update copyright notices to use Linux Foundation guidance 2020-08-19 10:35:41 +02:00
key-exchanges.pl Update copyright notices to use Linux Foundation guidance 2020-08-19 10:35:41 +02:00
list-enum-consts.pl Update copyright notices to use Linux Foundation guidance 2020-08-19 10:35:41 +02:00
list-identifiers.sh Update copyright notices to use Linux Foundation guidance 2020-08-19 10:35:41 +02:00
list-macros.sh Updates to fix check-names and all.sh tests after review 2020-10-12 21:56:26 -07:00
list-symbols.sh Update copyright notices to use Linux Foundation guidance 2020-08-19 10:35:41 +02:00
mbedtls_test.py mbedtls_test.py: Tell mypy to ignore mbed_host_tests 2020-12-10 21:30:14 +01:00
psa_collect_statuses.py Update copyright notices to use Linux Foundation guidance 2020-08-19 10:35:41 +02:00
recursion.pl Update copyright notices to use Linux Foundation guidance 2020-08-19 10:35:41 +02:00
run-test-suites.pl Update copyright notices to use Linux Foundation guidance 2020-08-19 10:35:41 +02:00
scripts_path.py Allow tests/scripts/foo.py to import from scripts 2020-12-10 23:16:03 +01:00
set_psa_test_dependencies.py Key policy negative tests don't actually require the algorithm 2021-02-01 13:19:26 +01:00
tcp_client.pl Update copyright notices to use Linux Foundation guidance 2020-08-19 10:35:41 +02:00
test-ref-configs.pl Add missing configs from test-ref-configs.pl 2020-11-09 15:17:07 +01:00
test_config_script.py Update copyright notices to use Linux Foundation guidance 2020-08-19 10:35:41 +02:00
test_generate_test_code.py test_generate_test_code: remove Python 2 compatibility code 2020-12-10 21:30:08 +01:00
test_psa_constant_names.py Merge pull request #3953 from gilles-peskine-arm/python-mypy-mkdir 2021-01-29 12:07:53 +01:00
test_zeroize.gdb Update copyright notices to use Linux Foundation guidance 2020-08-19 10:35:41 +02:00
travis-log-failure.sh Update copyright notices to use Linux Foundation guidance 2020-08-19 10:35:41 +02:00