Skip to content

configure: avoid entropy fallback for AMD RDSEED in FIPS builds#10715

Open
lealem47 wants to merge 2 commits into
wolfSSL:masterfrom
lealem47:amdseed_force_fail
Open

configure: avoid entropy fallback for AMD RDSEED in FIPS builds#10715
lealem47 wants to merge 2 commits into
wolfSSL:masterfrom
lealem47:amdseed_force_fail

Conversation

@lealem47

Copy link
Copy Markdown
Contributor

Description

No entropy source fallback allowed with FIPS if using RDSEED ESV

Testing

How did you test?

Checklist

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

@lealem47 lealem47 self-assigned this Jun 17, 2026
Copilot AI review requested due to automatic review settings June 17, 2026 15:47

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 updates the FIPS build configuration logic to prevent entropy-source fallback when using AMD RDSEED (per ESV requirements), by controlling when FORCE_FAILURE_RDSEED is added to AM_CFLAGS.

Changes:

  • Extend the FIPS v5 FORCE_FAILURE_RDSEED define condition to include AMD RDSEED builds.
  • Adjust entropy fallback behavior indirectly by influencing compilation flags used by the RNG seeding code paths.

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

Comment thread configure.ac Outdated
@lealem47 lealem47 assigned wolfSSL-Bot and unassigned lealem47 Jun 17, 2026
@lealem47 lealem47 added the For This Release Release version 5.9.2 label Jun 17, 2026
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.2

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants