mirror of https://github.com/arendst/Tasmota.git
Merge pull request #10075 from s-hadinger/tls_4k_stack
Change Thunk Stack size for 4K RSA #9704
This commit is contained in:
commit
2b578505c8
|
@ -43,7 +43,7 @@ uint32_t stack_thunk_light_refcnt = 0;
|
|||
//#define _stackSize (5600/4)
|
||||
#if defined(USE_MQTT_AWS_IOT)
|
||||
#define _stackSize (5300/4) // using a light version of bearssl we can save 300 bytes
|
||||
#elif defined(USE_MQTT_TLS_FORCE_EC_CIPHER)
|
||||
#elif defined(USE_MQTT_TLS_FORCE_EC_CIPHER) || defined(USE_4K_RSA)
|
||||
#define _stackSize (4800/4) // no private key, we can reduce a little, max observed 4300
|
||||
#else
|
||||
#define _stackSize (3600/4) // using a light version of bearssl we can save 2k
|
||||
|
|
Loading…
Reference in New Issue