diff --git a/components/wpa_supplicant/port/include/os.h b/components/wpa_supplicant/port/include/os.h index 8f105080..a7c8eadc 100644 --- a/components/wpa_supplicant/port/include/os.h +++ b/components/wpa_supplicant/port/include/os.h @@ -22,6 +22,10 @@ // #include "esp32/rom/ets_sys.h" #include "esp_libc.h" +#if CONFIG_LTM_FAST +#define LTM_FAST +#endif + typedef time_t os_time_t; /** diff --git a/components/wpa_supplicant/src/crypto/libtommath.h b/components/wpa_supplicant/src/crypto/libtommath.h index 487be1ec..1010f9f6 100644 --- a/components/wpa_supplicant/src/crypto/libtommath.h +++ b/components/wpa_supplicant/src/crypto/libtommath.h @@ -17,9 +17,6 @@ #include "os.h" #include "stdarg.h" -#if CONFIG_LTM_FAST -#define LTM_FAST -#endif #ifndef CHAR_BIT #define CHAR_BIT 8 diff --git a/components/wpa_supplicant/src/tls/libtommath.h b/components/wpa_supplicant/src/tls/libtommath.h index 20141d0c..07574de7 100644 --- a/components/wpa_supplicant/src/tls/libtommath.h +++ b/components/wpa_supplicant/src/tls/libtommath.h @@ -16,10 +16,6 @@ #include "os.h" #include "stdarg.h" -#if CONFIG_LTM_FAST -#define LTM_FAST -#endif - #ifndef CHAR_BIT #define CHAR_BIT 8 #endif