Browse Source
Fix a comment on Bandersnatch's TEModelParameters (#65)
Pratyush noticed a comment regarding COEFF_A has not been updated. This PR fixes so.
reduce-generics
Weikeng Chen
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
ed_on_bls12_381_bandersnatch/src/curves/mod.rs
|
@ -41,7 +41,7 @@ impl ModelParameters for EdwardsParameters { |
|
|
}
|
|
|
}
|
|
|
|
|
|
|
|
|
impl TEModelParameters for EdwardsParameters {
|
|
|
impl TEModelParameters for EdwardsParameters {
|
|
|
/// COEFF_A = -1
|
|
|
|
|
|
|
|
|
/// COEFF_A = -5
|
|
|
#[rustfmt::skip]
|
|
|
#[rustfmt::skip]
|
|
|
const COEFF_A: Fq = field_new!(Fq, "-5");
|
|
|
const COEFF_A: Fq = field_new!(Fq, "-5");
|
|
|
|
|
|
|
|
|