Skip to content
This repository has been archived by the owner on Dec 18, 2023. It is now read-only.

Commit

Permalink
Fix comments for Grumpkin curve generator (#175)
Browse files Browse the repository at this point in the history
Co-authored-by: Weikeng Chen <w.k@berkeley.edu>
  • Loading branch information
Pratyush and weikengchen authored Sep 19, 2023
1 parent 72a18b6 commit 8c0256a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@
### Features

- [\#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

Expand Down
2 changes: 0 additions & 2 deletions grumpkin/src/curves/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,8 @@ impl SWCurveConfig for GrumpkinConfig {
}

/// G_GENERATOR_X = 1
/// Encoded in Montgomery form, so the value here is R mod p.
pub const G_GENERATOR_X: Fq = MontFp!("1");

/// G_GENERATOR_Y = sqrt(-16)
/// Encoded in Montgomery form, so the value here is 2R mod p.
pub const G_GENERATOR_Y: Fq =
MontFp!("17631683881184975370165255887551781615748388533673675138860");

0 comments on commit 8c0256a

Please sign in to comment.