Skip to content

Expand ECC tests to cover export and cache key cases#257

Merged
bigbrett merged 3 commits into
mainfrom
ECC-test
Dec 12, 2025
Merged

Expand ECC tests to cover export and cache key cases#257
bigbrett merged 3 commits into
mainfrom
ECC-test

Conversation

@jackctj117

Copy link
Copy Markdown
Contributor

This pull request significantly expands and refines the ECC (Elliptic Curve Cryptography) test coverage in whTest_CryptoEcc within test/wh_test_crypto.c. The changes introduce multiple new ECC test cases that cover ephemeral, exported, and cached server-side keys, and improve the clarity of test output messages for easier debugging and validation.

@bigbrett bigbrett 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.

Overall looks good. 3 things:

  1. Please run git-clang-format main
  2. Please rename the test-local keys from eccPublic and eccPrivate to just aliceKey and bobKey or something like that. Calling them private and public is a misnomer - both keys contain public and private ECC points. I know you didn't write this original code but might as well do this change now.
  3. Please squash commits into 1 single commit

Comment thread test/wh_test_crypto.c Outdated
Comment thread test/wh_test_crypto.c Outdated
@bigbrett
bigbrett merged commit 54cf494 into main Dec 12, 2025
21 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.

2 participants