diff options
| author | Frank Denis <124872+jedisct1@users.noreply.github.com> | 2020-08-14 16:24:18 +0200 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2020-08-16 22:35:27 -0700 |
| commit | c483bf4f97504f3c9174ec9fd516d8995971023c (patch) | |
| tree | 700394b30594c3ef6e8403bf80f4256d1cd90e1a | |
| parent | 739b68938cb233d88e47ab73047787aba0ccb918 (diff) | |
| download | zig-c483bf4f97504f3c9174ec9fd516d8995971023c.tar.gz zig-c483bf4f97504f3c9174ec9fd516d8995971023c.zip | |
Update lib/std/crypto/25519/ristretto255.zig
Co-authored-by: Jakub Konka <kubkon@jakubkonka.com>
| -rw-r--r-- | lib/std/crypto/25519/ristretto255.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/std/crypto/25519/ristretto255.zig b/lib/std/crypto/25519/ristretto255.zig index f573145385..997b3085c9 100644 --- a/lib/std/crypto/25519/ristretto255.zig +++ b/lib/std/crypto/25519/ristretto255.zig @@ -10,7 +10,7 @@ pub const Ristretto255 = struct { /// Field arithmetic mod the order of the main subgroup. pub const scalar = Curve.scalar; - p: Curve = undefined, + p: Curve, fn sqrtRatioM1(u: Fe, v: Fe) !Fe { const v3 = v.sq().mul(v); // v^3 |
