Does anyone know how on an embedded platform to setup the entropy using mbedtls?
Specifically I am trying to get https running with lwip and getting an assertion failure:
Assertion "httpd_init: altcp_tls_new failed" failed at line 2872 in ../src/libraries/lwip/src/apps/http/httpd.c
Which I think is because of lack of entropy functions.
I did try defining ALTCP_MBEDTLS_ENTROPY_PTR and ALTCP_MBEDTLS_ENTROPY_LEN but that seems to cause hard faults, when I assign it to a function pointer that generates a random number.
Thanks
Trampas