mirror of
https://github.com/polhenarejos/pico-keys-sdk
synced 2026-04-24 18:03:07 +02:00
Enabling entropy and ctr_drbg for emulation mode.
Signed-off-by: Pol Henarejos <pol.henarejos@cttc.es>
This commit is contained in:
@@ -2212,7 +2212,9 @@
|
||||
*
|
||||
* 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
|
||||
@@ -2347,7 +2349,9 @@
|
||||
*
|
||||
* This module provides a generic entropy pool
|
||||
*/
|
||||
//#define MBEDTLS_ENTROPY_C
|
||||
#ifdef ENABLE_EMULATION
|
||||
#define MBEDTLS_ENTROPY_C
|
||||
#endif
|
||||
|
||||
/**
|
||||
* \def MBEDTLS_ERROR_C
|
||||
|
||||
Reference in New Issue
Block a user