aboutsummaryrefslogtreecommitdiff
path: root/lib/libc/include/mips-linux-gnu/bits
diff options
context:
space:
mode:
authorFrank Denis <github@pureftpd.org>2020-08-25 16:20:57 +0200
committerFrank Denis <github@pureftpd.org>2020-08-26 10:50:34 +0200
commitb8729ca1a07863a0413b90206b82c1a0794abbd5 (patch)
tree87f3aacf2b015c545367135fe4b4cc3326cad457 /lib/libc/include/mips-linux-gnu/bits
parent3abf9e1457ed9332474ab211eb8d996d594a33c3 (diff)
downloadzig-b8729ca1a07863a0413b90206b82c1a0794abbd5.tar.gz
zig-b8729ca1a07863a0413b90206b82c1a0794abbd5.zip
Improve crypto benchmarks
- 1MiB objects on the stack doesn't play well with wasmtime. Reduce these to 512KiB so that the webassembly benchmarks can run. - Pass expected results to a blackBox() function. Without this, in release-fast mode, the compiler could detected unused return values, and would produce results that didn't make sense for siphash. - Add AEAD constructions to the benchmarks. - Inline chacha20Core() makes it 4 times faster. - benchmarkSignatures() -> benchmarkSignature() for consistency.
Diffstat (limited to 'lib/libc/include/mips-linux-gnu/bits')
0 files changed, 0 insertions, 0 deletions