From 201f2e6096d2a25c305901407084606b53fb3519 Mon Sep 17 00:00:00 2001 From: dongheng Date: Wed, 26 Feb 2020 10:58:52 +0800 Subject: [PATCH] feat(mbedtls): speed up bignum calculation --- components/mbedtls/port/include/mbedtls/esp_config.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/components/mbedtls/port/include/mbedtls/esp_config.h b/components/mbedtls/port/include/mbedtls/esp_config.h index c8f682e2..3502aae6 100644 --- a/components/mbedtls/port/include/mbedtls/esp_config.h +++ b/components/mbedtls/port/include/mbedtls/esp_config.h @@ -124,6 +124,9 @@ #undef MBEDTLS_MPI_EXP_MOD_ALT #undef MBEDTLS_MPI_MUL_MPI_ALT +/* This option will speed up calculation of "32-bit * 32-bit" */ +#define MBEDTLS_NO_UDBL_DIVISION + /** * \def MBEDTLS_ENTROPY_HARDWARE_ALT *