Skip to content

Commit f556340

Browse files
committed
Merge pull request #1558 from petermm/reenable-MBEDTLS_ECP_FIXED_POINT_OPTIM
ESP32: re-enable `MBEDTLS_ECP_FIXED_POINT_OPTIM` **TL;DR: 0.6.5 shipped with `MBEDTLS_ECP_FIXED_POINT_OPTIM` enabled - as should 0.6.6.** upstream have disabled the `MBEDTLS_ECP_FIXED_POINT_OPTIM` config across all their recent 5.x.x releases, which was previously enabled. > MbedTLS: MbedTLS option MBEDTLS_ECP_FIXED_POINT_OPTIM is disabled by default to save on significant (~27KB) flash footprint. This allows easier migration from IDF 4.x to 5.x release. If the performance is desired and ECC accelerator is not available then the config can be turned on. The reason is to save flash space and facilitate 4.x to 5.x migration. These changes are made under both the "Apache 2.0" and the "GNU Lesser General Public License 2.1 or later" license terms (dual license). SPDX-License-Identifier: Apache-2.0 OR LGPL-2.1-or-later
2 parents 6f44ff8 + 6840a5a commit f556340

File tree

4 files changed

+4
-0
lines changed

4 files changed

+4
-0
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
CONFIG_PARTITION_TABLE_CUSTOM=y
22
CONFIG_ESPTOOLPY_FLASHSIZE_4MB=y
3+
CONFIG_MBEDTLS_ECP_FIXED_POINT_OPTIM=y
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
CONFIG_PARTITION_TABLE_CUSTOM=y
22
CONFIG_ESPTOOLPY_FLASHSIZE_4MB=y
3+
CONFIG_MBEDTLS_ECP_FIXED_POINT_OPTIM=y
34
CONFIG_COMPILER_OPTIMIZATION_PERF=y
45
CONFIG_COMPILER_OPTIMIZATION_ASSERTIONS_SILENT=y

src/platforms/esp32/test/sdkconfig.ci.wokwi

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,4 @@ CONFIG_AVM_RTC_SLOW_MAX_SIZE=1024
55
CONFIG_ETH_USE_OPENETH=n
66
CONFIG_COMPILER_OPTIMIZATION_PERF=y
77
CONFIG_COMPILER_OPTIMIZATION_ASSERTIONS_SILENT=y
8+
CONFIG_MBEDTLS_ECP_FIXED_POINT_OPTIM=y

src/platforms/esp32/test/sdkconfig.defaults

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,4 @@ CONFIG_ESPTOOLPY_FLASHSIZE_DETECT=n
44
CONFIG_ESP_INT_WDT_TIMEOUT_MS=10000
55
CONFIG_ETH_USE_OPENETH=y
66
CONFIG_AVM_RTC_SLOW_MAX_SIZE=1024
7+
CONFIG_MBEDTLS_ECP_FIXED_POINT_OPTIM=y

0 commit comments

Comments
 (0)