diff options
| author | Frank Denis <github@pureftpd.org> | 2020-08-25 16:20:57 +0200 |
|---|---|---|
| committer | Frank Denis <github@pureftpd.org> | 2020-08-26 10:50:34 +0200 |
| commit | b8729ca1a07863a0413b90206b82c1a0794abbd5 (patch) | |
| tree | 87f3aacf2b015c545367135fe4b4cc3326cad457 /lib/libc/include/mips-linux-gnu/bits | |
| parent | 3abf9e1457ed9332474ab211eb8d996d594a33c3 (diff) | |
| download | zig-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
