Skip to content

ML-KEM: fix AVX2 assembly#10430

Open
SparkiDev wants to merge 1 commit intowolfSSL:masterfrom
SparkiDev:mlkem_avx2_fixes
Open

ML-KEM: fix AVX2 assembly#10430
SparkiDev wants to merge 1 commit intowolfSSL:masterfrom
SparkiDev:mlkem_avx2_fixes

Conversation

@SparkiDev
Copy link
Copy Markdown
Contributor

Description

AVX2 not decompressing 5-bit values correctly.
AVX2 not comparing last 32 bytes of ciphertext.
Protect mlkemkey_get_k to only be compiled when make key is compiled in.

Fixes zd#21471

Testing

Fuzz test.

@SparkiDev SparkiDev self-assigned this May 8, 2026
@SparkiDev
Copy link
Copy Markdown
Contributor Author

SparkiDev commented May 8, 2026

Code generated with scripts in PR:
https://github.com/wolfSSL/scripts/pull/576

@SparkiDev
Copy link
Copy Markdown
Contributor Author

Jenkins: retest this please

@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 8, 2026

MemBrowse Memory Report

No memory changes detected for:

AVX2 not decompressing 5-bit values correctly.
AVX2 not comparing last 32 bytes of ciphertext.
Protect mlkemkey_get_k to only be compiled when make key is compiled in.
@SparkiDev SparkiDev force-pushed the mlkem_avx2_fixes branch from 7fb1ced to ad45b5e Compare May 8, 2026 03:40
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