diff options
| author | Frank Denis <github@pureftpd.org> | 2020-11-14 23:54:50 +0100 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2020-11-17 17:07:32 -0800 |
| commit | 9c2b014ea82fdfbb4b46ce789898623be450cca5 (patch) | |
| tree | ff302856c34987cb8833d6324b76bbe5e1e039dd /lib/std/os.zig | |
| parent | 0d9c474ecfaf58698774022211d06da97d2fd648 (diff) | |
| download | zig-9c2b014ea82fdfbb4b46ce789898623be450cca5.tar.gz zig-9c2b014ea82fdfbb4b46ce789898623be450cca5.zip | |
std/crypto: use NAF for multi-scalar edwards25519 multiplication
Transforming scalars to non-adjacent form shrinks the number of
precomputations down to 8, while still processing 4 bits at a time.
However, real-world benchmarks show that the transform is only
really useful with large precomputation tables and for batch
signature verification. So, do it for batch verification only.
Diffstat (limited to 'lib/std/os.zig')
0 files changed, 0 insertions, 0 deletions
