Skip to content

Set chunk in whTest_CryptoShaxxxAsync based on the defined DATA_LEN#345

Open
miyazakh wants to merge 1 commit intowolfSSL:mainfrom
miyazakh:chunk
Open

Set chunk in whTest_CryptoShaxxxAsync based on the defined DATA_LEN#345
miyazakh wants to merge 1 commit intowolfSSL:mainfrom
miyazakh:chunk

Conversation

@miyazakh
Copy link
Copy Markdown
Contributor

Default WOLFHSM_CFG_COMM_DATA_LEN is 1280, so chunk needs to be defined based on this value.

@miyazakh miyazakh self-assigned this Apr 24, 2026
Copilot AI review requested due to automatic review settings April 24, 2026 06:33
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR updates the async SHA test cases to choose an update chunk size derived from the configured comm-buffer inline capacity, so the tests remain valid across different WOLFHSM_CFG_COMM_DATA_LEN settings.

Changes:

  • Replace fixed per-iteration chunk sizes in SHA-224/256/384/512 async tests with a value computed from WH_MESSAGE_CRYPTO_SHAxxx_MAX_INLINE_UPDATE_SZ.
  • Minor whitespace cleanup in ML-DSA client test calls.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@miyazakh miyazakh assigned wolfSSL-Bot and unassigned miyazakh Apr 24, 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.

3 participants