Daniel Engberg 5a078180d0 mbedtls: Disable MBEDTLS_SHA256_SMALLER implementation
Disable MBEDTLS_SHA256_SMALLER implementation, not enabled by default in
upstream and reduces performance by quite a bit.

Source: include/mbedtls/config.h

Enable an implementation of SHA-256 that has lower ROM footprint but also
lower performance.

The default implementation is meant to be a reasonnable compromise between
performance and size. This version optimizes more aggressively for size at
the expense of performance. Eg on Cortex-M4 it reduces the size of
mbedtls_sha256_process() from ~2KB to ~0.5KB for a performance hit of
about 30%.

The size of mbedtls increased a little bit:
ipkg for mips_24kc before:
164.382 Bytes
ipkg for mips_24kc after:
166.240 Bytes

Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
2018-07-07 18:31:13 +02:00
..
2018-07-04 16:18:08 +02:00
2017-01-03 14:24:33 +01:00
2016-12-16 22:39:22 +01:00
2018-06-14 22:53:58 +02:00
2016-12-16 22:39:22 +01:00
2018-06-18 18:21:20 +02:00
2018-04-30 09:01:28 +02:00
2017-03-22 09:16:23 +01:00
2018-03-31 16:27:24 +02:00
2018-05-02 09:18:26 +02:00
2018-06-01 08:39:59 +02:00
2018-05-09 11:26:45 +02:00
2018-03-31 10:20:20 +02:00
2018-06-13 12:15:38 +02:00
2018-07-07 18:29:14 +02:00
2018-04-28 15:28:59 +02:00