Skip to content

Clear expandLabelPrk#9902

Merged
douzzer merged 1 commit into
wolfSSL:masterfrom
julek-wolfssl:fenrir/359
Mar 7, 2026
Merged

Clear expandLabelPrk#9902
douzzer merged 1 commit into
wolfSSL:masterfrom
julek-wolfssl:fenrir/359

Conversation

@julek-wolfssl
Copy link
Copy Markdown
Member

F-359

Copilot AI review requested due to automatic review settings March 6, 2026 08:20
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 strengthens sensitive-data handling for ECH by tracking and explicitly zeroizing the expandLabelPrk buffer during ECH acceptance processing.

Changes:

  • Register expandLabelPrk with wc_MemZero_Add when WOLFSSL_CHECK_MEM_ZERO is enabled.
  • Explicitly clear expandLabelPrk with ForceZero before returning from the ECH paths.
  • Validate the zeroization with wc_MemZero_Check under WOLFSSL_CHECK_MEM_ZERO.

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

Comment thread src/tls13.c
Comment thread src/tls13.c
@philljj philljj added the For This Release Release version 5.9.1 label Mar 6, 2026
@douzzer douzzer added the Staged Staged for merge pending final test results and review label Mar 6, 2026
@douzzer douzzer merged commit 24b2dd0 into wolfSSL:master Mar 7, 2026
442 of 443 checks passed
@julek-wolfssl julek-wolfssl deleted the fenrir/359 branch May 12, 2026 12:29
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.1 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