mbedtls: Use `MBEDTLS_SHA256_SMALLER` in ARM platforms
authorAntonio Nino Diaz <antonio.ninodiaz@arm.com>
Wed, 24 May 2017 13:11:07 +0000 (14:11 +0100)
committerAntonio Nino Diaz <antonio.ninodiaz@arm.com>
Wed, 24 May 2017 13:17:02 +0000 (14:17 +0100)
commitd77b98cabf228b277af2bc5e5ea9c4b221a6cd7b
treeb3a175b0c131de46d6920c670bb767d7c1ca34e0
parentab1794f57659a77ad66defbc7ea5cb8afb920b2f
mbedtls: Use `MBEDTLS_SHA256_SMALLER` in ARM platforms

This options enables an implementation of SHA-256 that has a smaller
code footprint (~1.6 KB less) but is also ~30% slower. For ARM
platforms, code size is currently considered more important than
execution speed in the mbed TLS crypto module.

Added a small note about this option to the documentation of the
authentication framework.

Change-Id: I4c0b221ea5d3466465261316ba07b627fa01b233
Signed-off-by: Antonio Nino Diaz <antonio.ninodiaz@arm.com>
docs/auth-framework.md
plat/arm/common/arm_common.mk