Skip to content

Test refactor: port ECDH and X25519 shared secret cache tests - #555

Open
padelsbach wants to merge 1 commit into
wolfSSL:mainfrom
padelsbach:test-refactor-shared-secret-cache
Open

padelsbach wants to merge 1 commit into
wolfSSL:mainfrom
padelsbach:test-refactor-shared-secret-cache

Conversation

@padelsbach

Copy link
Copy Markdown
Contributor

No description provided.

Copilot AI balanced review requested due to automatic review settings October 30, 2026 03:14

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 remain for the ECDH and X25519 shared-secret cache test additions.

No open issues 🎉

What changed in this PR

Ports ECDH and X25519 shared-secret cache tests into the refactored client-server test suite.

Changes:

  • Checks cached secrets against export-mode results, including labels, assigned or explicit key IDs, and nonexportable behavior.
  • Covers invalid arguments and blocking wrappers that import local keys.
  • Integrates cache tests for P-256, P-384, P-521, and X25519.
File Description
test-refactor/​client-server/​wh_test_crypto_ecc.c Adds per-curve ECDH cache tests and registers them in the async suite.
test-refactor/​client-server/​wh_test_crypto_curve25519.c Adds X25519 cache tests and registers them in the Curve25519 suite.

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