diff options
| author | Frank Denis <github@pureftpd.org> | 2020-08-14 14:06:18 +0200 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2020-08-16 22:35:27 -0700 |
| commit | 3f0d80f25eccd12759bad21fb8429e646eff070b (patch) | |
| tree | cbb337e93ba6cb04c7ee26008a99f3c0b502e9e7 /src-self-hosted/Module.zig | |
| parent | f46e375bbe0ac0893717bd477eab78f51863e277 (diff) | |
| download | zig-3f0d80f25eccd12759bad21fb8429e646eff070b.tar.gz zig-3f0d80f25eccd12759bad21fb8429e646eff070b.zip | |
Improve curve25519-based crypto
This is a rewrite of the x25519 code, that generalizes support for
common primitives based on the same finite field.
- Low-level operations can now be performed over the curve25519 and
edwards25519 curves, as well as the ristretto255 group.
- Ed25519 signatures have been implemented.
- X25519 is now about twice as fast.
- mem.timingSafeEqual() has been added for constant-time comparison.
Domains have been clearly separated, making it easier to later add
platform-specific implementations.
Diffstat (limited to 'src-self-hosted/Module.zig')
0 files changed, 0 insertions, 0 deletions
