Browse Source

Fix comments for Grumpkin curve generator (#175)

Co-authored-by: Weikeng Chen <w.k@berkeley.edu>
master
Pratyush Mishra 1 year ago
committed by GitHub
parent
commit
8c0256ac9c
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions
  1. +2
    -0
      CHANGELOG.md
  2. +0
    -2
      grumpkin/src/curves/mod.rs

+ 2
- 0
CHANGELOG.md

@ -7,6 +7,8 @@
### Features ### Features
- [\#156](https://github.com/arkworks-rs/curves/pull/156) Add the bw6-767 curve. - [\#156](https://github.com/arkworks-rs/curves/pull/156) Add the bw6-767 curve.
- [\#174](https://github.com/arkworks-rs/curves/pull/174) Add the "grumpkin" curve.
### Improvements ### Improvements

+ 0
- 2
grumpkin/src/curves/mod.rs

@ -45,10 +45,8 @@ impl SWCurveConfig for GrumpkinConfig {
} }
/// G_GENERATOR_X = 1 /// G_GENERATOR_X = 1
/// Encoded in Montgomery form, so the value here is R mod p.
pub const G_GENERATOR_X: Fq = MontFp!("1"); pub const G_GENERATOR_X: Fq = MontFp!("1");
/// G_GENERATOR_Y = sqrt(-16) /// G_GENERATOR_Y = sqrt(-16)
/// Encoded in Montgomery form, so the value here is 2R mod p.
pub const G_GENERATOR_Y: Fq = pub const G_GENERATOR_Y: Fq =
MontFp!("17631683881184975370165255887551781615748388533673675138860"); MontFp!("17631683881184975370165255887551781615748388533673675138860");

Loading…
Cancel
Save