mbedtls/visualc/VS2010
Gilles Peskine 1af872d23b Move the fake PSA external RNG to its own header and source files
Move the declaration of the functions needed to use the test
implementation of mbedtls_psa_external_get_random() to a new header
file. Before, they were declared in
tests/include/test/psa_crypto_helpers.h, but this header file can't be
included in sample programs because it also includes headers from the
library directory which is not on the include path for sample
programs.

This fixes the build of the sample programs when
MBEDTLS_PSA_CRYPTO_EXTERNAL_RNG and MBEDTLS_USE_PSA_CRYPTO are
enabled.

Move the implementation of the functions to a separate .c file as
well. This isn't strictly necessary, but makes the structure of the
source code easier to understand.

Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
2021-01-20 20:02:01 +01:00
..
aescrypt2.vcxproj programs: Link to tests common code 2020-06-26 10:45:16 +02: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
mbedTLS.sln Merge pull request #3120 from gilles-peskine-arm/check-windows-files 2020-04-20 13:59:27 +02:00
mbedTLS.vcxproj Move the fake PSA external RNG to its own header and source files 2021-01-20 20:02:01 +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