openwrtv4/package
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
..
base-files base-files: add menuconfig option for HOME_URL 2018-06-27 08:40:34 +02:00
boot uboot-kirkwood: fix malformed boot configuration 2018-06-27 08:42:54 +02:00
devel perf: remove linux 4.4 workarounds 2018-07-07 14:53:26 +02:00
firmware firmware: amd64-microcode: update to 20180524 2018-07-07 12:23:00 +02:00
kernel linux: update license tag to use correct SPDX tag 2018-07-07 16:12:03 +02:00
libs mbedtls: Disable MBEDTLS_SHA256_SMALLER implementation 2018-07-07 18:31:13 +02:00
network mbedtls: Update to 2.11.0 2018-07-07 18:29:14 +02:00
system ca-certificates: ca-bundle: add symlink for openssl default setting 2018-07-07 18:19:39 +02:00
utils mbedtls: Update to 2.11.0 2018-07-07 18:29:14 +02:00
Makefile imagebuilder: reuse rootfs preparation from rootfs.mk 2018-03-07 09:59:08 +01:00