Skip to content

fix(keccak): stack pointer alignment - #5636

Open
acud wants to merge 2 commits into
masterfrom
fix/keccak-simd-stack-overflow
Open

acud wants to merge 2 commits into
masterfrom
fix/keccak-simd-stack-overflow

Conversation

@acud

@acud acud commented Sep 30, 2026

Copy link
Copy Markdown
Contributor

Fixes the stack pointer alignment when using the SIMD path.

acud and others added 2 commits October 1, 2026 07:58
Measured on AVX-512 hardware, the x8 C code uses at most 2736 bytes of
stack across all SP alignments, independent of input length. A 4096-byte
frame leaves ~1.3KB headroom and avoids needless morestack calls.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@acud
acud force-pushed the fix/keccak-simd-stack-overflow branch from 1bef4dc to 4b215d2 Compare October 1, 2026 13:58
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.

1 participant