Enabling entropy and ctr_drbg for emulation mode.
Signed-off-by: Pol Henarejos <pol.henarejos@cttc.es>
This commit is contained in:
parent
1e1e49010a
commit
47fab18f96
1 changed files with 6 additions and 2 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue