Skip to content

Fix bls documentation - G1/G2 compression flag must be *unset* #1455

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

Merged
merged 1 commit into from
Apr 14, 2025

Conversation

jayz22
Copy link
Contributor

@jayz22 jayz22 commented Apr 2, 2025

What

Fix a bug in the documentation. The G1/G2 compression flag must be unset (0).
Splits out from #1449 and addresses #1449 (comment)

Why

In our BLS12-381 implementation all input points are expected in an uncompressed format.
Here is the validation logic on the host side, which is consistent with uncompressed point checking (the only allowed set flag is the infinity flag).

Known limitations

[TODO or N/A]

@leighmcculloch leighmcculloch added this pull request to the merge queue Apr 14, 2025
Merged via the queue into stellar:main with commit 42ee68e Apr 14, 2025
17 checks passed
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

Successfully merging this pull request may close these issues.

2 participants