Skip to content

ecc.c: clear priv key with forcezero#9916

Merged
douzzer merged 1 commit intowolfSSL:masterfrom
julek-wolfssl:fenrir/286
Mar 7, 2026
Merged

ecc.c: clear priv key with forcezero#9916
douzzer merged 1 commit intowolfSSL:masterfrom
julek-wolfssl:fenrir/286

Conversation

@julek-wolfssl
Copy link
Member

F-286

Copilot AI review requested due to automatic review settings March 6, 2026 16:49
@julek-wolfssl julek-wolfssl added the For This Release Release version 5.9.0 label Mar 6, 2026
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

Updates ECC key import cleanup to securely zero private key material during error handling / cleanup paths (F-286).

Changes:

  • Replaces mp_clear(key->k) with mp_forcezero(key->k) in two ECC import helper paths to ensure private key material is wiped.

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

@JacobBarthelmeh
Copy link
Contributor

Retest this please Jenkins

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