Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

incorrect description about ecPairing #324

Open
wiasliaw opened this issue Apr 21, 2024 · 0 comments
Open

incorrect description about ecPairing #324

wiasliaw opened this issue Apr 21, 2024 · 0 comments
Assignees

Comments

@wiasliaw
Copy link

According to eip-197:

Input: (a1, b1, a2, b2, ..., ak, bk) from (G_1 x G_2)^k

The input must always be a multiple of 6 32-byte values, but a set of inputs consists of two points: $ak \in G_1$ and $bk \in G_2$. The points of $G_2$ are in an extension field, which requires 2 32-byte values to represent a coordinate.

Therefore, a set of inputs definition should be: ax, ay, bx_a, bx_b, by_a, by_b. See encode section from eip-197.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants