Skip to content

Commit

Permalink
Fix norm sign in Pluto Fp2 (#156)
Browse files Browse the repository at this point in the history
fix: norm sign in pluto/fp2
  • Loading branch information
davidnevadoc authored May 13, 2024
1 parent 5246c17 commit 1aa447e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pluto_eris/fields/fp2.rs
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,7 @@ impl Fp2 {
// norm = self * self.conjugate()
let t0 = self.c0.square();
let t1 = self.c1.square() * U_SQUARE;
t1 - t0
t0 - t1
}
}

Expand Down

0 comments on commit 1aa447e

Please sign in to comment.