Albert Ribes
2ddd98927f
When creating a Cert from a WOLFSSL_X509, account for custom extensions
...
Function 'CertFromX509' is used to convert a WOLFSSL_X509 to a Cert
structure for writing out. It didn't copy custom extensions.
2025-07-03 17:28:57 +02:00
David Garske
6be8a3710d
Merge pull request #8937 from miyazakh/tsip_cryptcb_ut
...
Fix TSIP port using crypto callback
2025-07-02 17:42:51 -07:00
Hideki Miyazaki
b60a05f45e
Fix TSIP port using crypto callback
...
- Add unit test using cb
2025-07-03 08:23:24 +09:00
JacobBarthelmeh
c48dd28741
Merge pull request #8957 from dgarske/bench_help
...
Fix issue with benchmark help options and descriptions not lining up
2025-07-02 17:17:42 -06:00
David Garske
7f50cd537e
Merge pull request #8956 from gojimmypi/pr-workflow-owner
...
Remove duplicate repository_owner check
2025-07-02 15:01:29 -07:00
David Garske
59061aebec
Fix issue with benchmark help options and descriptions not lining up due to new -aead_set_key added in #8160 on April 14, 2025.
2025-07-02 14:58:11 -07:00
gojimmypi
adc3f1b3d7
Remove duplicate repository_owner check
2025-07-02 14:32:21 -07:00
Daniel Pouzzner
8cc2ba7153
Merge pull request #8953 from philljj/fedora_linuxkm_uninit_errors
...
linuxkm fedora: fix uninitialized build errors.
2025-07-02 14:20:26 -05:00
jordan
9e811b5bd5
wolfcrypt misc: avoid frivolous initialization.
2025-07-02 10:46:38 -05:00
David Garske
fa9e122f1c
Merge pull request #8952 from SparkiDev/mem_fail_fixes_3
...
Unit Test: fix test case for memory allocation failure testing
2025-07-02 08:01:20 -07:00
jordan
9ac480a60d
linuxkm fedora: fix uninitialized build errors.
2025-07-02 10:00:28 -05:00
Sean Parkinson
af05fa874f
Unit Test: fix test case for memory allocation failure testing
...
test_ocsp_basic_verify() not freeing and setting pointer to NULL. Second
free occuring on freed pointer.
2025-07-02 09:27:25 +10:00
JacobBarthelmeh
ff80d62db2
Merge pull request #8942 from rlm2002/coverity
...
Coverity: address unresolved issue from previous change
2025-07-01 16:09:32 -06:00
David Garske
33510ad714
Merge pull request #8949 from holtrop/asn-fn-prototype-names
...
wc/asn: fix several inconsistent function prototype parameter names
2025-07-01 14:50:51 -07:00
Ruby Martin
c06fa48e75
return NULL on negative length
2025-07-01 14:25:35 -06:00
Kaleb Himes
f2abadb777
Merge pull request #8950 from douzzer/20250701-Hash_DRBG_Generate-DEBUG_WOLFSSL
...
20250701-Hash_DRBG_Generate-DEBUG_WOLFSSL
2025-07-01 14:03:59 -06:00
Daniel Pouzzner
a8fc68d81b
wolfcrypt/src/random.c: in Hash_DRBG_Generate(), gate the verbose reseed message on DEBUG_WOLFSSL or DEBUG_DRBG_RESEEDS, use WOLFSSL_MSG_EX(), and refactor the condition from drbg->reseedCtr == RESEED_INTERVAL to drbg->reseedCtr >= WC_RESEED_INTERVAL.
...
also some unrelated cleanup in .wolfssl_known_macro_extras.
2025-07-01 13:05:00 -05:00
JacobBarthelmeh
8fa0f6b3df
Merge pull request #8944 from SparkiDev/evp_hmac_copy_hash_fix
...
EVP HMAC: get working with WOLFSSL_HMAC_COPY_HASH
2025-07-01 09:50:53 -06:00
JacobBarthelmeh
77792ace65
Merge pull request #8945 from SparkiDev/mem_fail_fixes_2
...
Memory allocation failure testing fixes
2025-07-01 09:35:11 -06:00
JacobBarthelmeh
9cf5bbcd35
Merge pull request #8948 from AlexLanzano/disable-md5-cmake
...
Disable MD5 by default for cmake builds
2025-07-01 09:29:42 -06:00
Josh Holtrop
fd1954babf
wc/asn: fix several inconsistent function prototype parameter names
2025-07-01 11:14:11 -04:00
Alex Lanzano
709581061e
Disable MD5 by default for cmake builds
2025-07-01 09:27:46 -04:00
Sean Parkinson
7c4de54e73
EVP HMAC: get working with WOLFSSL_HMAC_COPY_HASH
...
Get the EVP layer working with the wolfSSL HMAC implementation when
WOLFSSL_HMAC_COPY_HASH is defined.
This define hashes the ipad and opad into temporary hashes and copies
the required hash into the working hash when needed. Uses more memory
but is faster when starting a new hash with the same key.
2025-07-01 13:14:26 +10:00
Sean Parkinson
574de4b234
Memory allocation failure testing fixes
...
Fixes for test code to cleanup on failure properly.
pkcs7.c: when streaming, free the decrypting content when adding data to
the stream fails.
2025-07-01 11:50:42 +10:00
JacobBarthelmeh
7fb750962b
Merge pull request #8935 from philljj/fix_coverity
...
coverity: prune dead code in ssl_sess.c.
2025-06-30 13:32:34 -06:00
Sean Parkinson
5db7fc05d8
Merge pull request #8940 from rizlik/dtls_fix_record_span_tests
...
fix(tests): enlarge readBuf in DTLS record tests
2025-06-30 21:57:27 +10:00
Marco Oliverio
ae9ba6627c
fix(tests): enlarge readBuf in DTLS record tests
...
Increase readBuf to 256 bytes. Guard memcpy with EXPECT_SUCCESS().
2025-06-30 09:47:38 +02:00
Daniel Pouzzner
6c8ab11f5f
Merge pull request #8936 from gojimmypi/pr-workflow-owner
...
Ensure workflows only run for wolfssl repository_owner
2025-06-27 22:29:46 -05:00
Daniel Pouzzner
1127dabe98
Merge pull request #8926 from dgarske/various_20250625
...
Improvement to allow building OPENSSL_EXTRA without KEEP_PEER_CERT
2025-06-27 22:29:24 -05:00
Daniel Pouzzner
89148f98b0
Merge pull request #8921 from rlm2002/appleNativeCertTests
...
Apple native cert tests code modifications
2025-06-27 22:26:17 -05:00
Daniel Pouzzner
018ee9754f
Merge pull request #8608 from anhu/2akid
...
Check for duplicate extensions in a CRL
2025-06-27 22:25:27 -05:00
Daniel Pouzzner
d1c1bca9e4
Merge pull request #8914 from dgarske/stm32n6
...
Added support for STM32N6
2025-06-27 22:19:01 -05:00
gojimmypi
7621612eb8
Ensure workflows only run for wolfssl repository_owner
2025-06-27 16:29:13 -07:00
jordan
68cf96e7f6
coverity: do not free x509 on error in wolfSSL_add0_chain_cert.
2025-06-27 17:25:28 -05:00
jordan
d998d01a0c
coverity: prune dead code in ssl_sess.c.
2025-06-27 15:40:01 -05:00
David Garske
1db3dbcc28
Improvement to allow building OPENSSL_EXTRA without KEEP_PEER_CERT. Workaround to avoid large WOLFSSL structure size with compatibility layer enabled (the struct WOLFSSL_X509 is over 5KB). Note: May investigate way to place into heap instead. Fix issues building compatibility layer without MD5.
2025-06-27 12:42:52 -07:00
Daniel Pouzzner
4421f8bd84
Merge pull request #8934 from dgarske/macos_typo
...
Fix minor code typos for macos signal and types.h max block size
2025-06-27 14:11:31 -05:00
David Garske
3a200387c0
Fix a copy/paste typo WC_MAX_BLOCK_SIZE from PR #8909 .
2025-06-27 08:59:05 -07:00
David Garske
22c8a014e3
Merge pull request #8932 from rizlik/gaisler
...
Gaisler: minor doc fixes
2025-06-27 08:46:28 -07:00
David Garske
9a2c8840e2
Merge pull request #8933 from SparkiDev/armv7a_asm_branch_fix
...
ARMv7a ASM: fix branch instruction
2025-06-27 08:45:52 -07:00
David Garske
8b61cd6c4a
Merge pull request #8895 from AlexLanzano/disable-md5
...
Disable MD5 by default
2025-06-27 08:45:28 -07:00
David Garske
295d90655b
Merge pull request #8929 from SparkiDev/regression_fixes_18
...
Regression testing
2025-06-27 08:44:43 -07:00
David Garske
20a2ec0fc1
Fix typo from MacOS signal fix improvement in PR #8928 .
2025-06-27 07:43:55 -07:00
Sean Parkinson
edacf0434c
Merge pull request #8869 from rlm2002/coverityTests
...
Coverity: parameter checking and NULL assignment
2025-06-27 09:49:21 +10:00
Sean Parkinson
a7430b3f70
Merge pull request #8930 from kojiws/check_shift_counts
...
Clarify the len range on SetShortInt()
2025-06-27 09:46:42 +10:00
Sean Parkinson
f713882c54
Merge pull request #8928 from dgarske/macos
...
Implement proper MacOS dispatch for conditional signal/wait
2025-06-27 09:35:30 +10:00
Sean Parkinson
81e1eb4600
ARMv7a ASM: fix branch instruction
...
Branch instructions got changed for 64-bit to be B.<cond>.
32-bit must be B<cond>.
Return them to this form.
2025-06-27 09:26:28 +10:00
Ruby Martin
0302dbcb31
rename .yml file for macos-apple-native-cert-validation
...
WOLFSSL_TEST_APPLE_NATIVE_CERT_VALIDATION macro placement and comment adjustment
2025-06-26 17:07:00 -06:00
Marco Oliverio
5eceb4faf4
Gaisler: minor doc fixes
2025-06-26 23:18:40 +02:00
Anthony Hu
a0cd18daea
Add back a removed comment and give RFC reference.
2025-06-26 16:08:21 -04:00