Skip to content

Fix PostSignRequest#916

Merged
JacobBarthelmeh merged 1 commit intowolfSSL:masterfrom
yosuke-wolfssl:f_2861
Apr 15, 2026
Merged

Fix PostSignRequest#916
JacobBarthelmeh merged 1 commit intowolfSSL:masterfrom
yosuke-wolfssl:f_2861

Conversation

@yosuke-wolfssl
Copy link
Copy Markdown
Contributor

This PR changes the PostSignRequest so that the correct digestSz is passed to SignHashRsa().
Addressed in F_2861.

@yosuke-wolfssl yosuke-wolfssl self-assigned this Apr 14, 2026
Copilot AI review requested due to automatic review settings April 14, 2026 05:19
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

Note

Copilot was unable to run its full agentic suite in this review.

This PR adjusts PostSignRequest to compute and pass the correct digest size when hashing, so SignHashRsa() receives a correctly-sized digest (per F_2861).

Changes:

  • Derive digestSz from hashType via wc_HashGetDigestSize(hashType) before calling wc_Hash().

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

Comment thread src/agent.c Outdated
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

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


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

Comment thread src/agent.c Outdated
@JacobBarthelmeh JacobBarthelmeh merged commit 346c5c1 into wolfSSL:master Apr 15, 2026
137 of 138 checks passed
@yosuke-wolfssl yosuke-wolfssl deleted the f_2861 branch April 16, 2026 05:57
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.

5 participants