Skip to content

Implement FIPS support for testing scripts and fix FIPS AES cmd test#191

Merged
padelsbach merged 3 commits into
wolfSSL:masterfrom
aidangarske:fips-test-support
Jul 7, 2025
Merged

Implement FIPS support for testing scripts and fix FIPS AES cmd test#191
padelsbach merged 3 commits into
wolfSSL:masterfrom
aidangarske:fips-test-support

Conversation

@aidangarske

@aidangarske aidangarske commented Jun 25, 2025

Copy link
Copy Markdown
Member

Description

  • Fixes FIPS AES cmd test failures with WOLFPROV_DEBUG
  • Adds a WOLFSSL_ISFIPS env variable that gets passed in to testing scripts to enable FIPS mode testing.
  • Fixes bug in ./scripts/do-cmd-test.sh with running AES-CFB with FIPS mode
  • Allow non cmd test to build with different versions
  • scripts/test-sanity.sh and scripts/test-wp-cs.sh work with FIPS and without
  • scripts/test-openssl.sh is broken with FIPS, master, and v5.8.0-stable with openssl-3.5.0 no matter what combo. Already disabled in jenkins though.
  • Unsets WPFF when doing init_wolfprov so we dont fail unit test for testing

@aidangarske aidangarske self-assigned this Jun 25, 2025
Comment thread scripts/cmd_test/aes-cmd-test.sh Outdated
Comment thread scripts/test-openssl.sh Outdated
Comment thread scripts/test-openssl.sh Outdated
@aidangarske aidangarske changed the title Implement FIPS support for testing scripts Implement FIPS support for testing scripts and fix FIPS AES cmd test Jul 5, 2025

@padelsbach padelsbach 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.

Nice improvement, but a couple concerns

Comment thread scripts/cmd_test/aes-cmd-test.sh Outdated
Comment thread scripts/cmd_test/aes-cmd-test.sh Outdated
Comment thread scripts/cmd_test/aes-cmd-test.sh
@aidangarske aidangarske requested a review from padelsbach July 6, 2025 23:40

@padelsbach padelsbach 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.

Looks great, nice improvements. Thanks

@padelsbach padelsbach merged commit 14f011b into wolfSSL:master Jul 7, 2025
184 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.

2 participants