Skip to content

SP gen: FP_ECC init mutex improvement#10597

Merged
douzzer merged 1 commit into
wolfSSL:masterfrom
SparkiDev:sp_lazy_mutex_init_improv
Jun 5, 2026
Merged

SP gen: FP_ECC init mutex improvement#10597
douzzer merged 1 commit into
wolfSSL:masterfrom
SparkiDev:sp_lazy_mutex_init_improv

Conversation

@SparkiDev
Copy link
Copy Markdown
Contributor

@SparkiDev SparkiDev commented Jun 4, 2026

Description

F-1379
Better handling of the lazy mutex initialization to use atomics where available.

Improved atomic code when no system support:

  • add types
  • used types in functions

Add --no-ec to unit.test to not run wolfCrypt tests.

Testing

./configure --disable-shared --enable-sp --enable-fpecc CFLAGS=-DWOLFSSL_TEST_NO_MUTEX_INITIALIZER --disable-threadlocal

@SparkiDev SparkiDev self-assigned this Jun 4, 2026
@SparkiDev SparkiDev assigned wolfSSL-Bot and unassigned SparkiDev Jun 4, 2026
@SparkiDev SparkiDev requested a review from wolfSSL-Bot June 4, 2026 10:14
Comment thread wolfcrypt/src/sp_arm32.c
F-1379
Better handling of the lazy mutex initialization to use atomics where
available.

Improved atomic code when no system support:
 - add types
 - used types in functions

Add --no-ec to unit.test to not run wolfCrypt tests.
@SparkiDev SparkiDev force-pushed the sp_lazy_mutex_init_improv branch from 38b8bc1 to ada6c5f Compare June 5, 2026 00:59
@douzzer douzzer merged commit b8d8e91 into wolfSSL:master Jun 5, 2026
478 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