Fix comments for Grumpkin curve generator (#175)

Co-authored-by: Weikeng Chen <w.k@berkeley.edu>
This commit is contained in:
Pratyush Mishra
2023-09-19 04:47:35 -07:00
committed by GitHub
parent 72a18b6ecf
commit 8c0256ac9c
2 changed files with 2 additions and 2 deletions

View File

@@ -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

View File

@@ -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");