mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-04-16 01:24:27 +00:00
feat(mbedtls): optimize SHA256 for reduced memory footprint
Set MBEDTLS_SHA256_SMALLER as the default mbedTLS configuration to minimize memory usage, trading off some processing speed for a smaller footprint. Change-Id: Ibfa6e115a0ed94096b9acdd9e237f3fb5457071d Signed-off-by: Manish V Badarkhe <Manish.Badarkhe@arm.com>
This commit is contained in:
parent
bd9b01c683
commit
b57468b3d0
1 changed files with 6 additions and 0 deletions
|
@ -152,3 +152,9 @@
|
|||
* the warnings to more functions.
|
||||
*/
|
||||
#define MBEDTLS_CHECK_RETURN_WARNING
|
||||
|
||||
/*
|
||||
* Use an implementation of SHA-256 with a smaller memory footprint but reduced
|
||||
* speed.
|
||||
*/
|
||||
#define MBEDTLS_SHA256_SMALLER
|
||||
|
|
Loading…
Add table
Reference in a new issue