mirror of
https://github.com/espressif/ESP8266_RTOS_SDK.git
synced 2025-08-06 15:15:15 +08:00
Merge branch 'feature/calculate_faster_in_bignum' into 'master'
feat(crypto): calculate faster in bignum See merge request sdk/ESP8266_RTOS_SDK!475
This commit is contained in:
11
components/wpa_supplicant/Kconfig
Normal file
11
components/wpa_supplicant/Kconfig
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
menu "wpa_supplicant"
|
||||||
|
|
||||||
|
config LTM_FAST
|
||||||
|
bool "Use faster div, esptmod, sqr, montgomery multiplication algorithm"
|
||||||
|
default y
|
||||||
|
help
|
||||||
|
Enable the option can enable faster div, faster exptmod, faster sqr, fast
|
||||||
|
montgomery multiplication algorithm. Enable this option will cost about
|
||||||
|
3K ROM more than disable this option.
|
||||||
|
|
||||||
|
endmenu
|
@ -17,6 +17,9 @@
|
|||||||
#include "os.h"
|
#include "os.h"
|
||||||
#include "stdarg.h"
|
#include "stdarg.h"
|
||||||
|
|
||||||
|
#if CONFIG_LTM_FAST
|
||||||
|
#define LTM_FAST
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifndef CHAR_BIT
|
#ifndef CHAR_BIT
|
||||||
#define CHAR_BIT 8
|
#define CHAR_BIT 8
|
||||||
|
Reference in New Issue
Block a user