Skip to content

Clean up hpke and rng allocation#9904

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

Clean up hpke and rng allocation#9904
douzzer merged 1 commit intowolfSSL:masterfrom
julek-wolfssl:fenrir/24

Conversation

@julek-wolfssl
Copy link
Member

F-24

@julek-wolfssl julek-wolfssl self-assigned this Mar 6, 2026
Copilot AI review requested due to automatic review settings March 6, 2026 08:48
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

Refactors ECH write-path temporary Hpke and WC_RNG handling to use the WC_DECLARE_VAR / WC_ALLOC_VAR_EX abstraction instead of WOLFSSL_SMALL_STACK-guarded stack/heap code.

Changes:

  • Replaced #ifdef WOLFSSL_SMALL_STACK stack/heap split with WC_DECLARE_VAR declarations.
  • Replaced manual XMALLOC/early-returns with WC_ALLOC_VAR_EX allocations and a guarded init sequence.

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