Gilles Peskine eafc2751e6 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-12-09 18:31:59 +01:00
..
quiet Simplify locating original tool 2024-03-12 13:33:09 +00:00
all.sh all.sh: improve wrapper error reporting 2024-11-04 11:40:44 +01:00
analyze_outcomes.py Fix edge case with half-supported ECDSA (manual test cases) 2024-12-09 18:31:59 +01:00
audit-validity-dates.py Simplify path in audit-validity-dates.py 2024-07-05 15:49:28 +01:00
basic-build-test.sh Create seedfile in the tf-psa-crypto subproject 2024-09-11 12:56:57 +02:00
check_files.py Use MBEDTLS_ERROR_ADD instead of explicit addition: enforcement 2024-10-16 11:52:27 +02:00
check_names.py check_names: Updated macro regex to accept TF_PSA_X names. 2024-12-04 10:41:11 +00:00
check-doxy-blocks.pl update headers 2023-11-02 19:47:20 +00:00
check-generated-files.sh Merge pull request #9717 from Harry-Ramsey/move-programs-psa-tf-psa-crypto-development 2024-12-09 07:38:16 +00:00
check-python-files.sh Extend python checks to framework scripts 2024-06-07 11:09:31 +01:00
components-basic-checks.sh components-basic-checks: add new exception for MBEDTLS_CTR_DRBG_MAX_REQUEST 2024-10-22 17:56:36 +02:00
components-build-system.sh build_cmake_custom_config_file: Added test coverage for crypto_user_config.h 2024-12-04 10:41:11 +00:00
components-compiler.sh tests/configs: Adjusted for migration of MBEDTLS_PSA_CRYPTO_CONFIG_FILE. 2024-12-04 09:57:56 +00:00
components-compliance.sh test_psa_compliance: Use the pre-built library 2024-10-01 15:32:01 +02:00
components-configuration-crypto.sh test suites: Refactored component_test_ccm_aes_sha256. 2024-12-04 10:41:11 +00:00
components-configuration-platform.sh all.sh/components: Moved component_test_no_strings -> configuration. 2024-08-01 19:38:47 +01:00
components-configuration-tls.sh test_components: Updated config.py to use -c for setting CRYPTO_CONFIG_H entries. 2024-12-04 09:57:56 +00:00
components-configuration-x509.sh Refactor scripts to use config.py instead of config.pl 2024-12-02 16:23:06 +00:00
components-configuration.sh tests/configs: Adjusted for migration of MBEDTLS_PSA_CRYPTO_CONFIG_FILE. 2024-12-04 09:57:56 +00:00
components-platform.sh Merge pull request #9738 from mpg/drop-armcc5-dev 2024-10-31 08:12:40 +00:00
components-psasim.sh psasim: small fixes to all.sh and test bash scripts 2024-08-06 11:52:00 +02:00
components-sanitizers.sh test_memsan_constant_flow_psa: Set to not re-generate files. 2024-12-04 09:57:56 +00:00
depends.py Update comments 2024-11-12 18:26:34 +01: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 Adapt list_internal_identifiers.py 2024-07-10 08:10:40 +02:00
list-identifiers.sh update headers 2023-11-02 19:47:20 +00:00
mbedtls-all.sh Define FRAMEWORK 2024-11-27 13:15:04 +00:00
pkgconfig.sh Refactor pkgconfig.sh 2024-10-18 10:23:15 +02:00
psa_collect_statuses.py Fix paths for programs/psa 2024-11-20 16:20:48 +00:00
recursion.pl update headers 2023-11-02 19:47:20 +00:00
run_demos.py Concatenate program demos between Mbed TLS and TF-PSA-Crypto 2024-11-20 16:21:35 +00:00
run-metatests.sh Readability improvement 2023-11-15 16:56:26 +01:00
run-test-suites.pl Fix shared library builds 2024-09-11 16:07:09 +02:00
scripts_path.py Add framework/scripts to scripts_path.py 2024-05-13 13:48:13 +01:00
set_psa_test_dependencies.py 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 Adapt check-generated-files.sh 2024-07-10 08:10:37 +02:00
test_psa_constant_names.py Fix paths for programs/psa 2024-11-20 16:20:48 +00:00
test_zeroize.gdb update headers 2023-11-02 19:47:20 +00:00