Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix for Compressed Keys with FIPS #8248

Merged
merged 1 commit into from
Dec 4, 2024

Conversation

lealem47
Copy link
Contributor

@lealem47 lealem47 commented Dec 3, 2024

Description

The macro guard that was edited in this PR should have accounted for HAVE_FIPS_VERSION=5 as well as HAVE_FIPS_VERSION=2, since neither versions have the get length functionality available with compressed keys

Fixes zd#

Testing

wolfCrypt tests with ./configure --enable-fips=v5 CFLAGS=-DHAVE_COMP_KEY fails before this PR

Checklist

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

@lealem47 lealem47 self-assigned this Dec 3, 2024
Copy link
Contributor

@kaleb-himes kaleb-himes left a comment

Choose a reason for hiding this comment

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

Tested with modules v5.2.1, v5.2.3 and v6.0.0, good to go! Thanks @lealem47!

@lealem47
Copy link
Contributor Author

lealem47 commented Dec 4, 2024

Jenkins Retest this please

@lealem47 lealem47 assigned wolfSSL-Bot and unassigned lealem47 Dec 4, 2024
@JacobBarthelmeh JacobBarthelmeh merged commit bdbaa52 into wolfSSL:master Dec 4, 2024
143 checks passed
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