Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit adef736

Browse files
committed
Merge branch 'feature/speed_up_bignum_calculation' into 'master'
feat(mbedtls): speed up bignum calculation See merge request sdk/ESP8266_RTOS_SDK!1311
2 parents 318b092 + 201f2e6 commit adef736

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

components/mbedtls/port/include/mbedtls/esp_config.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,9 @@
124124
#undef MBEDTLS_MPI_EXP_MOD_ALT
125125
#undef MBEDTLS_MPI_MUL_MPI_ALT
126126

127+
/* This option will speed up calculation of "32-bit * 32-bit" */
128+
#define MBEDTLS_NO_UDBL_DIVISION
129+
127130
/**
128131
* \def MBEDTLS_ENTROPY_HARDWARE_ALT
129132
*

0 commit comments

Comments
 (0)