diff options
| author | Frank Denis <github@pureftpd.org> | 2020-09-28 23:23:32 +0200 |
|---|---|---|
| committer | Frank Denis <github@pureftpd.org> | 2020-09-29 00:29:20 +0200 |
| commit | 868a46eb43e68971634c046c8317c1b83cae21ae (patch) | |
| tree | 26d2b972569d5ef088cc380f242d77b1c093c576 /test | |
| parent | 5c6cd5e2c9e8b2d0feb0026bad7c201035a175b4 (diff) | |
| download | zig-868a46eb43e68971634c046c8317c1b83cae21ae.tar.gz zig-868a46eb43e68971634c046c8317c1b83cae21ae.zip | |
std/crypto: make gimli slightly faster
Before:
gimli-hash: 120 MiB/s
gimli-aead: 130 MiB/s
After:
gimli-hash: 195 MiB/s
gimli-aead: 208 MiB/s
Also fixes in-place decryption by the way.
If the input & output buffers were the same, decryption used to fail.
Return on decryption error in the benchmark to detect similar issues
in future AEADs even in non release-fast mode.
Diffstat (limited to 'test')
0 files changed, 0 insertions, 0 deletions
