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
benchmark.vcxproj
cert_app.vcxproj
cert_req.vcxproj
cert_write.vcxproj
crl_app.vcxproj
crypt_and_hash.vcxproj
crypto_examples.vcxproj
dh_client.vcxproj programs: Link to tests common code 2020-06-26 10:45:16 +02:00
dh_genprime.vcxproj
dh_server.vcxproj
dtls_client.vcxproj
dtls_server.vcxproj programs: Link to tests common code 2020-06-26 10:45:16 +02:00
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
mbedTLS.sln
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
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_test_lib.[hc]: new source file for common SSL test code 2021-01-06 10:25:35 +01:00
ssl_context_info.vcxproj
ssl_fork_server.vcxproj
ssl_mail_client.vcxproj
ssl_server.vcxproj
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
udp_proxy.vcxproj
zeroize.vcxproj