mirror of
https://xff.cz/git/u-boot/
synced 2025-10-03 08:21:30 +02:00
net: lwip: Update lwIP for mbedTLS > 3.0 support and enable https
The current code support mbedTLS 2.28. Since we are using a newer version in U-Boot, update the necessary accessors and the lwIP codebase to work with mbedTLS 3.6.0. It's worth noting that the patches are already sent to lwIP [0] While at it enable LWIP_ALTCP_TLS and enable TLS support in lwIP [0] https://github.com/lwip-tcpip/lwip/pull/47 Signed-off-by: Javier Tia <javier.tia@linaro.org> Acked-by: Jerome Forissier <jerome.forissier@linaro.org> Signed-off-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
This commit is contained in:
@@ -154,4 +154,10 @@
|
||||
#define MEMP_MEM_INIT 1
|
||||
#define MEM_LIBC_MALLOC 1
|
||||
|
||||
#if defined(CONFIG_MBEDTLS_LIB_TLS)
|
||||
#define LWIP_ALTCP 1
|
||||
#define LWIP_ALTCP_TLS 1
|
||||
#define LWIP_ALTCP_TLS_MBEDTLS 1
|
||||
#endif
|
||||
|
||||
#endif /* LWIP_UBOOT_LWIPOPTS_H */
|
||||
|
Reference in New Issue
Block a user