mirror of
https://github.com/arnaucube/ark-curves-cherry-picked.git
synced 2026-01-08 15:01:29 +01:00
Fix comments for Grumpkin curve generator (#175)
Co-authored-by: Weikeng Chen <w.k@berkeley.edu>
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user