Gilles Peskine 8729b10f26 Fix edge case with half-supported ECDSA (manual test cases)
ECDSA has two variants: deterministic (PSA_ALG_DETERMINISTIC_ECDSA) and
randomized (PSA_ALG_ECDSA). The two variants are different for signature but
identical for verification. Mbed TLS accepts either variant as the algorithm
parameter for verification even when only the other variant is supported,
so we need to handle this as a special case when generating not-supported
test cases.

In this commit:

* Add manually written not-supported test cases for the signature
  operation when exactly one variant is supported.
* Add manually written positive test cases for the verification
  operation when exactly one variant is supported.
* Register that !ECDSA but DETERMINISTIC_ECDSA is not tested yet
  (https://github.com/Mbed-TLS/mbedtls/issues/9592).

A commit in the framework will take care of automatically generated test cases.

Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
2024-11-21 09:48:35 +01:00
..
quiet Simplify locating original tool 2024-03-12 13:33:09 +00:00
all-in-docker.sh update headers 2023-11-02 19:47:20 +00:00
all.sh Update path to all-core.sh 2024-11-12 12:11:07 +01:00
analyze_outcomes.py Fix edge case with half-supported ECDSA (manual test cases) 2024-11-21 09:48:35 +01:00
audit-validity-dates.py Simplify path in audit-validity-dates.py 2024-07-08 15:36:48 +01:00
basic-build-test.sh Fix full invocation of ssl-opt.sh 2024-04-22 12:35:00 +02:00
basic-in-docker.sh Remove test-ref-configs.pl, which no longer does anything 2024-09-19 18:57:18 +02:00
check_files.py Update paths pointing to tests/data_files 2024-07-08 15:36:46 +01:00
check_names.py Update references to mbedtls_dev 2024-05-13 14:44:37 +01:00
check-doxy-blocks.pl update headers 2023-11-02 19:47:20 +00:00
check-generated-files.sh Adjust file path for generate_tls13_compat_tests.py 2024-10-15 12:41:42 +01:00
check-python-files.sh Extend python checks to framework scripts 2024-06-07 11:10:43 +01:00
components-basic-checks.sh components-basic-checks: add new exception for MBEDTLS_CTR_DRBG_MAX_REQUEST 2024-10-22 13:31:19 +02:00
components-build-system.sh tests: add a test for pkg-config files 2024-09-11 09:24:20 -07:00
components-compiler.sh Merge pull request #9608 from gilles-peskine-arm/outcome-check-repeated-configurations-all.sh-preliminaries-3.6 2024-10-25 11:47:48 +00:00
components-compliance.sh Extract compliance-components into a separate file. 2024-08-02 02:08:54 +01:00
components-configuration-crypto.sh Merge pull request #9608 from gilles-peskine-arm/outcome-check-repeated-configurations-all.sh-preliminaries-3.6 2024-10-25 11:47:48 +00:00
components-configuration-platform.sh Extract configuration-platform components into a separate file. 2024-08-05 12:01:53 +01:00
components-configuration-tls.sh Move config-thread.h testing to separate all.sh components 2024-09-19 18:56:01 +02:00
components-configuration-x509.sh Extract configuration-x509 components into a separate file. 2024-08-05 12:01:55 +01:00
components-configuration.sh Remove test-ref-configs.pl, which no longer does anything 2024-09-19 18:57:18 +02:00
components-platform.sh Merge pull request #9737 from mpg/drop-armcc5-3.6 2024-10-30 12:29:55 +00:00
components-sanitizers.sh Remove test_valgrind_constant_flow_psa_no_asm 2024-08-06 16:26:41 +01:00
depends.py Update old class names 2024-09-19 10:51:59 +02:00
docker_env.sh update headers 2023-11-02 19:47:20 +00:00
doxygen.sh update headers 2023-11-02 19:47:20 +00:00
gen_ctr_drbg.pl update headers 2023-11-02 19:47:20 +00:00
gen_gcm_decrypt.pl update headers 2023-11-02 19:47:20 +00:00
gen_gcm_encrypt.pl update headers 2023-11-02 19:47:20 +00:00
gen_pkcs1_v21_sign_verify.pl update headers 2023-11-02 19:47:20 +00:00
generate_server9_bad_saltlen.py Update license 2023-11-09 10:10:33 +08:00
generate-afl-tests.sh update headers 2023-11-02 19:47:20 +00:00
list_internal_identifiers.py update headers 2023-11-02 19:47:20 +00:00
list-identifiers.sh update headers 2023-11-02 19:47:20 +00:00
pkgconfig.sh tests: add a test for pkg-config files 2024-09-11 09:24:20 -07:00
psa_collect_statuses.py Revert "Add ability to pass make variables to psa_collect_statuses.py" 2023-12-22 13:16:59 +01:00
recursion.pl update headers 2023-11-02 19:47:20 +00:00
run_demos.py Pacify Pylint 2023-07-25 19:40:35 +02:00
run-metatests.sh Readability improvement 2023-11-15 16:56:26 +01:00
run-test-suites.pl update headers 2023-11-02 19:47:20 +00:00
scripts_path.py Add framework/scripts to scripts_path.py 2024-05-13 14:44:37 +01:00
set_psa_test_dependencies.py update headers 2023-11-02 19:47:20 +00:00
tcp_client.pl update headers 2023-11-02 19:47:20 +00:00
test_config_script.py update headers 2023-11-02 19:47:20 +00:00
test_psa_compliance.py Update references to mbedtls_dev 2024-05-13 14:44:37 +01:00
test_psa_constant_names.py Update references to mbedtls_dev 2024-05-13 14:44:37 +01:00
test_zeroize.gdb update headers 2023-11-02 19:47:20 +00:00
travis-log-failure.sh update headers 2023-11-02 19:47:20 +00:00