Skip to content

ed448: reject non-canonical point encodings#635

Merged
bwesterb merged 1 commit into
mainfrom
bas/gw6
Jul 15, 2026
Merged

ed448: reject non-canonical point encodings#635
bwesterb merged 1 commit into
mainfrom
bas/gw6

Conversation

@bwesterb

@bwesterb bwesterb commented Jul 14, 2026

Copy link
Copy Markdown
Member

FromBytes ignored bits 448-454 of the 456-bit encoding, letting 128
byte strings decode to the same point. Enforce the RFC 8032 canonical
y-coordinate check.

FromBytes ignored bits 448-454 of the 456-bit encoding, letting 128
byte strings decode to the same point. Enforce the RFC 8032 canonical
y-coordinate check.

@devin-ai-integration devin-ai-integration Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Devin Review found 2 potential issues.

Open in Devin Review

Comment thread ecc/goldilocks/point.go
Comment thread ecc/goldilocks/point.go
@bwesterb bwesterb merged commit 18f978c into main Jul 15, 2026
14 checks passed
@bwesterb bwesterb deleted the bas/gw6 branch July 15, 2026 12:47
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