Skip to content

ML-KEM/ML-DSA: unaligned reads#10707

Open
SparkiDev wants to merge 1 commit into
wolfSSL:masterfrom
SparkiDev:mlkem_mldsa_unaligned
Open

ML-KEM/ML-DSA: unaligned reads#10707
SparkiDev wants to merge 1 commit into
wolfSSL:masterfrom
SparkiDev:mlkem_mldsa_unaligned

Conversation

@SparkiDev

Copy link
Copy Markdown
Contributor

Description

Use readUnaligned32/64 to ensure no unaligned read faults.
Updated implementations of read/write unaligned 32/64 to not worry about alignment on CPUs that are known to not care.

Fixes F1399

Testing

Intel build of ML-KEM and ML-DSa.

@SparkiDev SparkiDev self-assigned this Jun 16, 2026
@SparkiDev SparkiDev force-pushed the mlkem_mldsa_unaligned branch from 12c030e to 1900da0 Compare June 16, 2026 22:45
Use readUnaligned32/64 to ensure no unaligned read faults.
Updated implementations of read/write unaligned 32/64 to not worry about alignment on CPUs that are known to not care.
@SparkiDev SparkiDev force-pushed the mlkem_mldsa_unaligned branch from 1900da0 to bce9fdd Compare June 17, 2026 00:30
@SparkiDev

Copy link
Copy Markdown
Contributor Author

Jenkins: retest this please

FIPS aborted

@SparkiDev SparkiDev requested review from wolfSSL-Fenrir-bot and removed request for wolfSSL-Fenrir-bot June 17, 2026 04:10
@SparkiDev SparkiDev assigned wolfSSL-Bot and unassigned SparkiDev Jun 17, 2026

@wolfSSL-Fenrir-bot wolfSSL-Fenrir-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.

Fenrir Automated Review — PR #10707

Scan targets checked: wolfcrypt-bugs, wolfcrypt-rs-bugs, wolfcrypt-src, wolfssl-bugs, wolfssl-src

No new issues found in the changed files. ✅

@SparkiDev SparkiDev requested a review from wolfSSL-Bot June 17, 2026 04:48
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.

3 participants