Skip to content

Fix: removed unneccesary memset from clu_sign.c - #279

Open
aidankeefe2022 wants to merge 1 commit into
wolfSSL:mainfrom
aidankeefe2022:xmss-redundant-memset
Open

Fix: removed unneccesary memset from clu_sign.c#279
aidankeefe2022 wants to merge 1 commit into
wolfSSL:mainfrom
aidankeefe2022:xmss-redundant-memset

Conversation

@aidankeefe2022

Copy link
Copy Markdown
Member

wc_XmssKey_Init(...) sets the input key to zero at the top of the function

@aidankeefe2022 aidankeefe2022 self-assigned this Aug 5, 2026
@aidankeefe2022 aidankeefe2022 changed the title removed unneccesary memset from clu_sign.c Fix: removed unneccesary memset from clu_sign.c Aug 5, 2026
@dgarske
dgarske self-requested a review August 6, 2026 22:43
#endif

/* init the XMSS key */
XMEMSET(key, 0, sizeof(XmssKey));

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note: There are other places in wolfCLU specifically with wc_XmssKey_Init that use this. The PR should cover them all, right?

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.

3 participants