mbedtls/tests/scripts
John Durkop 2ec2eaac31 Fix test issues with depends-hashes
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>
2020-09-08 05:40:41 -07:00
..
all-in-docker.sh Clean up file prologue comments 2019-06-29 17:45:34 -05:00
all.sh Fix test issues with depends-hashes 2020-09-08 05:40:41 -07:00
analyze_outcomes.py Document the fields of TestCasesOutcomes 2020-06-26 18:31:26 +02:00
basic-build-test.sh Merge pull request #3410 from mpg/make-coverage-script-deterministic 2020-06-22 12:30:48 +02:00
basic-in-docker.sh basic-in-docker: call all.sh for sanity checks 2020-06-25 14:22:06 +02:00
check_files.py Rename Python scripts to use '_' and not '-' 2020-06-25 14:22:06 +02:00
check_test_cases.py Documentation improvements 2020-07-03 09:32:50 +02:00
check-doxy-blocks.pl Add Apache-2.0 headers to all scripts 2020-06-15 12:05:47 +02:00
check-generated-files.sh Add -u option to check-generated-files.sh 2020-07-16 10:54:38 +02:00
check-names.sh Add Apache-2.0 headers to all scripts 2020-06-15 12:05:47 +02:00
check-python-files.sh Add Apache-2.0 headers to all scripts 2020-06-15 12:05:47 +02:00
curves.pl curves.pl: test with each elliptic curve enabled 2020-07-22 03:17:24 +02:00
depends-hashes.pl Add Apache-2.0 headers to all scripts 2020-06-15 12:05:47 +02:00
depends-pkalgs.pl Add missing dependencies for ECDH_xxx key exchanges 2020-07-22 03:17:23 +02:00
docker_env.sh Enable figuring out number of cores when running on OS X 2020-06-08 18:20:08 +02:00
doxygen.sh Add Apache-2.0 headers to all scripts 2020-06-15 12:05:47 +02:00
gen_ctr_drbg.pl Add Apache-2.0 headers to all scripts 2020-06-15 12:05:47 +02:00
gen_gcm_decrypt.pl Add Apache-2.0 headers to all scripts 2020-06-15 12:05:47 +02:00
gen_gcm_encrypt.pl Add Apache-2.0 headers to all scripts 2020-06-15 12:05:47 +02:00
gen_pkcs1_v21_sign_verify.pl Add Apache-2.0 headers to all scripts 2020-06-15 12:05:47 +02:00
generate_test_code.py Pylint: minor code simplifications 2020-04-11 20:23:22 +02:00
generate-afl-tests.sh Add Apache-2.0 headers to all scripts 2020-06-15 12:05:47 +02:00
key-exchanges.pl Add Apache-2.0 headers to all scripts 2020-06-15 12:05:47 +02:00
list-enum-consts.pl Add Apache-2.0 headers to all scripts 2020-06-15 12:05:47 +02:00
list-identifiers.sh Add Apache-2.0 headers to all scripts 2020-06-15 12:05:47 +02:00
list-macros.sh Add Apache-2.0 headers to all scripts 2020-06-15 12:05:47 +02:00
list-symbols.sh Add Apache-2.0 headers to all scripts 2020-06-15 12:05:47 +02:00
mbedtls_test.py Pylint: minor code simplifications 2020-04-11 20:23:22 +02:00
psa_collect_statuses.py Add Apache-2.0 headers to all scripts 2020-06-15 12:05:47 +02:00
recursion.pl Add Apache-2.0 headers to all scripts 2020-06-15 12:05:47 +02:00
run-test-suites.pl Add Apache-2.0 headers to all scripts 2020-06-15 12:05:47 +02:00
tcp_client.pl Add Apache-2.0 headers to all scripts 2020-06-15 12:05:47 +02:00
test_config_script.py Pylint: explicitly note why we're doing an unchecked subprocess.run 2020-04-11 20:23:22 +02:00
test_generate_test_code.py Pylint: minor code simplifications 2020-04-11 20:23:22 +02:00
test_psa_constant_names.py Add Apache-2.0 headers to all scripts 2020-06-15 12:05:47 +02:00
test_zeroize.gdb Add Apache-2.0 headers to all scripts 2020-06-15 12:05:47 +02:00
test-ref-configs.pl Add Apache-2.0 headers to all scripts 2020-06-15 12:05:47 +02:00
travis-log-failure.sh Add Apache-2.0 headers to all scripts 2020-06-15 12:05:47 +02:00