Skip to content
This repository has been archived by the owner on Jul 25, 2018. It is now read-only.

Verify or replace G2 coefficient value #3

Closed
FiloSottile opened this issue Jan 26, 2018 · 1 comment
Closed

Verify or replace G2 coefficient value #3

FiloSottile opened this issue Jan 26, 2018 · 1 comment

Comments

@FiloSottile
Copy link
Owner

The G2 coefficient value, used to scale in hash_to_g2, was copied verbatim from the Rust implementation. It should be checked, or replaced with a RELIC function.

bn_read_str(k, "5d543a95414e7f1091d50792876a202cd91de4547085abaa68a205b2e5a7ddfa628f1cb4d9e82ef21537e293a6691ae1616ec6e786f0c70cf1c38e31c7238e5", 127, 16); // FROM RUST IMPLEMENTATION // TODO: verify

Upstream issue: relic-toolkit/relic#64

@FiloSottile
Copy link
Owner Author

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

No branches or pull requests

1 participant