mirror of
https://github.com/Mbed-TLS/mbedtls-framework.git
synced 2026-06-05 21:15:09 +00:00
814196869328accc75151a882dc3f4bd6c6765cd
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, suppress generated test cases for operation failures due to unsupported ECDSA when exactly one of the two ECDSA variants is supported. This edge case will only be tested manually (done in mbedtls or TF-PSA-Crypto in the commit "Fix edge case with half-supported ECDSA (manual test cases)"). Changes to the generated output: in `test_suite_psa_crypto_op_fail.generated.data`, wherever one of `!PSA_WANT_ALG_DETERMINISTIC_ECDSA` or `!PSA_WANT_ALG_ECDSA` appears as a dependency, add the other one. Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
Mbed TLS framework
This repository contains a version-independent build and test framework for TF-PSA-Crypto and Mbed TLS.
You need this repository as a Git submodule in a branch of one of the above repositories if:
- You want to build, test or contribute to Mbed TLS 3.6.0 or above, and you are working from a snapshot of a Git commit on a development branch.
- You want to build, test or contribute to TF-PSA-Crypto, and you are working from a snapshot of a Git commit on a development branch.
You do not need this repository if:
- You are working with Mbed TLS 2.28.
- You want to build a release of Mbed TLS and run its unit tests.
Contributing
We gratefully accept bug reports and contributions from the community. Please see the contributing guidelines for details on how to do this.
License
Unless specifically indicated otherwise in a file, Mbed TLS framework files are provided under a dual Apache-2.0 OR GPL-2.0-or-later license. See the LICENSE file for the full text of these licenses, and the 'License and Copyright' section in the contributing guidelines for more information.
Description
Mirror of https://github.com/Mbed-TLS/mbedtls-framework.git for ESP-IDF submodules
Languages
Python
51.6%
C
30%
Makefile
8.7%
Shell
5.1%
Perl
4.4%
Other
0.1%