mirror of
https://github.com/polhenarejos/pico-keys-sdk
synced 2026-06-08 08:03:35 +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.
|
* 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
|
||||||
|
|||||||
Reference in New Issue
Block a user