Skip to content

Commit

Permalink
fp2 residue as a constant
Browse files Browse the repository at this point in the history
  • Loading branch information
jotabulacios committed Oct 2, 2024
1 parent 3e50f24 commit 058d23c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ impl FieldElement<Degree2ExtensionField> {
pub struct BLS12377Residue;
impl HasQuadraticNonResidue<BLS12377PrimeField> for BLS12377Residue {
fn residue() -> FieldElement<BLS12377PrimeField> {
-FieldElement::from(5)
FP2_RESIDUE
}
}

Expand Down

0 comments on commit 058d23c

Please sign in to comment.