Skip to content

Replace XMEMCMP with ConstantCompare when validating secure renegotiation (SCR) verify data#9899

Merged
douzzer merged 2 commits intowolfSSL:masterfrom
julek-wolfssl:fenrir/16
Mar 7, 2026
Merged

Replace XMEMCMP with ConstantCompare when validating secure renegotiation (SCR) verify data#9899
douzzer merged 2 commits intowolfSSL:masterfrom
julek-wolfssl:fenrir/16

Conversation

@julek-wolfssl
Copy link
Member

F-16

Copilot AI review requested due to automatic review settings March 6, 2026 07:51
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 SCR (secure renegotiation) verify-data validation to use a constant-time comparison routine instead of XMEMCMP.

Changes:

  • Replaced XMEMCMP with ConstantCompare for SCR client verify-data validation.
  • Replaced XMEMCMP with ConstantCompare for SCR client+server verify-data validation.

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

@douzzer douzzer added the Staged Staged for merge pending final test results and review label Mar 6, 2026
@douzzer douzzer merged commit a875ffe into wolfSSL:master Mar 7, 2026
440 of 445 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

For This Release Release version 5.9.0 Staged Staged for merge pending final test results and review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants