Skip to content

add more coverage to native rsa sing/verify tests#487

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

add more coverage to native rsa sing/verify tests#487
meilu-git wants to merge 2 commits into
mainfrom
meilu/native_azihsm_rsa_sign_verify

Conversation

@meilu-git

Copy link
Copy Markdown
Collaborator

No description provided.

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.

Pull request overview

This PR expands the C++ integration test coverage for the AZIHSM native RSA sign/verify APIs, adding additional negative-path and edge-case scenarios for both one-shot and streaming flows.

Changes:

  • Add one-shot RSA sign/verify negative tests (tampered/truncated/empty/oversized signatures, wrong key usage, wrong hash algorithm).
  • Add RSA-PSS-specific coverage (mismatched PSS parameters, invalid digest length for pre-hashed PSS, salt length boundary cases, determinism/non-determinism checks).
  • Add streaming state-machine and edge-case tests (small output buffer on finish, empty input/chunk behavior, update/finish after finish).

Comment thread api/tests/cpp/algo/rsa/sign_verify_tests.cpp Outdated
Comment thread api/tests/cpp/algo/rsa/sign_verify_tests.cpp Outdated
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