diff options
author | Shawn Landden <shawn@git.icu> | 2019-05-10 19:02:36 -0300 |
---|---|---|
committer | Shawn Landden <shawn@git.icu> | 2019-05-13 16:24:32 -0500 |
commit | 2b2e9c08b326409a28ef3d0237164e5ee67c7c6d (patch) | |
tree | d6ead58699723d4b42286696c18b42a14e832878 /src/compat/simd-x86 | |
parent | socket: set ignore_df=1 on xmit (diff) | |
download | wireguard-monolithic-historical-2b2e9c08b326409a28ef3d0237164e5ee67c7c6d.tar.xz wireguard-monolithic-historical-2b2e9c08b326409a28ef3d0237164e5ee67c7c6d.zip |
[Zinc] Add PowerPC chacha20 implementation from openssl/cryptograms
Only runs on the out-bound path, as the in-bound path is in an interrupt,
but that can be fixed in Linux.
Otherwise this is tested (with the VSX code enabled) on Power 9 (ppc64le).
Without this I get 2GiB/s over the loopback (so 4 GiB/s), and with this
I get 2.8 GiB/s (so 5.6 GiB/s), and more time is spent in poly1305 than chacha20.
This is on a 4-thread VPS.
Signed-off-by: Shawn Landden <shawn@git.icu>
v2: more complete simd.h for PPC
benchmarks
whitespace issues
v3: honor CONFIG_ALTIVEC (CONFIG_VSX has already honored)
Diffstat (limited to 'src/compat/simd-x86')
0 files changed, 0 insertions, 0 deletions