Skip to content

Conversation

@douzzer
Copy link
Contributor

@douzzer douzzer commented Jan 9, 2026

configure.ac: if ENABLED_32BIT, add -DWC_32BIT_CPU to AM_CFLAGS, and don't add WOLFSSL_X86_64_BUILD to AM_CFLAGS; fix handling for --enable-bump;

wolfssl/wolfcrypt/settings.h: classify OPENSSL_EXTRA as "desktop type system" in bump up of default FP_MAX_BITS and SP_INT_BITS;

wolfssl/wolfcrypt/types.h: if WC_32BIT_CPU, don't define WC_64BIT_CPU.

fixes #7929 when combined with --enable-opensslextra.

tested with wolfssl-multi-test.sh ... check-configure cross-powerpc32-asm-ocsp-test, the latter of which runs the reproducer in #7929 on emulated-ppc32 using some new logic I've just added to multi-test.

also tested with wolfssl-multi-test.sh ... '.*-m32.*'

@douzzer douzzer requested review from embhorn and wolfSSL-Bot January 9, 2026 00:24
@douzzer douzzer marked this pull request as draft January 13, 2026 06:52
@dgarske dgarske assigned douzzer and unassigned wolfSSL-Bot Jan 20, 2026
@douzzer douzzer force-pushed the 20260108-DEFAULT_MAX_CLASSIC_ASYM_KEY_BITS branch from d316788 to d4840d8 Compare January 21, 2026 01:16
@douzzer
Copy link
Contributor Author

douzzer commented Jan 21, 2026

retest this please

Found unhandled org.jenkinsci.plugins.workflow.support.steps.AgentOfflineException exception:

@douzzer douzzer marked this pull request as ready for review January 21, 2026 03:24
@douzzer douzzer requested a review from SparkiDev January 21, 2026 03:25
embhorn
embhorn previously approved these changes Jan 21, 2026
Copy link
Contributor

@dgarske dgarske left a comment

Choose a reason for hiding this comment

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

This does not look right. Its just changing the default minimum RSA/DH from 3072 -> 4096 bit for SP math all (sp_int.c). The issue referenced was fast math tfm.c and its adjusted with FP_MAX_BITS (2 * max). The customer/user should supply that during build to determine actual maximum size they want to support.

…don't add WOLFSSL_X86_64_BUILD to AM_CFLAGS; fix handling for --enable-bump;

wolfssl/wolfcrypt/settings.h: classify OPENSSL_EXTRA as "desktop type system" in bump up of default FP_MAX_BITS and SP_INT_BITS;

wolfssl/wolfcrypt/types.h: if WC_32BIT_CPU, don't define WC_64BIT_CPU.
@douzzer douzzer force-pushed the 20260108-DEFAULT_MAX_CLASSIC_ASYM_KEY_BITS branch from d4840d8 to 142f493 Compare January 22, 2026 00:27
@douzzer douzzer requested a review from dgarske January 22, 2026 00:33
@douzzer
Copy link
Contributor Author

douzzer commented Jan 22, 2026

retest this please
(openssl test failure in "Known apple M1 customer configs A")

@douzzer douzzer assigned wolfSSL-Bot and unassigned douzzer Jan 22, 2026
@dgarske dgarske merged commit 62ca344 into wolfSSL:master Jan 22, 2026
381 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.

On 32-bit platform, ocsp.test to www.google.com may fail?

4 participants