Skip to content

20260407-SHA3-unaligned-access#10156

Open
douzzer wants to merge 1 commit intowolfSSL:masterfrom
douzzer:20260407-SHA3-unaligned-access
Open

20260407-SHA3-unaligned-access#10156
douzzer wants to merge 1 commit intowolfSSL:masterfrom
douzzer:20260407-SHA3-unaligned-access

Conversation

@douzzer
Copy link
Copy Markdown
Contributor

@douzzer douzzer commented Apr 7, 2026

wolfcrypt/src/sha3.c: fix Load64Unaligned() implementation with unaligned integer access when WC_SHA3_FAULT_HARDEN && !BIG_ENDIAN_ORDER.

tested with


LIBWOLFSSL_CONFIGURE_ARGS_OVERRIDE='--enable-faultharden --disable-dual-alg-certs' wolfssl-multi-test.sh ...
check-source-text
cross-riscv64-all-asm
clang-tidy-all-sp-all
quantum-safe-wolfssl-all-intelasm-sp-asm-sanitizer
quantum-safe-wolfssl-all-noasm-sanitizer
benchmark-wolfcrypt-noasm-all
benchmark-wolfcrypt-intelasm-sp-asm-all

fixes #10043

…gned integer access when WC_SHA3_FAULT_HARDEN && !BIG_ENDIAN_ORDER.
@douzzer douzzer added the For This Release Release version 5.9.1 label Apr 7, 2026
Copy link
Copy Markdown

@wolfSSL-Fenrir-bot wolfSSL-Fenrir-bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fenrir Automated Review — PR #10156

Scan targets checked: wolfcrypt-api_misuse, wolfcrypt-bugs, wolfcrypt-compliance, wolfcrypt-concurrency, wolfcrypt-consttime, wolfcrypt-defaults, wolfcrypt-mutation, wolfcrypt-portability, wolfcrypt-proptest, wolfcrypt-src, wolfcrypt-zeroize

No new issues found in the changed files. ✅

@JacobBarthelmeh JacobBarthelmeh removed the For This Release Release version 5.9.1 label Apr 7, 2026
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.

Load64Unaligned: unaligned load faults on RISC-V cores without hardware unaligned-access support

4 participants