Skip to content

fix: reject noncanonical G2 encoding#98

Open
AaronFeickert wants to merge 1 commit into
mainfrom
f-82170-canonical-g2
Open

fix: reject noncanonical G2 encoding#98
AaronFeickert wants to merge 1 commit into
mainfrom
f-82170-canonical-g2

Conversation

@AaronFeickert

@AaronFeickert AaronFeickert commented Jun 12, 2026

Copy link
Copy Markdown
Collaborator

Deserialization of compressed G2 points currently accepts noncanonical encodings where the high two bits of the first limb are nonzero.

This PR updates deserialization to reject these encodings.

Closes #97.

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.

[v12 F-82170] Noncanonical G2 encodings accepted

1 participant