Enabling entropy and ctr_drbg for emulation mode.

Signed-off-by: Pol Henarejos <pol.henarejos@cttc.es>
This commit is contained in:
Pol Henarejos 2023-02-16 23:41:43 +01:00
parent 1e1e49010a
commit 47fab18f96
No known key found for this signature in database
GPG key ID: C0095B7870A4CCD3

View file

@ -2212,7 +2212,9 @@
* *
* This module provides the CTR_DRBG AES random number generator. * This module provides the CTR_DRBG AES random number generator.
*/ */
//#define MBEDTLS_CTR_DRBG_C #ifdef ENABLE_EMULATION
#define MBEDTLS_CTR_DRBG_C
#endif
/** /**
* \def MBEDTLS_DEBUG_C * \def MBEDTLS_DEBUG_C
@ -2347,7 +2349,9 @@
* *
* This module provides a generic entropy pool * This module provides a generic entropy pool
*/ */
//#define MBEDTLS_ENTROPY_C #ifdef ENABLE_EMULATION
#define MBEDTLS_ENTROPY_C
#endif
/** /**
* \def MBEDTLS_ERROR_C * \def MBEDTLS_ERROR_C