Add entropy safety switch.

Add a switch that turns entropy collecting off entirely, but enables
mbed TLS to run in an entirely unsafe mode. Enables to test mbed TLS
on platforms that don't have their entropy sources integrated yet.
This commit is contained in:
Janos Follath 2016-06-08 15:29:18 +01:00
parent 184eea6aa0
commit 53de78444c
6 changed files with 65 additions and 0 deletions

View file

@ -18,6 +18,7 @@
#
# Things that shouldn't be enabled with "full".
#
# MBEDTLS_TEST_WO_ENTROPY
# MBEDTLS_DEPRECATED_REMOVED
# MBEDTLS_HAVE_SSE2
# MBEDTLS_PLATFORM_NO_STD_FUNCTIONS
@ -69,6 +70,7 @@ Options
EOU
my @excluded = qw(
MBEDTLS_TEST_WO_ENTROPY
MBEDTLS_DEPRECATED_REMOVED
MBEDTLS_HAVE_SSE2
MBEDTLS_PLATFORM_NO_STD_FUNCTIONS