aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/crypto/zinc/curve25519/curve25519-hacl64.c
diff options
context:
space:
mode:
authorShawn Landden <shawn@git.icu>2019-05-10 19:02:36 -0300
committerShawn Landden <shawn@git.icu>2019-05-13 16:24:32 -0500
commit2b2e9c08b326409a28ef3d0237164e5ee67c7c6d (patch)
treed6ead58699723d4b42286696c18b42a14e832878 /src/crypto/zinc/curve25519/curve25519-hacl64.c
parentsocket: set ignore_df=1 on xmit (diff)
downloadwireguard-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/crypto/zinc/curve25519/curve25519-hacl64.c')
0 files changed, 0 insertions, 0 deletions