Conversation
|
Can one of the admins verify this patch? |
Contributor
Author
|
retest this please. (no logs). |
kaleb-himes
force-pushed
the
PQ-FS-2026-Part3-SecurityReview-nofallback-K
branch
2 times, most recently
from
August 27, 2026 14:00
d69c94a to
903bccd
Compare
Contributor
Author
|
retest this please (aborted, no test failure)... |
Contributor
Author
|
Pairs with: https://github.com/wolfSSL/scripts/pull/671 |
wolfSSL-Fenrir-bot
left a comment
There was a problem hiding this comment.
Fenrir Automated Review — PR #11290
No scan targets match the changed files in this PR. Review skipped.
kaleb-himes
force-pushed
the
PQ-FS-2026-Part3-SecurityReview-nofallback-K
branch
from
September 1, 2026 16:39
903bccd to
ca806c8
Compare
Contributor
Author
|
retest this please. |
wolfSSL-Fenrir-bot
left a comment
There was a problem hiding this comment.
Fenrir Automated Review — PR #11290
No scan targets match the changed files in this PR. Review skipped.
SparkiDev
approved these changes
Sep 7, 2026
kaleb-himes
deleted the
PQ-FS-2026-Part3-SecurityReview-nofallback-K
branch
September 11, 2026 19:39
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description @SparkiDev
vzeroupper: After using the wide 256-bit registers, this instruction wipes their upper halves before returning. Without it, the next ordinary SSE code in the program runs slow. Speed only, nothing computes wrong. (Intel Optimization Reference Manual, "Mixing AVX and SSE code".)
vmovd → movd: Three ECC routines are the versions used on old CPUs that lack AVX, but each had an AVX-only instruction in it. Those CPUs crash. Proved it: under an emulated Nehalem the old library dies with SIGILL, the fixed one passes. (Intel SDM Vol. 2A §2.3.)
sub rsp,32 before calls: Windows requires the caller to set aside 32 bytes of stack for the function it calls. We weren't, so the callee could overwrite our data. Windows only. (Microsoft, "x64 calling convention".)
The big block-copy change: Copies now use plain integer registers instead of vector ones. We didn't need this fix; it came along because you require the committed asm to match the generator exactly, and that's what the generator emits. I can remove item 4 if there is an outstanding PR on the scripts/ repo that fixes the generators and simply hasn't merged yet.
Pairs with: https://github.com/wolfSSL/scripts/pull/671
Testing
Emulation and virtualized.
Checklist