mbedtls/tests/scripts
John Durkop d032195278 Phase 2 support for MBEDTLS_PSA_CRYPTO_CONFIG
This phase adds in support for the following features being
added to the list of features that can be configured in the
include/psa/crypto_config.h header file using the PSA_WANT_ALG_xxx
macros: ECDH, HMAC, HKDF, and RSA. These changes include changes to
the PSA crypto library to use the appropriate new guards that
will allow the feature to be compiled in or out either using
new PSA_WANT_ALG_xxx or the previous MBEDTLS_xxx macros.

For HKDF and HMAC, most of the PSA library code did not have a
specific matching MBEDTLS_xxx macro for that feature, but was instead
using the generic dependent MBEDTLS_MD_C macro. The ECDH and RSA
features more closely aligned with a direct replacement with a similar
macro.

The new tests for RSA, HMAC, and HKDF would normally unset additional
dependent macros, but when attempting to implement that level of
testing it required removal of too many core features like MD_C, PK_C,
ECP_C and other low level features. This may point to additional phases of
work to complete the transition of these features to the new model.

Signed-off-by: John Durkop <john.durkop@fermatsoftware.com>
2020-11-10 06:10:29 -08:00
..
all-in-docker.sh Update copyright notices to use Linux Foundation guidance 2020-08-19 10:35:41 +02:00
all.sh Phase 2 support for MBEDTLS_PSA_CRYPTO_CONFIG 2020-11-10 06:10:29 -08:00
analyze_outcomes.py Document the fields of TestCasesOutcomes 2020-06-26 18:31:26 +02:00
basic-build-test.sh Update copyright notices to use Linux Foundation guidance 2020-08-19 10:35:41 +02:00
basic-in-docker.sh Update copyright notices to use Linux Foundation guidance 2020-08-19 10:35:41 +02:00
check_files.py Update copyright notices to use Linux Foundation guidance 2020-08-19 10:35:41 +02:00
check_test_cases.py Update copyright notices to use Linux Foundation guidance 2020-08-19 10:35:41 +02:00
check-doxy-blocks.pl Update copyright notices to use Linux Foundation guidance 2020-08-19 10:35:41 +02:00
check-generated-files.sh fix(programs/psa): commit python3 generated file 2020-09-24 20:57:46 -07:00
check-names.sh Merge development into development-restricted 2020-08-20 11:07:12 +01:00
check-python-files.sh Update copyright notices to use Linux Foundation guidance 2020-08-19 10:35:41 +02:00
curves.pl Update copyright notices to use Linux Foundation guidance 2020-08-19 10:35:41 +02:00
depends-hashes.pl Update copyright notices to use Linux Foundation guidance 2020-08-19 10:35:41 +02:00
depends-pkalgs.pl Update copyright notices to use Linux Foundation guidance 2020-08-19 10:35:41 +02:00
docker_env.sh Update copyright notices to use Linux Foundation guidance 2020-08-19 10:35:41 +02:00
doxygen.sh Update copyright notices to use Linux Foundation guidance 2020-08-19 10:35:41 +02:00
gen_ctr_drbg.pl Update copyright notices to use Linux Foundation guidance 2020-08-19 10:35:41 +02:00
gen_gcm_decrypt.pl Update copyright notices to use Linux Foundation guidance 2020-08-19 10:35:41 +02:00
gen_gcm_encrypt.pl Update copyright notices to use Linux Foundation guidance 2020-08-19 10:35:41 +02:00
gen_pkcs1_v21_sign_verify.pl Update copyright notices to use Linux Foundation guidance 2020-08-19 10:35:41 +02:00
generate_test_code.py Update copyright notices to use Linux Foundation guidance 2020-08-19 10:35:41 +02:00
generate-afl-tests.sh Update copyright notices to use Linux Foundation guidance 2020-08-19 10:35:41 +02:00
key-exchanges.pl Update copyright notices to use Linux Foundation guidance 2020-08-19 10:35:41 +02:00
list-enum-consts.pl Update copyright notices to use Linux Foundation guidance 2020-08-19 10:35:41 +02:00
list-identifiers.sh Update copyright notices to use Linux Foundation guidance 2020-08-19 10:35:41 +02:00
list-macros.sh Updates to fix check-names and all.sh tests after review 2020-10-12 21:56:26 -07:00
list-symbols.sh Update copyright notices to use Linux Foundation guidance 2020-08-19 10:35:41 +02:00
mbedtls_test.py Update copyright notices to use Linux Foundation guidance 2020-08-19 10:35:41 +02:00
psa_collect_statuses.py Update copyright notices to use Linux Foundation guidance 2020-08-19 10:35:41 +02:00
recursion.pl Update copyright notices to use Linux Foundation guidance 2020-08-19 10:35:41 +02:00
run-test-suites.pl Update copyright notices to use Linux Foundation guidance 2020-08-19 10:35:41 +02:00
tcp_client.pl Update copyright notices to use Linux Foundation guidance 2020-08-19 10:35:41 +02:00
test_config_script.py Update copyright notices to use Linux Foundation guidance 2020-08-19 10:35:41 +02:00
test_generate_test_code.py Update copyright notices to use Linux Foundation guidance 2020-08-19 10:35:41 +02:00
test_psa_constant_names.py Update copyright notices to use Linux Foundation guidance 2020-08-19 10:35:41 +02:00
test_zeroize.gdb Update copyright notices to use Linux Foundation guidance 2020-08-19 10:35:41 +02:00
test-ref-configs.pl Update copyright notices to use Linux Foundation guidance 2020-08-19 10:35:41 +02:00
travis-log-failure.sh Update copyright notices to use Linux Foundation guidance 2020-08-19 10:35:41 +02:00