Skip to content

frodo: pack: fix accidental zero buffer assumption#645

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

frodo: pack: fix accidental zero buffer assumption#645
bwesterb merged 1 commit into
mainfrom
bas/gw23

Conversation

@bwesterb

@bwesterb bwesterb commented Jul 15, 2026

Copy link
Copy Markdown
Member

Accidentally it was assumed the buffers to which material is packed is zero (as values were bitwise-or-ed into the buffer instead of assigned.)

The pack functions are also used internally in the Fujisaki-Okamoto (FO) transform, but in that case the buffers are guaranteed to be zero.


Open in Devin Review

Accidentally it was assumed the buffers to which material is packed is
zero (as values were bitwise-or-ed into the buffer instead of assigned.)

The pack functions are also used internally in the Fujisaki-Okamoto (FO)
transform, but in that case the buffers are guaranteed to be zero.

@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: No Issues Found

Devin Review analyzed this PR and found no potential bugs to report.

View in Devin Review to see 1 additional finding.

Open in Devin Review

@bwesterb bwesterb merged commit e694b19 into main Jul 15, 2026
14 checks passed
@bwesterb bwesterb deleted the bas/gw23 branch July 15, 2026 13:05
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