summaryrefslogtreecommitdiffstatshomepage
path: root/extmod
diff options
context:
space:
mode:
authorGlenn Strauss <gstrauss@gluelogic.com>2024-07-25 03:45:09 -0400
committerDamien George <damien@micropython.org>2025-01-17 10:10:57 +1100
commitf2cd1a3db6d0e9f3cd0025a3167822356f8c1614 (patch)
treee9aa6922f208903b5a1c53597fcad2474e5897e2 /extmod
parent624bd48d2fd90fd9e6cd95b82b8caef4121cb1c7 (diff)
downloadmicropython-f2cd1a3db6d0e9f3cd0025a3167822356f8c1614.tar.gz
micropython-f2cd1a3db6d0e9f3cd0025a3167822356f8c1614.zip
lib/mbedtls: Update to mbedtls v3.6.2.
Signed-off-by: Glenn Strauss <gstrauss@gluelogic.com>
Diffstat (limited to 'extmod')
-rw-r--r--extmod/extmod.cmake1
-rw-r--r--extmod/extmod.mk1
-rw-r--r--extmod/mbedtls/mbedtls_config_common.h1
3 files changed, 3 insertions, 0 deletions
diff --git a/extmod/extmod.cmake b/extmod/extmod.cmake
index 154931a664..532ce83f90 100644
--- a/extmod/extmod.cmake
+++ b/extmod/extmod.cmake
@@ -219,6 +219,7 @@ if(MICROPY_SSL_MBEDTLS)
${MICROPY_LIB_MBEDTLS_DIR}/library/pkcs12.c
${MICROPY_LIB_MBEDTLS_DIR}/library/pkcs5.c
${MICROPY_LIB_MBEDTLS_DIR}/library/pkparse.c
+ ${MICROPY_LIB_MBEDTLS_DIR}/library/pk_ecc.c
${MICROPY_LIB_MBEDTLS_DIR}/library/pk_wrap.c
${MICROPY_LIB_MBEDTLS_DIR}/library/pkwrite.c
${MICROPY_LIB_MBEDTLS_DIR}/library/platform.c
diff --git a/extmod/extmod.mk b/extmod/extmod.mk
index c8bc74d268..6d54ae2222 100644
--- a/extmod/extmod.mk
+++ b/extmod/extmod.mk
@@ -294,6 +294,7 @@ SRC_THIRDPARTY_C += $(addprefix $(MBEDTLS_DIR)/library/,\
pkcs12.c \
pkcs5.c \
pkparse.c \
+ pk_ecc.c \
pk_wrap.c \
pkwrite.c \
platform.c \
diff --git a/extmod/mbedtls/mbedtls_config_common.h b/extmod/mbedtls/mbedtls_config_common.h
index 4028bdf56d..6ea8540af9 100644
--- a/extmod/mbedtls/mbedtls_config_common.h
+++ b/extmod/mbedtls/mbedtls_config_common.h
@@ -79,6 +79,7 @@
#define MBEDTLS_OID_C
#define MBEDTLS_PKCS5_C
#define MBEDTLS_PK_C
+#define MBEDTLS_PK_HAVE_ECC_KEYS
#define MBEDTLS_PK_PARSE_C
#define MBEDTLS_PLATFORM_C
#define MBEDTLS_RSA_C