cancel
Showing results for 
Search instead for 
Did you mean: 

entropy source failed

Anon767
Associate II

Hi,

Im using the STM32F746NG Discovery Kit MCU.

Im getting following error when trying to make a HTTPS connection:

mbed_tls ctr_drbg entropy source failed.

Although I enabled the RNG and CRYP Module I put following macros into my mbed config.h:

#define MBEDTLS_NO_PLATFORM_ENTROPY

#define MBEDTLS_ENTROPY_HARDWARE_ALT

And Im using C code as entropy source:

https://github.com/STMicroelectronics/STM32CubeF4/blob/master/Projects/STM324x9I_EVAL/Applications/mbedTLS/SSL_Server/Src/hardware_rng.c

Could it be that my MCU simply has no own RNG? Or what could Im otherwise doing wrong?

Thanks in advance 🙂

0 REPLIES 0