Devin AI
9c0dbe622d
Add missing Federal PKI Certificate Policy OIDs
...
Co-Authored-By: kareem@wolfssl.com <kareem@wolfssl.com>
2025-03-25 20:48:32 +00:00
Devin AI
8f9acb7543
Add ECA PKI and Federal PKI Certificate Policy OIDs
...
Co-Authored-By: kareem@wolfssl.com <kareem@wolfssl.com>
2025-03-24 18:41:34 +00:00
Devin AI
e622b5c6d0
Add Department of Defense (DoD) Public Key Infrastructure (PKI) Certificate Policy OIDs
...
Co-Authored-By: kareem@wolfssl.com <kareem@wolfssl.com>
2025-03-24 18:34:39 +00:00
David Garske
0cc0bb0afe
Merge pull request #8586 from douzzer/20250321-siphash-armasm
...
20250321-siphash-armasm
2025-03-23 14:00:17 -07:00
Daniel Pouzzner
0cea9c09f7
src/internal.c: fix -Wdeclaration-after-statement in ProcessCSR_ex().
2025-03-22 23:51:59 -05:00
Daniel Pouzzner
29a0992ed5
wolfssl/wolfcrypt/settings.h: for WOLFCRYPT_FIPS_RAND, don't define USE_FAST_MATH, and make sure NO_BIG_INT is defined.
2025-03-22 22:21:23 -05:00
Daniel Pouzzner
3cad38a1ca
wolfcrypt/test/test.c: gate wc_CmacFree()s in cmac_test() on !HAVE_FIPS || FIPS_VERSION3_GE(6,0,0); fix some return codes in hash_test().
2025-03-22 17:19:37 -05:00
Daniel Pouzzner
60ffde6d7c
wolfcrypt/test/test.c: fix error-path various uninitialized data uses and memory leaks.
2025-03-22 13:40:31 -05:00
Daniel Pouzzner
190f46ef23
wolfcrypt/test/test.c: fix -Wdeclaration-after-statement in sm3_test().
2025-03-22 01:22:19 -05:00
Daniel Pouzzner
1587f21938
fix a couple -Wdeclaration-after-statements.
2025-03-21 22:33:45 -05:00
Daniel Pouzzner
777d42fabe
wolfcrypt/src/siphash.c: gate armasm on defined(WOLFSSL_ARMASM), not !defined(WOLFSSL_NO_ASM).
2025-03-21 21:12:41 -05:00
Daniel Pouzzner
576c489b0f
Merge pull request #8583 from lealem47/fips_linuxkm
...
Remove linuxkm-pie dependency for FIPS linuxkm
2025-03-21 21:09:04 -05:00
David Garske
defcaa192f
Merge pull request #8582 from douzzer/20250321-Wdeclaration-after-statements-and-Kyber-fixes
...
20250321-Wdeclaration-after-statements-and-Kyber-fixes
2025-03-21 16:40:38 -07:00
Daniel Pouzzner
e3fe575720
tests/api/test_evp.c: fix gating in test_wolfSSL_EVP_CIPHER_type_string().
2025-03-21 17:52:33 -05:00
Daniel Pouzzner
a57326d500
fix whitespace in tests/api/test_evp.c.
2025-03-21 16:56:48 -05:00
Daniel Pouzzner
b0a16a3d94
configure.ac: remove PWDBASED and PBKDF2 from fips=lean-aesgcm.
2025-03-21 16:56:24 -05:00
Lealem Amedie
2fdac57a69
Remove linuxkm-pie dependency for FIPS linuxkm
2025-03-21 15:36:31 -06:00
Daniel Pouzzner
1e89002762
fix various -Wdeclaration-after-statements, and add
...
-Wdeclaration-after-statement to .github/workflows/pq-all.yml.
rearrange code/gating in wolfcrypt/src/wc_mlkem.c:mlkemkey_encapsulate() for
clarity and to fix a -Wdeclaration-after-statement.
also, made mlkem_encapsulate_c() and mlkem_encapsulate() return error code
(currently always zero) rather than void, for consistency.
configure.ac: fix Kyber/ML-KEM option setup.
2025-03-21 15:46:44 -05:00
David Garske
9a3ea6fd73
Merge pull request #8568 from embhorn/msvs_pqc_build
...
Fix MSVS build issues with PQC config
2025-03-21 12:41:19 -07:00
David Garske
294e4c79a8
Merge pull request #8578 from philljj/coverity_unchecked_ret
...
Coverity unchecked return value
2025-03-21 10:05:29 -07:00
David Garske
9258fde02f
Merge pull request #8570 from wolfSSL/devin/1742405136-cipherType-to-string
...
Add wolfSSL_EVP_CIPHER_type_string function and test
2025-03-21 10:04:41 -07:00
Eric Blankenhorn
f663ed28b6
Fix MSVS build issues with PQC config
2025-03-21 11:49:55 -05:00
Chris Conlon
7c9ecd39fe
Merge pull request #8550 from lealem47/STM32WBA
...
Add support for STM32WBA
2025-03-21 09:58:17 -06:00
David Garske
b9aeeac58b
Merge pull request #8576 from douzzer/20250319-FIPS-lean-aesgcm
...
20250319-FIPS-lean-aesgcm
2025-03-21 08:55:34 -07:00
jordan
8d0931df9d
coverity: check mp radix ret values.
2025-03-21 10:08:13 -04:00
jordan
15ac07c9ef
coverity: check correct ret value.
2025-03-21 09:25:28 -04:00
jordan
3a02ab286c
coverity: unchecked return value with mp_copy.
2025-03-21 08:59:31 -04:00
jordan
7c831263c8
coverity: unchecked return value in EchHashHelloInner.
2025-03-21 08:48:45 -04:00
Daniel Pouzzner
f14498ea6b
fix a couple broken configs in examples/configs/ - simultaneous SP and NO_BIG_INT.
2025-03-20 22:40:08 -05:00
Daniel Pouzzner
57ecd4b246
configure.ac: fix -DNO_BIG_INT setup to recognize $ENABLED_SP_MATH.
...
wolfcrypt/test/test.c: fix gating around modLen in rsa_test().
wolfssl/openssl/bn.h: remove superfluous WOLFSSL_SP_MATH gate around mp_int mpi
in struct WOLFSSL_BIGNUM definition.
wolfssl/wolfcrypt/wolfmath.h: add check for "Conflicting MPI settings.", add
initial check for WOLFSSL_SP_MATH_ALL || WOLFSSL_SP_MATH to include sp_int.h,
and remove superfluous WOLFSSL_SP_MATH gate on "common math functions".
2025-03-20 22:18:22 -05:00
Daniel Pouzzner
e870e7f6d2
configure.ac: in FIPS lean-aesgcm setup, don't lock features that are outside
...
the FIPS boundary, just set up appropriate defaults.
wolfssl/wolfcrypt/wolfmath.h: if legacy math back ends aren't defined, and
NO_BIG_INT isn't defined, then always include sp_int.h, for backward compat.
2025-03-20 21:07:15 -05:00
David Garske
5f013c735e
Merge pull request #8575 from ColtonWilley/fix_cryptocb_rsa_pad_ret_len
...
Fix outlen return for RSA private decrypt with WOLF_CRYPTO_CB_RSA_PAD
2025-03-20 19:03:25 -07:00
Daniel Pouzzner
27a582829f
.wolfssl_known_macro_extras: get macros back in C-lexical order.
2025-03-20 20:10:16 -05:00
Daniel Pouzzner
b544354306
wolfssl/wolfcrypt/wolfmath.h: don't include an MPI header if NO_BIG_INT is
...
defined, and issue a #error if no MPI backend gate is defined and NO_BIG_INT
is not defined either.
configure.ac:
* add support for FIPS lean-aesgcm[-{ready,dev}].
* implement handler for --enable-sha256.
* move setup for WOLFSSL_FIPS_DEV and WOLFSSL_FIPS_READY into the applicable
per-flavor sections.
* fix sensing of $ENABLED_AESGCM in FIPS setup clauses to pivot on `!= "no"`
rather than `= "yes"`, to accommodate "4bit" and other non-"yes" values.
* fix SNI_DEFAULT to be "no" if $ENABLED_TLS = no.
* fix ENABLED_DHDEFAULTPARAMS default to be $ENABLED_DH rather than yes.
wc_encrypt.c: add missing gates in wc_CryptKey() for NO_SHA256.
wolfcrypt/test/test.c: gating fixes for NO_SHA256.
wolfcrypt/benchmark/benchmark.c: basic fixes for building/running with
--disable-rng (-DWC_NO_RNG).
With the above additions and fixes, it's now a clean build, test, and benchmark,
with --disable-sha256 --enable-cryptonly --disable-hashdrbg --disable-rng
--disable-hmac, though RSA/DH/ECC benches are disabled.
2025-03-20 20:03:34 -05:00
David Garske
18ac695bb2
Merge pull request #8556 from SparkiDev/ech-config-control
...
ECH: generate multiple configs and rotate echConfigs
2025-03-20 17:05:43 -07:00
David Garske
2cf4997d0f
Merge pull request #8565 from res0nance/correct-debug-info
...
random: correct debug messages
2025-03-20 17:04:47 -07:00
David Garske
86b01bddd8
Merge pull request #8428 from miyazakh/qt_jenkins
...
Fix Qt Nightly Jenkins failure
2025-03-20 17:03:03 -07:00
David Garske
c06df2093a
Merge pull request #8548 from wolfSSL/devin/1741708186-add-cmake-wolfclu
...
Add WOLFSSL_CLU option to CMakeLists.txt
2025-03-20 16:50:03 -07:00
David Garske
18268a5ea9
Merge pull request #8551 from kareem-wolfssl/zd19541
...
Change #pragma GCC macros in sp_int.c to PRAGMA_GCC macros to avoid calling them on unsupported toolchains.
2025-03-20 16:44:10 -07:00
David Garske
7ba179f50f
Merge pull request #8560 from SparkiDev/test_api_c_split_1
...
Split out tests: random, wolfmath, public key
2025-03-20 16:42:41 -07:00
David Garske
01910a60aa
Merge pull request #8542 from anhu/dual_alg_crit_ext
...
Allow critical alt and basic constraints extensions
2025-03-20 16:15:42 -07:00
David Garske
23ff43f955
Testing results on the STM32WBA52 (Cortex-M33).
2025-03-20 16:02:46 -07:00
Anthony Hu
4967738044
Delete dupe line
2025-03-20 17:41:14 -04:00
Colton Willey
4290bfb9a6
Fix outlen return for RSA private decrypt with WOLF_CRYPTO_CB_RSA_PAD defined
2025-03-20 13:46:13 -07:00
David Garske
2c36ae268f
Merge pull request #8536 from SparkiDev/kyber_to_mlkem
...
Update Kyber APIs to ML-KEM APIs
2025-03-20 11:07:53 -07:00
David Garske
2383402e10
Merge pull request #8537 from philljj/coverity_quic
...
coverity: tests quic cleanup.
2025-03-20 10:58:30 -07:00
David Garske
beac9cb8b8
Merge pull request #8544 from philljj/coverity_test_md5
...
coverity: pacify test_md5 uninitialized scalar variable warning.
2025-03-20 10:57:28 -07:00
David Garske
4c0d4a931e
Merge pull request #8555 from bigbrett/default-devid-disable
...
Add option to disallow automatic use of "default" devId
2025-03-20 10:56:17 -07:00
Sean Parkinson
3e5ee7c142
Merge pull request #8569 from philljj/linuxkm_fedora_build
...
linuxkm fedora: fix uninitialized build error.
2025-03-20 08:30:16 +10:00
Sean Parkinson
cf272ba46b
Merge pull request #8572 from embhorn/zd19587
...
Fix missing alert types in AlertTypeToString
2025-03-20 08:25:56 +10:00