lwip-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [lwip-users] mbedtls


From: address@hidden
Subject: Re: [lwip-users] mbedtls
Date: Mon, 17 Feb 2020 21:38:37 +0100
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.5.0

Am 17.02.2020 um 18:09 schrieb Trampas Stern:
> Does anyone know how on an embedded platform to setup the entropy using
> mbedtls?

I did that, but it's been a while, and I don't remember from the top of
my head.

I think you *can* use a string entropy source and implement that
correctly or you can enable some kind of debug option that says
somethink like "this is for testing only; using no entropy is ok"...

>
> 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.

That seems strange.

Regards,
Simon



reply via email to

[Prev in Thread] Current Thread [Next in Thread]