arm-trusted-firmware/drivers/auth/mbedtls
John Tsichritzis 6d01a46334 Prepare Mbed TLS drivers for shared heap
The Mbed TLS drivers, in order to work, need a heap for internal usage.
This heap, instead of being directly referenced by the drivers, now it
is being accessed indirectly through a pointer. Also, the heap, instead
of being part of the drivers, now it is being received through the
plat_get_mbedtls_heap() function. This function requests a heap from the
current BL image which utilises the Mbed TLS drivers.

Those changes create the opportunity for the Mbed TLS heap to be shared
among different images, thus saving memory. A default heap
implementation is provided but it can be overridden by a platform
specific, optimised implemenetation.

Change-Id: I286a1f10097a9cdcbcd312201eea576c18d157fa
Signed-off-by: John Tsichritzis <john.tsichritzis@arm.com>
2018-09-04 10:32:06 +01:00
..
mbedtls_common.c Prepare Mbed TLS drivers for shared heap 2018-09-04 10:32:06 +01:00
mbedtls_common.mk Don't include mbebtls include paths in INCLUDES 2018-08-03 11:31:37 +01:00
mbedtls_crypto.c tbbr: Add build flag HASH_ALG to let the user to select the SHA 2017-11-21 14:16:18 +08:00
mbedtls_crypto.mk Create a library file for libmbedtls 2018-08-03 11:31:36 +01:00
mbedtls_x509.mk Create a library file for libmbedtls 2018-08-03 11:31:36 +01:00
mbedtls_x509_parser.c Use SPDX license identifiers 2017-05-03 09:39:28 +01:00