mirror of
https://github.com/ziglang/zig.git
synced 2026-01-20 22:35:24 +00:00
Update lib/std/crypto/25519/ristretto255.zig
Co-authored-by: Jakub Konka <kubkon@jakubkonka.com>
This commit is contained in:
parent
739b68938c
commit
c483bf4f97
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user