Skip to content

Harden wc_ecc_shared_secret_gen_sync#9891

Merged
douzzer merged 1 commit intowolfSSL:masterfrom
embhorn:f194
Mar 7, 2026
Merged

Harden wc_ecc_shared_secret_gen_sync#9891
douzzer merged 1 commit intowolfSSL:masterfrom
embhorn:f194

Conversation

@embhorn
Copy link
Member

@embhorn embhorn commented Mar 5, 2026

Description

Harden wc_ecc_shared_secret_gen_sync using mp_forcezero

Fixes f194

Checklist

  • added tests
  • updated/added doxygen
  • updated appropriate READMEs
  • Updated manual and documentation

@embhorn embhorn self-assigned this Mar 5, 2026
Copilot AI review requested due to automatic review settings March 5, 2026 21:10
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

Hardens wc_ecc_shared_secret_gen_sync by switching from mp_clear to mp_forcezero to more robustly wipe sensitive big-integer material.

Changes:

  • Replace mp_clear(k) with mp_forcezero(k) under HAVE_ECC_CDH teardown logic.

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

@philljj philljj added the For This Release Release version 5.9.0 label Mar 6, 2026
@embhorn
Copy link
Member Author

embhorn commented Mar 6, 2026

Jenkins retest this please

@embhorn embhorn assigned wolfSSL-Bot and unassigned embhorn Mar 6, 2026
@embhorn
Copy link
Member Author

embhorn commented Mar 6, 2026

Retest this please

@douzzer douzzer added the Staged Staged for merge pending final test results and review label Mar 6, 2026
@douzzer douzzer merged commit 2635315 into wolfSSL:master Mar 7, 2026
598 of 602 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