Skip to content

add init of cmac in test case#289

Merged
bigbrett merged 1 commit intowolfSSL:mainfrom
JacobBarthelmeh:aes
Feb 23, 2026
Merged

add init of cmac in test case#289
bigbrett merged 1 commit intowolfSSL:mainfrom
JacobBarthelmeh:aes

Conversation

@JacobBarthelmeh
Copy link
Contributor

No description provided.

Copy link
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 updates the CMAC crypto test to explicitly initialize the Cmac context before associating an HSM-cached key ID and running one-shot CMAC generation.

Changes:

  • Add a wc_InitCmac_ex() call in the one-shot CMAC generate path prior to wh_Client_CmacSetKeyId().
  • Add error handling/logging for CMAC init failures in that path.

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

@bigbrett bigbrett merged commit 95cb29c into wolfSSL:main Feb 23, 2026
51 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