summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authordavidcunado-arm <david.cunado@arm.com>2017-05-30 10:56:47 +0100
committerGitHub <noreply@github.com>2017-05-30 10:56:47 +0100
commit572e14132706377530ea9f9ba4cd1fcb4b2b9479 (patch)
treeaf982ccc1159c358c3b3475eb2621f277ed322da /docs
parent562aef8e2f69907a888c6e053d868b360d1dd4b3 (diff)
parentd77b98cabf228b277af2bc5e5ea9c4b221a6cd7b (diff)
Merge pull request #949 from antonio-nino-diaz-arm/an/printf-memory
Reduce code size when building with Trusted Board Boot enabled
Diffstat (limited to 'docs')
-rw-r--r--docs/auth-framework.md6
1 files changed, 5 insertions, 1 deletions
diff --git a/docs/auth-framework.md b/docs/auth-framework.md
index 531505bf..b416acfc 100644
--- a/docs/auth-framework.md
+++ b/docs/auth-framework.md
@@ -909,9 +909,13 @@ int verify_hash(void *data_ptr, unsigned int data_len,
```
The key algorithm (rsa, ecdsa) must be specified in the build system using the
-`MBEDTLS_KEY_ALG` variable, so the Makefile can include the corresponding
+`TF_MBEDTLS_KEY_ALG` variable, so the Makefile can include the corresponding
sources in the build.
+Note: If code size is a concern, the build option `MBEDTLS_SHA256_SMALLER` can
+be defined in the platform Makefile. It will make mbed TLS use an implementation
+of SHA-256 with smaller memory footprint (~1.5 KB less) but slower (~30%).
+
- - - - - - - - - - - - - - - - - - - - - - - - - -
_Copyright (c) 2015, ARM Limited and Contributors. All rights reserved._