mbedtls/visualc/VS2010
Ronald Cron df885c052c tests: Add build of a PSA test driver library
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>
2021-11-30 14:49:19 +01:00
..
benchmark.vcxproj programs: Link to tests common code 2020-06-26 10:45:16 +02:00
cert_app.vcxproj programs: Link to tests common code 2020-06-26 10:45:16 +02:00
cert_req.vcxproj programs: Link to tests common code 2020-06-26 10:45:16 +02:00
cert_write.vcxproj programs: Link to tests common code 2020-06-26 10:45:16 +02:00
crl_app.vcxproj programs: Link to tests common code 2020-06-26 10:45:16 +02:00
crypt_and_hash.vcxproj programs: Link to tests common code 2020-06-26 10:45:16 +02:00
crypto_examples.vcxproj programs: Link to tests common code 2020-06-26 10:45:16 +02:00
dh_client.vcxproj programs: Link to tests common code 2020-06-26 10:45:16 +02:00
dh_genprime.vcxproj programs: Link to tests common code 2020-06-26 10:45:16 +02:00
dh_server.vcxproj programs: Link to tests common code 2020-06-26 10:45:16 +02:00
dtls_client.vcxproj programs: Link to tests common code 2020-06-26 10:45:16 +02:00
dtls_server.vcxproj programs: Link to tests common code 2020-06-26 10:45:16 +02:00
ecdh_curve25519.vcxproj programs: Link to tests common code 2020-06-26 10:45:16 +02:00
ecdsa.vcxproj programs: Link to tests common code 2020-06-26 10:45:16 +02:00
gen_entropy.vcxproj programs: Link to tests common code 2020-06-26 10:45:16 +02:00
gen_key.vcxproj programs: Link to tests common code 2020-06-26 10:45:16 +02:00
gen_random_ctr_drbg.vcxproj programs: Link to tests common code 2020-06-26 10:45:16 +02:00
gen_random_havege.vcxproj programs: Link to tests common code 2020-06-26 10:45:16 +02:00
generic_sum.vcxproj programs: Link to tests common code 2020-06-26 10:45:16 +02:00
hello.vcxproj programs: Link to tests common code 2020-06-26 10:45:16 +02:00
key_app.vcxproj programs: Link to tests common code 2020-06-26 10:45:16 +02:00
key_app_writer.vcxproj programs: Link to tests common code 2020-06-26 10:45:16 +02:00
key_ladder_demo.vcxproj programs: Link to tests common code 2020-06-26 10:45:16 +02:00
load_roots.vcxproj New sample program to benchmark certificate loading 2021-10-25 21:17:08 +02:00
mbedTLS.sln New sample program to benchmark certificate loading 2021-10-25 21:17:08 +02:00
mbedTLS.vcxproj tests: Add build of a PSA test driver library 2021-11-30 14:49:19 +01:00
mini_client.vcxproj programs: Link to tests common code 2020-06-26 10:45:16 +02:00
mpi_demo.vcxproj programs: Link to tests common code 2020-06-26 10:45:16 +02:00
pem2der.vcxproj programs: Link to tests common code 2020-06-26 10:45:16 +02:00
pk_decrypt.vcxproj programs: Link to tests common code 2020-06-26 10:45:16 +02:00
pk_encrypt.vcxproj programs: Link to tests common code 2020-06-26 10:45:16 +02:00
pk_sign.vcxproj programs: Link to tests common code 2020-06-26 10:45:16 +02:00
pk_verify.vcxproj programs: Link to tests common code 2020-06-26 10:45:16 +02:00
psa_constant_names.vcxproj programs: Link to tests common code 2020-06-26 10:45:16 +02:00
query_compile_time_config.vcxproj programs: Link to tests common code 2020-06-26 10:45:16 +02:00
req_app.vcxproj programs: Link to tests common code 2020-06-26 10:45:16 +02:00
rsa_decrypt.vcxproj programs: Link to tests common code 2020-06-26 10:45:16 +02:00
rsa_encrypt.vcxproj programs: Link to tests common code 2020-06-26 10:45:16 +02:00
rsa_genkey.vcxproj programs: Link to tests common code 2020-06-26 10:45:16 +02:00
rsa_sign.vcxproj programs: Link to tests common code 2020-06-26 10:45:16 +02:00
rsa_sign_pss.vcxproj programs: Link to tests common code 2020-06-26 10:45:16 +02:00
rsa_verify.vcxproj programs: Link to tests common code 2020-06-26 10:45:16 +02:00
rsa_verify_pss.vcxproj programs: Link to tests common code 2020-06-26 10:45:16 +02:00
selftest.vcxproj programs: Link to tests common code 2020-06-26 10:45:16 +02:00
ssl_client1.vcxproj programs: Link to tests common code 2020-06-26 10:45:16 +02:00
ssl_client2.vcxproj ssl_test_lib.[hc]: new source file for common SSL test code 2021-01-06 10:25:35 +01:00
ssl_context_info.vcxproj programs: Link to tests common code 2020-06-26 10:45:16 +02:00
ssl_fork_server.vcxproj programs: Link to tests common code 2020-06-26 10:45:16 +02:00
ssl_mail_client.vcxproj programs: Link to tests common code 2020-06-26 10:45:16 +02:00
ssl_server.vcxproj programs: Link to tests common code 2020-06-26 10:45:16 +02:00
ssl_server2.vcxproj ssl_test_lib.[hc]: new source file for common SSL test code 2021-01-06 10:25:35 +01:00
strerror.vcxproj programs: Link to tests common code 2020-06-26 10:45:16 +02:00
udp_proxy.vcxproj programs: Link to tests common code 2020-06-26 10:45:16 +02:00
zeroize.vcxproj programs: Link to tests common code 2020-06-26 10:45:16 +02:00