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

Commit ccf8392

Browse files
authored
Expose Bandersnatch generators (#184)
1 parent 0a64024 commit ccf8392

File tree

1 file changed

+4
-4
lines changed
  • ed_on_bls12_381_bandersnatch/src/curves

1 file changed

+4
-4
lines changed

ed_on_bls12_381_bandersnatch/src/curves/mod.rs

+4-4
Original file line numberDiff line numberDiff line change
@@ -110,19 +110,19 @@ impl MontCurveConfig for BandersnatchConfig {
110110
// <https://github.com/zhenfeizhang/bandersnatch/blob/main/bandersnatch/script/bandersnatch.sage>
111111

112112
/// x coordinate for TE curve generator
113-
const TE_GENERATOR_X: Fq =
113+
pub const TE_GENERATOR_X: Fq =
114114
MontFp!("18886178867200960497001835917649091219057080094937609519140440539760939937304");
115115

116116
/// y coordinate for TE curve generator
117-
const TE_GENERATOR_Y: Fq =
117+
pub const TE_GENERATOR_Y: Fq =
118118
MontFp!("19188667384257783945677642223292697773471335439753913231509108946878080696678");
119119

120120
/// x coordinate for SW curve generator
121-
const SW_GENERATOR_X: Fq =
121+
pub const SW_GENERATOR_X: Fq =
122122
MontFp!("30900340493481298850216505686589334086208278925799850409469406976849338430199");
123123

124124
/// y coordinate for SW curve generator
125-
const SW_GENERATOR_Y: Fq =
125+
pub const SW_GENERATOR_Y: Fq =
126126
MontFp!("12663882780877899054958035777720958383845500985908634476792678820121468453298");
127127

128128
impl SWCurveConfig for BandersnatchConfig {

0 commit comments

Comments
 (0)