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

fix: add deserialization error checks for group points #1

Merged
merged 1 commit into from
Nov 1, 2023

Conversation

jacobkaufmann
Copy link
Owner

add error check on calls to blst_p1_deserialize and blst_p2_deserialize.

according to this blst issue, the deserialize functions perform curve checks but not subgroup checks. thus, we no longer perform the "on curve" check after deserialization. here we also move to perform the "in subgroup" check on the affine point before conversion to the non-affine point.

@jacobkaufmann jacobkaufmann merged commit 7adf36c into master Nov 1, 2023
@jacobkaufmann jacobkaufmann deleted the fix-point-deserialization branch November 5, 2023 09:48
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.

1 participant