]> git.ipfire.org Git - thirdparty/nettle.git/commit
Add --enable-fat support for arm neon chacha20
authorYuriy M. Kaminskiy <yumkam@gmail.com>
Wed, 2 Jan 2019 16:41:32 +0000 (19:41 +0300)
committerNiels Möller <nisse@lysator.liu.se>
Sat, 19 Jan 2019 08:21:40 +0000 (09:21 +0100)
commit67bae1b9e595a03dccea92b39f3cbad64345f3f8
treeb08030e2811ebd7400cb169d74024040d05787ee
parentf9f14f18d917a4a4fcb678a9e90961e5fd7114ef
Add --enable-fat support for arm neon chacha20

On BCM2837B0 (Cortex-A53) @1.4GHz (Raspberry Pi 3B+),
Before:
`gnutls-cli --benchmark-ciphers`
       CHACHA20-POLY1305 (16384) 51.54 MB/sec
`gnutls-cli --benchmark-tls-ciphers`:
       ECDHE_RSA_CHACHA20_POLY1305 (payload 1400)  21.31 MB/sec
       ECDHE_RSA_CHACHA20_POLY1305 (payload 15360)  24.60 MB/sec
`nettle-benchmark`
 chacha     encrypt   71.90
 chacha     decrypt   71.89
chacha_poly1305     encrypt   48.17
chacha_poly1305     decrypt   48.17
chacha_poly1305      update  146.03

After:
`gnutls-cli --benchmark-ciphers`
       CHACHA20-POLY1305 (16384) 68.44 MB/sec
`gnutls-cli --benchmark-tls-ciphers`:
       ECDHE_RSA_CHACHA20_POLY1305 (payload 1400) 27.25 MB/sec
       ECDHE_RSA_CHACHA20_POLY1305 (payload 15360) 32.41 MB/sec
`nettle-benchmark`
 chacha     encrypt  106.00
 chacha     decrypt  105.94
chacha_poly1305     encrypt   65.94
chacha_poly1305     decrypt   65.96
chacha_poly1305      update  175.24
arm/fat/chacha-core-internal-2.asm [new file with mode: 0644]
chacha-core-internal.c
configure.ac
fat-arm.c
fat-setup.h