Skip to content

add RUST kbkdf tests#534

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

add RUST kbkdf tests#534
meilu-git wants to merge 2 commits into
mainfrom
meilu/azihsm_kbkdf_tests

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

Adds Rust integration tests in api/tests to exercise KBKDF (SP 800-108 Counter Mode) key derivation against the HSM API, largely mirroring the existing C++ KBKDF matrix coverage.

Changes:

  • Register a new kbkdf_tests module under the KDF test suite.
  • Add a new Rust test file covering KBKDF counter-mode derivation matrices and several negative/validation scenarios.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
api/tests/src/algo/kdf/mod.rs Registers the new kbkdf_tests module so it builds/runs with the KDF test suite.
api/tests/src/algo/kdf/kbkdf_tests.rs Introduces Rust KBKDF counter-mode tests (matrix + targeted positive/negative cases).

Comment thread api/tests/src/algo/kdf/kbkdf_tests.rs Outdated
Copilot AI review requested due to automatic review settings July 13, 2026 17:20
@meilu-git
meilu-git force-pushed the meilu/azihsm_kbkdf_tests branch from 313759b to 10d804d Compare July 13, 2026 17:20

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

Copilot reviewed 2 out of 2 changed files in this pull request and generated no new comments.

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