mirror of
https://github.com/CTCaer/switch-l4t-atf.git
synced 2025-02-08 03:20:59 +00:00
Merge pull request #958 from antonio-nino-diaz-arm/an/mbedtls-heap-size
mbedtls: Define optimized mbed TLS heap size
This commit is contained in:
commit
2bd26faf62
@ -16,7 +16,7 @@
|
||||
#if (TF_MBEDTLS_KEY_ALG_ID == TF_MBEDTLS_ECDSA)
|
||||
#define MBEDTLS_HEAP_SIZE (14*1024)
|
||||
#elif (TF_MBEDTLS_KEY_ALG_ID == TF_MBEDTLS_RSA)
|
||||
#define MBEDTLS_HEAP_SIZE (8*1024)
|
||||
#define MBEDTLS_HEAP_SIZE (6*1024)
|
||||
#endif
|
||||
static unsigned char heap[MBEDTLS_HEAP_SIZE];
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user