David Garske
610d8e5366
Merge pull request #9275 from SparkiDev/xtensa_ct_x25519
...
Xtensa: mitigate potential non-CT assembly output
2025-10-13 07:13:53 -07:00
Sean Parkinson
c161cbd9f3
Xtensa: mitigate potential non-CT assembly output
...
Compilers for Xtensa have been seen to produce non-constant time code.
Force small code size builds for X25519, Ed25519, X448 and Ed448.
2025-10-13 10:24:01 +10:00
David Garske
e4b7f66927
Merge pull request #9286 from holtrop/rust-wc-ecc
...
Rust wrapper: add wolfssl::wolfcrypt::ecc module
2025-10-10 10:26:47 -07:00
David Garske
8a6297d42b
Merge pull request #9267 from julek-wolfssl/dtls-stricter-ordering
...
Add message order sanity checks
2025-10-10 10:26:34 -07:00
David Garske
f8c2e9c000
Merge pull request #9134 from JacobBarthelmeh/csharp
...
update mono build README instructions
2025-10-10 09:21:07 -07:00
Josh Holtrop
dbc1ecc376
Rust wrapper: remove a couple mut ptr casts
2025-10-10 11:07:19 -04:00
David Garske
d9f8e15fff
Merge pull request #9288 from mattia-moffa/20251010-python-new-oid-sum
...
Disable WOLFSSL_OLD_OID_SUM on Python builds
2025-10-10 08:05:17 -07:00
David Garske
46281a2c17
Merge pull request #9287 from douzzer/20251009-more-WOLFSSL_API_PREFIX_MAP
...
20251009-more-WOLFSSL_API_PREFIX_MAP
2025-10-10 08:05:05 -07:00
Josh Holtrop
a986b03f53
Rust wrapper: Address code review feedback for ECC
2025-10-10 06:56:46 -04:00
Juliusz Sosinowicz
42238c57b7
Improve documentation and add comments to test_memio buffer utilities
2025-10-10 11:52:47 +02:00
JacobBarthelmeh
7502cbaa3e
remove trailing white space in mono.yml
2025-10-10 00:50:46 -06:00
Mattia Moffa
490f20d8f8
Disable WOLFSSL_OLD_OID_SUM on Python builds
2025-10-10 01:25:03 +02:00
David Garske
9633248b49
Merge pull request #9276 from SparkiDev/kapi_ecc_init
...
KCAPI ECC: initialize mp_ints
2025-10-09 15:40:04 -07:00
Daniel Pouzzner
f767bd2851
.github/workflows/symbol-prefixes.yml: add PQC, --enable-acert, and --with-sys-crypto-policy to configuration;
...
wolfssl/ssl.h: make sure WOLFSSL_NO_TLS12 is defined in the TLS layer when NO_TLS.
2025-10-09 17:33:14 -05:00
Daniel Pouzzner
d1ba8eb9d0
configure.ac: don't add PQC to --enable-all-crypto -- not ready yet.
...
.github/workflows/symbol-prefixes.yml: count and report total_public_symbols, and use a better pattern to classify refs as defs.
2025-10-09 16:36:14 -05:00
Daniel Pouzzner
f1d014aecd
add .github/workflows/symbol-prefixes.yml.
...
configure.ac:
* add ML-KEM, ML-DSA, XMSS, and LMS to --enable-all-crypto when !ENABLED_FIPS.
* swap order of --enable-kyber and --enable-mlkem handler code to put mlkem first.
* add --enable-mldsa hander code.
* remove setup code that was adding -DWOLFSSL_NO_TLS12 and -DNO_OLD_TLS to
AM_CFLAGS when ENABLED_CRYPTONLY -- NO_OLD_TLS is already defined earlier for
when ENABLED_CRYPTONLY, and WOLFSSL_NO_TLS12 breaks wc_PRF_TLS(), which is
inside-the-FIPS-boundary crypto.
linuxkm/linuxkm_wc_port.h:
* adopt the WC_SANITIZE_DISABLE and WC_SANITIZE_ENABLE setup code from
settings.h (where it didn't belong).
* fix FIPS remapping of wc_InitMutex&friends to InitMutex&friends -- inhibit
when WOLFSSL_API_PREFIX_MAP.
wolfcrypt/src/ge_operations.c: add _wc_curve25519_dummy() to fix visibility of
curve25519().
wolfcrypt/src/poly1305.c: fix visibility of several unprefixed helper routines.
wolfcrypt/test/test.c: fix gating on tls12_kdf_test() and prf_test() (both
require !WOLFSSL_NO_TLS12).
wolfssl/internal.h, wolfssl/wolfio.h: add several WOLFSSL_API_PREFIX_MAPs.
wolfssl/wolfcrypt/ge_operations.h: fix visibility of several internal asm
functions.
wolfssl/wolfcrypt/settings.h: in WOLFSSL_LINUXKM setup, add gates to avoid redef
warnings for various settings, and remove the setup for
WC_SANITIZE_{DISABLE,ENABLE} (moved to linuxkm_wc_port.h as noted above).
wolfssl/wolfcrypt/wc_port.h: add WOLFSSL_API_PREFIX_MAPs for InitMutex() and
friends.
2025-10-09 15:34:08 -05:00
David Garske
f070ae1024
Merge pull request #9237 from gojimmypi/pr-max-error-sz
...
Detect if WOLFSSL_MAX_ERROR_SZ is too small
2025-10-09 13:09:51 -07:00
Josh Holtrop
883da3dd35
Rust wrapper: add wolfssl::wolfcrypt::ecc module
2025-10-09 14:58:07 -04:00
Juliusz Sosinowicz
5efdc6b7b6
Make mutual auth side check more robust
2025-10-09 20:23:56 +02:00
gojimmypi
ed506a5e4d
Detect if WOLFSSL_MAX_ERROR_SZ is too small
2025-10-09 09:48:10 -07:00
Juliusz Sosinowicz
bd9f7b5b87
Clarify return values in wolfSSL_mutual_auth documentation
2025-10-09 00:57:08 +02:00
David Garske
3f460b40bc
Merge pull request #9258 from kareem-wolfssl/zd19563_4
...
Fix potential memory leak in wolfSSL_X509_verify_cert.
2025-10-08 13:59:58 -07:00
David Garske
29e2f21fff
Merge pull request #9224 from kareem-wolfssl/zd20527
...
Fix swapped WOLFSSL_SILABS_SHA384/SHA512 defines in sha512.c.
2025-10-08 13:19:05 -07:00
David Garske
db4d2af935
Merge pull request #9257 from kareem-wolfssl/zd20595
...
Fix running tests in FIPS mode with hash DRBG disabled.
2025-10-08 12:57:46 -07:00
Kaleb Himes
38df498db0
Merge pull request #9282 from douzzer/20250926-fips-optest-tweaks
...
20250926-fips-optest-tweaks
2025-10-08 13:19:27 -06:00
Daniel Pouzzner
f4d929593f
add WOLFSSL_API_PREFIX_MAP -- when defined, exported symbols otherwise missing wc_ or wolfSSL_ prefixes are remapped with the appropriate prefix;
...
define WOLFSSL_API_PREFIX_MAP in WOLFSSL_LINUXKM setup in settings.h;
fix gates on WOLFSSL_HAVE_PRF and WOLFSSL_NO_CT_OPS setup in settings.h;
linuxkm/: add support for FIPS_OPTEST.
2025-10-08 13:15:56 -05:00
David Garske
7c64292851
Merge pull request #9277 from danielinux/pkcs11-aes-ctr
...
Added support for AES-CTR in PKCS11 driver
2025-10-08 08:32:57 -07:00
Juliusz Sosinowicz
8233d0d8a2
test_memio_move_message: add docs
2025-10-08 16:20:39 +02:00
Juliusz Sosinowicz
13f8f66281
Add docs
2025-10-08 13:43:35 +02:00
Juliusz Sosinowicz
b32c1aa15c
fixup! Add message order sanity checks
2025-10-08 13:33:09 +02:00
Juliusz Sosinowicz
10365d6082
Allow clearing group messages flag
2025-10-08 11:11:03 +02:00
Juliusz Sosinowicz
6fbbdf9324
Add message order sanity checks
...
Reorganize test_dtls tests to use TEST_DECL_GROUP
Reorganize test_tls tests to use TEST_DECL_GROUP
2025-10-08 11:11:03 +02:00
Kaleb Himes
4dbf96b7bc
Merge pull request #9280 from douzzer/20251007-linuxkm-fortify-source-sunrise
...
20251007-linuxkm-fortify-source-sunrise
2025-10-07 17:31:45 -06:00
JacobBarthelmeh
459a4be339
add SNI support by default to user_settings.h with C# wrapper
2025-10-07 16:43:30 -06:00
JacobBarthelmeh
b179f0d267
copy over library since mono CI build is having trouble finding it
2025-10-07 16:38:18 -06:00
JacobBarthelmeh
f5898d5f5d
no need to run make check with wolfSSL build, this test is checking C# wrapper tests
2025-10-07 16:31:43 -06:00
JacobBarthelmeh
33030c2862
fix for macro guard in dtls test case
2025-10-07 16:27:18 -06:00
JacobBarthelmeh
5c4801fca1
update mono build README instructions and add test case
2025-10-07 15:51:02 -06:00
David Garske
a3af514b65
Merge pull request #8927 from JacobBarthelmeh/usersettings
...
Fix for user_settings.h build with configure.ac and HAVE_CURVE25519
2025-10-07 14:41:29 -07:00
David Garske
9d72337a25
Merge pull request #9273 from holtrop/rust-wc-rsa
...
Rust wrapper: add wolfssl::wolfcrypt::rsa module
2025-10-07 14:39:11 -07:00
Kareem
b564138490
Merge remote-tracking branch 'upstream/master' into zd19563_4
2025-10-07 14:23:45 -07:00
Kareem
233e574f32
Merge remote-tracking branch 'upstream/master' into zd20595
2025-10-07 14:23:21 -07:00
Kareem
8fbc39ea6c
Merge branch 'master' into zd20527
2025-10-07 14:22:55 -07:00
Kareem
14e1d2eec3
Merge branch 'master' into zd20527
2025-10-07 14:22:08 -07:00
Kareem
931384a117
Merge branch 'master' into zd20595
2025-10-07 14:21:46 -07:00
David Garske
1d67e5551b
Merge pull request #9279 from julek-wolfssl/testsuite_test-ready
...
testsuite_test: reset `ready` in between uses
2025-10-07 13:26:59 -07:00
Josh Holtrop
4fba5f8679
Rust wrapper: add license comments to Rust source files
2025-10-07 16:02:36 -04:00
Josh Holtrop
cf9014dce5
Rust wrapper: document more directories in README.md
2025-10-07 15:59:54 -04:00
Daniel Pouzzner
e4f0acdc1d
linuxkm/linuxkm_wc_port.h: disable CONFIG_FORTIFY_SOURCE module-wide on kernels <5.18 (shim conflicts), and add WC_FORCE_LINUXKM_FORTIFY_SOURCE for future use.
2025-10-07 12:49:54 -05:00
David Garske
b75af93a05
Merge pull request #9278 from JacobBarthelmeh/pkcs7_stream
...
coverity warnings on test case, CID 549270 and 549271
2025-10-07 10:19:01 -07:00