aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/relink-lib.sh
diff options
context:
space:
mode:
authorEneas U de Queiroz <cote2004-github@yahoo.com>2018-10-24 16:28:59 -0300
committerHauke Mehrtens <hauke@hauke-m.de>2019-02-12 22:24:09 +0100
commit2eeb2853ed3199c3bb65d3498e02ac36526befb4 (patch)
treee565da864756aa79a5360cd16d477ac074bd6355 /scripts/relink-lib.sh
parentd872d00b2f7e31b98e11e83922d1aaefc270647e (diff)
downloadupstream-2eeb2853ed3199c3bb65d3498e02ac36526befb4.tar.gz
upstream-2eeb2853ed3199c3bb65d3498e02ac36526befb4.tar.bz2
upstream-2eeb2853ed3199c3bb65d3498e02ac36526befb4.zip
openssl: optimizations based on ARCH/small flash
Add a patch to enable the option to change the default ciphersuite list ordering to prefer ChaCha20 over AES-GCM. This is used by default for all platforms, except for x86_64 and aarch64. The assumption is that only the latter have AES-specific CPU instructions and asm code that uses them in openssl. Chacha20Poly1305 is 3x faster than AES-256 in systems without AES instructions, with an equivalent strength. Disable error messages by default except for devices with small flash or RAM, to aid debugging. Disable ASM by default on arm platform with small flash. Size difference on mips and powerpc, the other platforms with small flash devices, are not really relevant (using 100K as a threshold). All of the affected platforms are source-only anyway. Signed-off-by: Eneas U de Queiroz <cote2004-github@yahoo.com>
Diffstat (limited to 'scripts/relink-lib.sh')
0 files changed, 0 insertions, 0 deletions