mbedtls/tests
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
..
.jenkins
configs
data_files Merge pull request #773 from paul-elliott-arm/discrepancy_cert 2020-12-03 12:19:39 +01:00
docker/bionic
git-scripts
include/test Move the fake PSA external RNG to its own header and source files 2021-01-20 20:02:01 +01:00
scripts Test SSL with non-deterministic ECDSA 2021-01-13 20:31:24 +01:00
src Move the fake PSA external RNG to its own header and source files 2021-01-20 20:02:01 +01:00
suites Don't call TEST_ASSERT in PSA_DONE 2021-01-06 20:49:42 +01:00
.gitignore
CMakeLists.txt Merge pull request #3407 from RcColes/development 2020-10-28 12:29:14 +01:00
compat-in-docker.sh
compat.sh
context-info.sh Merge pull request #3614 from gilles-peskine-arm/ssl-opt-gnutls-printf-development 2020-11-04 17:55:42 +01:00
Descriptions.txt
make-in-docker.sh
Makefile Depend on all test headers when building tests 2021-01-20 19:49:23 +01:00
ssl-opt-in-docker.sh
ssl-opt.sh Merge pull request #3614 from gilles-peskine-arm/ssl-opt-gnutls-printf-development 2020-11-04 17:55:42 +01:00