Skip to content

Navigation Menu

Sign in
Sign up

Supply the FIPS build settings for Windows - #468

Open
ColtonWilley wants to merge 1 commit into
wolfSSL:master from
ColtonWilley:winvs-fips-user-settings
Open

Supply the FIPS build settings for Windows #468
ColtonWilley wants to merge 1 commit into
wolfSSL:master from
ColtonWilley:winvs-fips-user-settings

Conversation

@ColtonWilley

@ColtonWilley ColtonWilley commented Aug 14, 2026

Copy link
Copy Markdown
Contributor

Windows has no configure step, so the macros configure sets for a FIPS build are missing.

Adds IDE/WINVS/user_settings-fips.h with those macros. It is included at the end of the bundle's IDE/WIN10/user_settings.h, so wolfSSL and wolfProvider compile against the same file.

README documents the FIPS build procedure and the overrides the unit tests need against a FIPS bundle.

configure sets a group of macros on Linux that a Windows FIPS build silently
omits. Nothing fails at build time; the results are malformed PKCS#8, RSA-PSS
interop failures against OpenSSL, and a struct sp_int layout mismatch.
Ship them as IDE/WINVS/user_settings-fips.h, included at the end of the bundle's
IDE/WIN10/user_settings.h so wolfSSL and wolfProvider compile against the same
one. WOLFSSL_SP_INT_NEGATIVE is ABI-affecting, so the two builds disagreeing on
it is silent and fatal.
The README gains the FIPS procedure: enabling FIPS in the bundle, the v143
retarget, naming the .vcxproj rather than the .sln MSBuild 17 cannot load,
building the test app that reports the in-core hash, and the overrides the unit
tests need. It also records that DLL Release|x64 and DLL Debug|x64 are the
approved FIPS configurations and that their project settings are correct as
shipped.
No source or project files change.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

1 participant

AltStyle によって変換されたページ (->オリジナル) /