Skip to content

20260430-ecc_test_vector_item-WC_MIN_DIGEST_SIZE#10373

Merged
Frauschi merged 1 commit intowolfSSL:masterfrom
douzzer:20260430-ecc_test_vector_item-WC_MIN_DIGEST_SIZE
May 1, 2026
Merged

20260430-ecc_test_vector_item-WC_MIN_DIGEST_SIZE#10373
Frauschi merged 1 commit intowolfSSL:masterfrom
douzzer:20260430-ecc_test_vector_item-WC_MIN_DIGEST_SIZE

Conversation

@douzzer
Copy link
Copy Markdown
Contributor

@douzzer douzzer commented Apr 30, 2026

wolfcrypt/test/test.c: in ecc_test_vector_item(), don't attempt wc_ecc_verify_hash() if the test vector's message (hash) is shorter than WC_MIN_DIGEST_SIZE.

discovered and tested with all-crypto-only-intelasm-fips-v5-linuxkm-next-insmod-optest, which unintentionally had --disable-sha, exposing the issue.

…c_verify_hash() if the test vector's message (hash) is shorter than WC_MIN_DIGEST_SIZE.
@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 1, 2026

MemBrowse Memory Report

No memory changes detected for:

@Frauschi Frauschi merged commit 5151a69 into wolfSSL:master May 1, 2026
417 of 418 checks passed
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