|
@ -96,10 +96,14 @@ impl MontCurveConfig for JubjubConfig { |
|
|
type TECurveConfig = JubjubConfig;
|
|
|
type TECurveConfig = JubjubConfig;
|
|
|
}
|
|
|
}
|
|
|
|
|
|
|
|
|
const GENERATOR_X: Fq =
|
|
|
|
|
|
|
|
|
/// GENERATOR_X =
|
|
|
|
|
|
/// 8076246640662884909881801758704306714034609987455869804520522091855516602923
|
|
|
|
|
|
pub const GENERATOR_X: Fq =
|
|
|
MontFp!("8076246640662884909881801758704306714034609987455869804520522091855516602923");
|
|
|
MontFp!("8076246640662884909881801758704306714034609987455869804520522091855516602923");
|
|
|
|
|
|
|
|
|
const GENERATOR_Y: Fq =
|
|
|
|
|
|
|
|
|
/// GENERATOR_Y =
|
|
|
|
|
|
/// 13262374693698910701929044844600465831413122818447359594527400194675274060458
|
|
|
|
|
|
pub const GENERATOR_Y: Fq =
|
|
|
MontFp!("13262374693698910701929044844600465831413122818447359594527400194675274060458");
|
|
|
MontFp!("13262374693698910701929044844600465831413122818447359594527400194675274060458");
|
|
|
|
|
|
|
|
|
impl SWCurveConfig for JubjubConfig {
|
|
|
impl SWCurveConfig for JubjubConfig {
|
|
@ -116,9 +120,13 @@ impl SWCurveConfig for JubjubConfig { |
|
|
}
|
|
|
}
|
|
|
|
|
|
|
|
|
/// x coordinate for SW curve generator
|
|
|
/// x coordinate for SW curve generator
|
|
|
const SW_GENERATOR_X: Fq =
|
|
|
|
|
|
|
|
|
/// SW_GENERATOR_X =
|
|
|
|
|
|
/// 33835869156188682335217394949746694649676633840125476177319971163079011318731
|
|
|
|
|
|
pub const SW_GENERATOR_X: Fq =
|
|
|
MontFp!("33835869156188682335217394949746694649676633840125476177319971163079011318731");
|
|
|
MontFp!("33835869156188682335217394949746694649676633840125476177319971163079011318731");
|
|
|
|
|
|
|
|
|
/// y coordinate for SW curve generator
|
|
|
/// y coordinate for SW curve generator
|
|
|
const SW_GENERATOR_Y: Fq =
|
|
|
|
|
|
|
|
|
/// SW_GENERATOR_Y =
|
|
|
|
|
|
/// 43777270878440091394432848052353307184915192688165709016756678962558652055320
|
|
|
|
|
|
pub const SW_GENERATOR_Y: Fq =
|
|
|
MontFp!("43777270878440091394432848052353307184915192688165709016756678962558652055320");
|
|
|
MontFp!("43777270878440091394432848052353307184915192688165709016756678962558652055320");
|