diff options
author | Ilias Apalodimas <ilias.apalodimas@linaro.org> | 2024-11-10 10:28:40 +0200 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2024-11-12 19:09:52 -0600 |
commit | 5907c81647055a03580dae850f82d85f7d810f7e (patch) | |
tree | b0c579ee87399aa6144706875871e2ad03a9315d /cmd | |
parent | 1f444e915ec8e8abfb11dccb7b9d8340096695b4 (diff) | |
download | u-boot-5907c81647055a03580dae850f82d85f7d810f7e.tar.gz |
net: lwip: Enable https:// support for wget
With the recent changes of lwip & mbedTLS we can now download from
https:// urls instead of just http://.
Adjust our wget lwip version parsing to support both URLs.
While at it adjust the default TCP window for QEMU since https seems to
require at least 16384
Signed-off-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
Reviewed-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Jerome Forissier <jerome.forissier@linaro.org>
Diffstat (limited to 'cmd')
-rw-r--r-- | cmd/Kconfig | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/cmd/Kconfig b/cmd/Kconfig index 636833646f6..b2d0348fe30 100644 --- a/cmd/Kconfig +++ b/cmd/Kconfig @@ -2124,6 +2124,25 @@ config CMD_WGET wget is a simple command to download kernel, or other files, from a http server over TCP. +config WGET_HTTPS + bool "wget https" + depends on CMD_WGET + depends on PROT_TCP_LWIP + depends on MBEDTLS_LIB + select SHA256 + select RSA + select ASYMMETRIC_KEY_TYPE + select ASYMMETRIC_PUBLIC_KEY_SUBTYPE + select X509_CERTIFICATE_PARSER + select PKCS7_MESSAGE_PARSER + select MBEDTLS_LIB_CRYPTO + select MBEDTLS_LIB_TLS + select RSA_VERIFY_WITH_PKEY + select X509_CERTIFICATE_PARSER + select PKCS7_MESSAGE_PARSER + help + Enable TLS over http for wget. + endif # if CMD_NET config CMD_PXE |