Gilles Peskine 9ffffab4d6 Fix edge case with half-supported ECDSA
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:

* Automatically generated not-supported test cases for ECDSA now require
  both variants to be disabled.
* 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.

Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
2024-04-19 19:33:29 +02:00
..
data_files Update headers 2023-11-03 12:04:52 +00:00
mbedtls_dev Fix edge case with half-supported ECDSA 2024-04-19 19:33:29 +02:00
abi_check.py Update headers 2023-11-03 12:04:52 +00:00
apidoc_full.sh Update headers 2023-11-03 12:04:52 +00:00
assemble_changelog.py Update headers 2023-11-03 12:04:52 +00:00
bump_version.sh scripts/bump_version.sh: update pkgconfig version 2024-02-23 09:09:17 -06:00
ci.requirements.txt move asn1crypto to ci.requirements.txt 2023-11-06 10:06:01 +08:00
code_style.py Update headers 2023-11-03 12:04:52 +00:00
config.pl Update headers 2023-11-03 12:04:52 +00:00
config.py Preserve alphabetical sorting of config options 2024-03-14 14:54:42 +00:00
ecc-heap.sh Update headers 2023-11-03 12:04:52 +00:00
footprint.sh Update headers 2023-11-03 12:04:52 +00:00
generate_errors.pl Update headers 2023-11-03 12:04:52 +00:00
generate_features.pl Update headers 2023-11-03 12:04:52 +00:00
generate_psa_constants.py Update headers 2023-11-03 12:04:52 +00:00
generate_query_config.pl Update headers 2023-11-03 12:04:52 +00:00
generate_visualc_files.pl Fix generate_visualc_files.pl 2024-02-29 21:22:59 +00:00
lcov.sh Update headers 2023-11-03 12:04:52 +00:00
maintainer.requirements.txt move asn1crypto to ci.requirements.txt 2023-11-06 10:06:01 +08:00
massif_max.pl Update headers 2023-11-03 12:04:52 +00:00
memory.sh Update headers 2023-11-03 12:04:52 +00:00
min_requirements.py Update headers 2023-11-03 12:04:52 +00:00
output_env.sh Update headers 2023-11-03 12:04:52 +00:00
rename.pl Update headers 2023-11-03 12:04:52 +00:00
tmp_ignore_makefiles.sh Update headers 2023-11-03 12:04:52 +00:00
windows_msbuild.bat Add a simple build script for Windows with Visual Studio 2020-04-26 20:52:04 +02:00