Skip to content

Fix f_640, f_641, f_642, f_643#210

Merged
dgarske merged 4 commits into
wolfSSL:mainfrom
yosuke-wolfssl:f_fix
Mar 24, 2026
Merged

Fix f_640, f_641, f_642, f_643#210
dgarske merged 4 commits into
wolfSSL:mainfrom
yosuke-wolfssl:f_fix

Conversation

@yosuke-wolfssl

Copy link
Copy Markdown
Contributor

This PR adds the following changes:

  • Fix toupper() usage (f_640, f_641)
  • Fix the XMSSMT parameter strings (f_642, f_643)

@yosuke-wolfssl yosuke-wolfssl self-assigned this Mar 24, 2026
Copilot AI review requested due to automatic review settings March 24, 2026 06:22

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

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 addresses input normalization and parameter selection in the CLI tooling, fixing two issues where uppercasing previously had no effect and correcting XMSS^MT parameter strings used for key generation.

Changes:

  • Store the result of toupper() back into the curve name buffer for ECC-related options (genkey, ecparam).
  • Fix XMSS^MT parameter string construction for specific -height/-layer combinations.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

File Description
src/genkey/clu_genkey_setup.c Fixes curve-name uppercasing and corrects XMSS^MT parameter strings for certain layer defaults.
src/ecparam/clu_ecparam.c Fixes curve-name uppercasing for -name handling.

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

Comment thread src/genkey/clu_genkey_setup.c Outdated
Comment thread src/ecparam/clu_ecparam.c Outdated
@dgarske
dgarske merged commit 6fbbc8d into wolfSSL:main Mar 24, 2026
17 checks passed
@yosuke-wolfssl
yosuke-wolfssl deleted the f_fix branch March 24, 2026 22:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants