Skip to content

remove erroneous hash type usage#436

Merged
AlexLanzano merged 1 commit into
wolfSSL:mainfrom
bigbrett:hash-type-removal
Jul 1, 2026
Merged

remove erroneous hash type usage#436
AlexLanzano merged 1 commit into
wolfSSL:mainfrom
bigbrett:hash-type-removal

Conversation

@bigbrett

@bigbrett bigbrett commented Jul 1, 2026

Copy link
Copy Markdown
Contributor

No description provided.

Copilot AI review requested due to automatic review settings July 1, 2026 20:46

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

This PR removes an assignment of hashType into the internal wc_Sha512 context in the server-side SHA-512 DMA handler, keeping the hash variant tracked via the request/response (req.resumeState.hashType / res.hashType) and the wc_InitSha512* initializer selection instead.

Changes:

  • Remove sha512->hashType = hashType; from _HandleSha512Dma() to avoid erroneous/unused internal hash-type state mutation.

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

@AlexLanzano
AlexLanzano merged commit 75cb666 into wolfSSL:main Jul 1, 2026
108 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.

3 participants