Skip to content

Test refactor: add async RSA test cases - #553

Open
padelsbach wants to merge 1 commit into
wolfSSL:mainfrom
padelsbach:test-refactor-rsa-split
Open

padelsbach wants to merge 1 commit into
wolfSSL:mainfrom
padelsbach:test-refactor-rsa-split

Conversation

@padelsbach

Copy link
Copy Markdown
Contributor

Adds a whopping ~50 lines of coverage in test-refactor, but brings RSA into parity with the legacy tests.

Copilot AI balanced review requested due to automatic review settings October 30, 2026 02:32

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🟢 Approval recommended

No active review issues are identified for the added asynchronous RSA test coverage.

No open issues 🎉

What changed in this PR

Expands RSA coverage in test-refactor toward parity with the legacy tests by exercising asynchronous client/server APIs.

Changes:

  • Adds invalid-argument checks for async RSA requests and responses.
  • Tests cached-key generation, size queries, raw sign/verify, and undersized output handling.
  • Tests asynchronous key export followed by an encrypt/decrypt round trip.
File Description
test-refactor/​client-server/​wh_test_crypto_rsa.c Adds and registers async RSA argument, cached-key, and exported-key tests.

Review effort: Balanced

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.

2 participants