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

BLS12-377 Parameters mismatch #149

Open
vo-nil opened this issue Mar 15, 2024 · 0 comments
Open

BLS12-377 Parameters mismatch #149

vo-nil opened this issue Mar 15, 2024 · 0 comments

Comments

@vo-nil
Copy link
Contributor

vo-nil commented Mar 15, 2024

Current parameters:
https://github.com/NilFoundation/crypto3-algebra/blob/master/include/nil/crypto3/algebra/curves/detail/bls12/377/short_weierstrass_params.hpp#L92-L98

X C0: 0xB997FEF930828FE1B9E6A1707B8AA508A3DBFD7FE2246499C709226A0A6FEF49F85B3A375363F4F8F6EA3FBD159F8A
X C1: 0xD6AC33B84947D9845F81A57A136BFA326E915FABC8CD6A57FF133B42D00F62E4E1AF460228CD5184DEAE976FA62596

Y C0: 0x118DD509B2E9A13744A507D515A595DBB7E3B63DF568866473790184BDF83636C94DF2B7A962CB2AF4337F07CB7E622
Y C1: 0x185067C6CA76D992F064A432BD9F9BE832B0CAC2D824D0518F77D39E76C3E146AFB825F2092218D038867D7F337A010

differ from community, e.g.:
Arkworks:
https://github.com/arkworks-rs/algebra/blob/master/curves/bls12_377/src/curves/g2.rs#L134-L149

Ethereum EIP:
https://eips.ethereum.org/EIPS/eip-2539#specification

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

1 participant