Skip to content

fix for CAAM build#10459

Open
JacobBarthelmeh wants to merge 2 commits into
wolfSSL:masterfrom
JacobBarthelmeh:caam
Open

fix for CAAM build#10459
JacobBarthelmeh wants to merge 2 commits into
wolfSSL:masterfrom
JacobBarthelmeh:caam

Conversation

@JacobBarthelmeh
Copy link
Copy Markdown
Contributor

F - 593

@JacobBarthelmeh JacobBarthelmeh self-assigned this May 11, 2026
Copilot AI review requested due to automatic review settings May 11, 2026 22:08
Copy link
Copy Markdown

@wolfSSL-Fenrir-bot wolfSSL-Fenrir-bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fenrir Automated Review — PR #10459

Scan targets checked: wolfcrypt-port-bugs

No new issues found in the changed files. ✅

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 fixes build issues in the CAAM hash port by correcting incorrect structure member references and pointer types used when building CAAM buffer descriptors for SHA-224 operations and the shared update routine.

Changes:

  • Fix _ShaUpdate() to use its ctx and buffer parameters instead of referencing a non-existent sha variable (sha->ctx, sha->buffer).
  • Fix SHA-224 CAAM wrapper to use the correct wc_Sha224 field name (buffLen), and add the required cast when passing sha224->buffer into _ShaUpdate().

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

Comment thread wolfcrypt/src/port/caam/wolfcaam_hash.c
@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 12, 2026

MemBrowse Memory Report

No memory changes detected for:

@JacobBarthelmeh
Copy link
Copy Markdown
Contributor Author

Retest this please Jenkins. Clicking on the fail link shows no history.

@JacobBarthelmeh
Copy link
Copy Markdown
Contributor Author

Retest this please Jenkins. FIPS harness test failure.

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