mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-12-25 15:25:27 +00:00
df885c052c
PR #3959 has proven that by adding a prefix (LIBTESTDRIVER1/libtestdriver1_ in this commit) to all MBEDTLS/PSA_* and mbedtls/psa_* symbols of a copy of the Mbed TLS library, we can build a library that can be linked with the Mbed TLS library. This commit leverages this to build a PSA test driver library based on the Mbed TLS library code. The cryptographic features supported by the test library are defined by: . a minimal configuration (in the sense of config.h), see config_test_driver.h . PSA_WANT_* and PSA_ACCEL_* defined macros. The PSA_WANT_* macros have to be the same as the ones used to build the Mbed TLS library the test driver library is supposed to be linked to as the PSA_WANT_* macros are used in the definition of structures and macros that are shared by the PSA crypto core, Mbed TLS drivers and the driver test library. The PSA_ACCEL_* macros are intended to define the cryptographic features that have to be removed from the Mbed TLS library and thus supported by the test library in test scenarios. The PSA_ACCEL_* macros to build the test library are thus mirrored from the ones to build the Mbed TLS library by extended the crypto_config.h: see crypto_config_test_driver_entension.h. Signed-off-by: Ronald Cron <ronald.cron@arm.com> |
||
---|---|---|
.. | ||
benchmark.vcxproj | ||
cert_app.vcxproj | ||
cert_req.vcxproj | ||
cert_write.vcxproj | ||
crl_app.vcxproj | ||
crypt_and_hash.vcxproj | ||
crypto_examples.vcxproj | ||
dh_client.vcxproj | ||
dh_genprime.vcxproj | ||
dh_server.vcxproj | ||
dtls_client.vcxproj | ||
dtls_server.vcxproj | ||
ecdh_curve25519.vcxproj | ||
ecdsa.vcxproj | ||
gen_entropy.vcxproj | ||
gen_key.vcxproj | ||
gen_random_ctr_drbg.vcxproj | ||
gen_random_havege.vcxproj | ||
generic_sum.vcxproj | ||
hello.vcxproj | ||
key_app.vcxproj | ||
key_app_writer.vcxproj | ||
key_ladder_demo.vcxproj | ||
load_roots.vcxproj | ||
mbedTLS.sln | ||
mbedTLS.vcxproj | ||
mini_client.vcxproj | ||
mpi_demo.vcxproj | ||
pem2der.vcxproj | ||
pk_decrypt.vcxproj | ||
pk_encrypt.vcxproj | ||
pk_sign.vcxproj | ||
pk_verify.vcxproj | ||
psa_constant_names.vcxproj | ||
query_compile_time_config.vcxproj | ||
req_app.vcxproj | ||
rsa_decrypt.vcxproj | ||
rsa_encrypt.vcxproj | ||
rsa_genkey.vcxproj | ||
rsa_sign.vcxproj | ||
rsa_sign_pss.vcxproj | ||
rsa_verify.vcxproj | ||
rsa_verify_pss.vcxproj | ||
selftest.vcxproj | ||
ssl_client1.vcxproj | ||
ssl_client2.vcxproj | ||
ssl_context_info.vcxproj | ||
ssl_fork_server.vcxproj | ||
ssl_mail_client.vcxproj | ||
ssl_server.vcxproj | ||
ssl_server2.vcxproj | ||
strerror.vcxproj | ||
udp_proxy.vcxproj | ||
zeroize.vcxproj |