mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2025-10-27 12:47:09 +00:00
Needed to make additional fixes so that when MBEDTLS_USE_PSA_CRYPTO is defined, the depends-hashes test will succeed. There are two versions of the ecdsa_verify_wrap() function, one with MBEDTLS_USE_PSA_CRYPTO and when when it is not enabled. The non PSA version is not using the md_alg parameter since it is not required. The PSA version was using that parameter to derive a different value it needed for PSA_ALG_ECDSA. The arguement of PSA_ALG_ECDSA is ignored for psa_sign_hash and psa_verify_hash. It is present because it is used and must be a valid hash, not zero, for psa_sign_hash (but not psa_verify_hash) with PSA_ALG_DETERMINISTIC_ECDSA, and it is needed for psa_sign_message and psa_verify_message which are not implemented yet. The local parameter now uses PSA_ALG_ECDSA_ANY for the verify function to avoid using the md_alg parameter and avoids returning incorrect error codes. Fixes #3587 Signed-off-by: John Durkop <john.durkop@fermatsoftware.com> |
||
|---|---|---|
| .. | ||
| all-in-docker.sh | ||
| all.sh | ||
| analyze_outcomes.py | ||
| basic-build-test.sh | ||
| basic-in-docker.sh | ||
| check-doxy-blocks.pl | ||
| check-generated-files.sh | ||
| check-names.sh | ||
| check-python-files.sh | ||
| check_files.py | ||
| check_test_cases.py | ||
| curves.pl | ||
| depends-hashes.pl | ||
| depends-pkalgs.pl | ||
| docker_env.sh | ||
| doxygen.sh | ||
| gen_ctr_drbg.pl | ||
| gen_gcm_decrypt.pl | ||
| gen_gcm_encrypt.pl | ||
| gen_pkcs1_v21_sign_verify.pl | ||
| generate-afl-tests.sh | ||
| generate_test_code.py | ||
| key-exchanges.pl | ||
| list-enum-consts.pl | ||
| list-identifiers.sh | ||
| list-macros.sh | ||
| list-symbols.sh | ||
| mbedtls_test.py | ||
| psa_collect_statuses.py | ||
| recursion.pl | ||
| run-test-suites.pl | ||
| tcp_client.pl | ||
| test-ref-configs.pl | ||
| test_config_script.py | ||
| test_generate_test_code.py | ||
| test_psa_constant_names.py | ||
| test_zeroize.gdb | ||
| travis-log-failure.sh | ||