Skip to content

Android: 16 KB page alignment and FIPS v7 FIPS Ready support - #289

Merged
rlm2002 merged 2 commits into
wolfSSL:masterfrom
cconlon:androidFipsReadyv7
Sep 30, 2026
Merged

rlm2002 merged 2 commits into
wolfSSL:masterfrom
cconlon:androidFipsReadyv7

Conversation

@cconlon

@cconlon cconlon commented Sep 29, 2026

Copy link
Copy Markdown
Member

This PR updates the Android example project CMakeLists.txt to fix two build and runtime issues:

  • Links libwolfssl.so and libwolfcryptjni.so with -Wl,-z,max-page-size=16384 so the libraries are 16 KB page aligned. This fixes the Android 15+ app compatibility warning on devices with 16 KB pages. NDK r28+ does this by default.
  • Updates the FIPS Ready WOLFCRYPT_FIPS_CORE_HASH_VALUE defaults to 128 hex characters. FIPS v7 uses HMAC-SHA-512 for the in-core check, and the old 64-character (SHA-256) values fail the verifyCore[] static assert in fips_test.c.

@cconlon cconlon self-assigned this Sep 29, 2026
Copilot AI balanced review requested due to automatic review settings September 29, 2026 21:15

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@cconlon
cconlon force-pushed the androidFipsReadyv7 branch 2 times, most recently from c72e275 to c5c3088 Compare September 30, 2026 15:57
@cconlon cconlon assigned rlm2002 and unassigned cconlon Sep 30, 2026
@rlm2002
rlm2002 merged commit e66bd79 into wolfSSL:master Sep 30, 2026
182 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.

3 participants