Skip to content

Commit

Permalink
Fix implementation
Browse files Browse the repository at this point in the history
  • Loading branch information
jrchatruc committed Apr 19, 2024
1 parent aefc162 commit cbc0e49
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions precompiles/EcPairing.yul
Original file line number Diff line number Diff line change
Expand Up @@ -463,8 +463,8 @@ object "EcPairing" {
/// @dev See https://eprint.iacr.org/2022/352.pdf (2 Preliminaries) for further details.
/// @return ret Twisted curve `xi2 = (xi)^ ((N - 1) // 2)` value in Montgomery form.
function xi3() -> xi0, xi1 {
xi0 := intoMontgomeryForm(2821565182194536844548159561693502659359617185244120367078079554186484126554)
xi1 := intoMontgomeryForm(3505843767911556378687030309984248845540243509899259641013678093033130930403)
xi0 := intoMontgomeryForm(21575463638280843010398324269430826099269044274347216827212613867836435027261)
xi1 := intoMontgomeryForm(10307601595873709700152284273816112264069230130616436755625194854815875713954)
}

/// @notice Frobenius endomophism used to G2 sub group check for twisted curve.
Expand Down

0 comments on commit cbc0e49

Please sign in to comment.