Skip to content

Fixes to big-endian bugs found in Curve448 and Blake2S#9778

Merged
dgarske merged 2 commits intowolfSSL:masterfrom
LinuxJedi:exp-fixes
Feb 16, 2026
Merged

Fixes to big-endian bugs found in Curve448 and Blake2S#9778
dgarske merged 2 commits intowolfSSL:masterfrom
LinuxJedi:exp-fixes

Conversation

@LinuxJedi
Copy link
Member

Fix Blake2s overlapping writes

We are copying from a 32bit buffer, so are overlapping writes. This could cause damage the hash on big-endian platforms.

Fix curve448

wc_curve448_check_public can get into an infinite loop in the big-endian code path.

`wc_curve448_check_public` can get into an infinite loop in the
big-endian code path.
We are copying from a 32bit buffer, so are overlapping writes. This
could cause damage the hash on big-endian platforms.
@dgarske dgarske merged commit d81bb72 into wolfSSL:master Feb 16, 2026
429 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.

4 participants