Skip to content

Rust wrapper: fix rsa_oaep cfg probe for FIPS - #11514

Open
holtrop-wolfssl wants to merge 1 commit into
wolfSSL:masterfrom
holtrop-wolfssl:f-12236
Open

holtrop-wolfssl wants to merge 1 commit into
wolfSSL:masterfrom
holtrop-wolfssl:f-12236

Conversation

@holtrop-wolfssl

Copy link
Copy Markdown
Contributor

Description

Rust wrapper: fix rsa_oaep cfg probe for FIPS

Fixes F-12236.

Testing

How did you test?

Checklist

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

@holtrop-wolfssl holtrop-wolfssl self-assigned this Sep 21, 2026
Copilot AI lite review requested due to automatic review settings September 21, 2026 18:13

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.

Copilot review overview

🟢 Approval recommended

The reviewed changes address FIPS-renamed symbol detection without unresolved blocking issues.

Review effort: Lite
Findings: None

What changed in this PR

Fixes Rust RSA-OAEP feature detection for FIPS builds with renamed wolfCrypt symbols.

Changes:

  • Centralizes standard-to-FIPS symbol mappings.
  • Reuses mappings for alias generation and cfg probing.
  • Escapes function names in generated regex patterns.
File Description
wrapper/​rust/​wolfssl-wolfcrypt/​build.rs Adds FIPS rename handling to symbol detection and alias generation.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

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