Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make lwip to work on u-boot and mbedtl v3.6 #47

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

jetm
Copy link

@jetm jetm commented Sep 19, 2024

While adding https:// support to U-Boot, several issues were found while using http client app from lwip with SSL support from mbedtls. Further details are in the commit messages.

A minimal set of changes to make the LWIP mbedtls app compatible with
the latest mbedTLS 3.6.x branch.

Only TLS 1.2 with LWIP http client app, and OS_SYS=0 (U-Boot) have been
tested. More changes might be required in other setup combinations. 

Signed-off-by: Javier Tia <javier.tia@linaro.org>
When using the http-client LWIP app in U-Boot (OS_SYS=0), the handshake
fails because LWIP doesn't send TCP packets after it initiates.

Signed-off-by: Javier Tia <javier.tia@linaro.org>
SNI, or Server Name Indication, is an addition to the TLS encryption
protocol that enables a client device to specify the domain name it is
trying to reach in the first step of the TLS handshake, preventing
common name mismatch errors and not reaching to HTTPS server that
enforce this condition.

Signed-off-by: Javier Tia <javier.tia@linaro.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant