Skip to content

[TEST]add test coverage to native test for ecc sign/verify#426

Open
meilu-git wants to merge 2 commits into
mainfrom
meilu/native_ecc_sign_verify_tests
Open

[TEST]add test coverage to native test for ecc sign/verify#426
meilu-git wants to merge 2 commits into
mainfrom
meilu/native_ecc_sign_verify_tests

Conversation

@meilu-git
Copy link
Copy Markdown
Collaborator

No description provided.

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 expands the C++ native test suite for ECC ECDSA sign/verify in api/tests/cpp, adding many additional “parity” and negative-path cases (invalid inputs/handles, wrong key types, tampered signatures/data, and streaming API edge cases) to increase coverage.

Changes:

  • Added helper functions to exercise ECDSA sign/verify across curves and failure scenarios (modified digest, tampered signature, wrong public key).
  • Added numerous new single-shot and streaming ECDSA tests covering invalid arguments, invalid handles/contexts, key misuse, and signature length edge cases.
  • Added/extended ECC persistence test helpers/comments and expanded scenario coverage around persisted data workflows.

Comment thread api/tests/cpp/algo/ecc/sign_verify_tests.cpp Outdated
Comment thread api/tests/cpp/algo/ecc/sign_verify_tests.cpp
@meilu-git meilu-git force-pushed the meilu/native_ecc_sign_verify_tests branch from 1e1efaa to e876e7a Compare June 5, 2026 14:50
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