A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/espressif/ESP8266_RTOS_SDK/commit/c965e03d below:

Merge branch 'optimize/add_alternative_exponentiation' into 'release/… · espressif/ESP8266_RTOS_SDK@c965e03 · GitHub

File tree Expand file treeCollapse file tree 5 files changed

+378

-577

lines changed

Filter options

Expand file treeCollapse file tree 5 files changed

+378

-577

lines changed Original file line number Diff line number Diff line change

@@ -196,6 +196,10 @@ target_sources(mbedcrypto PRIVATE "${current_dir}/port/esp_mem.c"

196 196

"${current_dir}/port/esp_timing.c"

197 197

"${current_dir}/port/esp_hardware.c")

198 198 199 +

if(CONFIG_MBEDTLS_MPI_EXP_MOD_ALT)

200 +

target_sources(mbedcrypto PRIVATE "${current_dir}/port/esp_bignum.c")

201 +

endif()

202 + 199 203

if(CONFIG_SOC_AES_SUPPORTED)

200 204

target_sources(mbedcrypto PRIVATE "${current_dir}/port/aes/esp_aes_xts.c"

201 205

"${current_dir}/port/aes/esp_aes_common.c"

Original file line number Diff line number Diff line change

@@ -639,6 +639,13 @@ config MBEDTLS_SHA3_C

639 639

Enabling this configuration option increases the flash footprint

640 640

by almost 4KB.

641 641 642 +

config MBEDTLS_MPI_EXP_MOD_ALT

643 +

bool "Enable the alternative exponentiation"

644 +

default y

645 +

help

646 +

Perform an exponentiation by the algorithm of mbedtls V2,

647 +

which is faster when calling "mbedtls_mpi_exp_mod()".

648 + 642 649

choice MBEDTLS_TLS_MODE

643 650

bool "TLS Protocol Role"

644 651

default MBEDTLS_TLS_SERVER_AND_CLIENT

Original file line number Diff line number Diff line change

@@ -10,7 +10,7 @@ COMPONENT_SRCDIRS := $(CURRENT_DIR)/mbedtls/library $(CURRENT_DIR)/port

10 10 11 11

COMPONENT_OBJEXCLUDE := $(CURRENT_DIR)/mbedtls/library/net_sockets.o

12 12 13 -

ifndef CONFIG_MBEDTLS_HARDWARE_MPI

13 +

ifndef CONFIG_MBEDTLS_MPI_EXP_MOD_ALT

14 14

COMPONENT_OBJEXCLUDE += $(CURRENT_DIR)/port/esp_bignum.o

15 15

endif

16 16

You can’t perform that action at this time.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4