EdOnBN254
Edward curve on BN254. This library only implements a serialization function that is consistent with Arkworks’ format. It does not support any group operations.
State Variables
P_MOD
uint256 public constant P_MOD =
21888242871839275222246405745257275088548364400416034343698204186575808495617
Functions
isYNegative
Check if y-coordinate of G1 point is negative.
function isYNegative(EdOnBN254Point memory point) internal pure returns (bool);
isEqual
Check if two points are equal
function isEqual(EdOnBN254Point memory a, EdOnBN254Point memory b)
internal
pure
returns (bool);
Structs
EdOnBN254Point
struct EdOnBN254Point {
uint256 x;
uint256 y;
}