xref: /rk3399_ARM-atf/plat/st/common/include/stm32mp_mbedtls_config.h (revision b67e984664a8644d6cfd1812cabaa02cf24f09c9)
1 /*
2  * Copyright (c) 2025, STMicroelectronics - All Rights Reserved
3  *
4  * SPDX-License-Identifier: BSD-3-Clause
5  */
6 
7 #include <default_mbedtls_config.h>
8 
9 /* MPI / BIGNUM options */
10 #undef MBEDTLS_MPI_WINDOW_SIZE
11 #define MBEDTLS_MPI_WINDOW_SIZE			2
12 
13 /*
14  * Mbed TLS heap size is small as we only use the asn1
15  * parsing functions
16  * digest, signature and crypto algorithm are done by
17  * other library.
18  */
19 #undef TF_MBEDTLS_HEAP_SIZE
20 #define TF_MBEDTLS_HEAP_SIZE			U(5120)
21