Skip to content

Conversation

@jackctj117
Copy link
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.

Copy link
Contributor

@bigbrett bigbrett left a comment

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

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

3 participants