Skip to content

Fix ML-KEM templates in tests#183

Merged
aidangarske merged 1 commit into
wolfSSL:masterfrom
LinuxJedi:pq-fix
May 1, 2026
Merged

Fix ML-KEM templates in tests#183
aidangarske merged 1 commit into
wolfSSL:masterfrom
LinuxJedi:pq-fix

Conversation

@LinuxJedi
Copy link
Copy Markdown
Member

No description provided.

Copilot AI review requested due to automatic review settings May 1, 2026 08:56
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

Updates the ML-KEM-related test templates to explicitly request keys that the tests can read back (via CKA_VALUE) for comparison and re-import scenarios.

Changes:

  • Make generated ML-KEM private keys explicitly non-sensitive and extractable in the key-pair generation helper.
  • Make encapsulated/decapsulated secret keys explicitly non-sensitive so tests can read CKA_VALUE and compare shared secrets.
  • Add clarifying comment explaining why private keys are generated as extractable/non-sensitive in tests.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread tests/pkcs11v3test.c Outdated
@aidangarske aidangarske merged commit 998d738 into wolfSSL:master May 1, 2026
77 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.

4 participants