Sean Parkinson
d029ba4d46
Merge pull request #6415 from julek-wolfssl/issue/6408
...
Ignore session ID's shorter than 32 bytes instead of erroring out
2023-06-29 08:20:48 +10:00
David Garske
dcfa410540
Merge pull request #6289 from jpbland1/nuttx-hw-acel
...
Nuttx hw acel benchmark with STM32_HW_CLOCK_AUTO
2023-06-28 09:32:48 -07:00
Hideki Miyazaki
e0651e4eb3
Merge pull request #6434 from TakayukiMatsuo/fixtypo
...
Fixed some typos in Japanese help in examples/client
2023-06-28 11:20:42 +09:00
David Garske
8e3afbd6e3
Merge pull request #6547 from philljj/fix_cut_call
...
fix detection of cut tool in configure.ac
2023-06-27 16:19:52 -07:00
JacobBarthelmeh
78107b0f88
Merge pull request #6540 from dgarske/bench_fix
...
Fix for benchmark always using 4KB of memory for `gStats`
2023-06-27 16:18:29 -06:00
John Bland
c72d008a5c
add STM32_HW_CLOCK_AUTO which turns the stm32 hw
...
accleration clock on and off automatically
2023-06-27 17:16:46 -04:00
John Bland
fbadcf67da
add the STM32 peripheral clock enable and disable
...
calls to the benchmark program so the benchmark program can use hardware accleration
2023-06-27 17:16:46 -04:00
David Garske
d9d9c5cd3d
Merge pull request #6549 from gojimmypi/pthread_gate
...
Revert #6536 types.h one line HAVE_PTHREAD
2023-06-27 13:42:16 -07:00
David Garske
6b26b071e4
Merge pull request #6532 from embhorn/forum_topic2018
...
Fix WinCE XSEEK_SET
2023-06-27 13:26:18 -07:00
David Garske
0d0d2cf50c
Merge pull request #6531 from bandi13/extraCMakeOptions
...
Extra c make options
2023-06-27 13:26:03 -07:00
David Garske
b1fe15dc70
Further refactor of the benchmark stats tracking. Always use the allocated list (avoids using a stack pointer for ECC descriptions).
2023-06-27 13:05:04 -07:00
David Garske
e0fa25eedc
Merge pull request #6548 from lealem47/gplusplus
...
Fix for g++ builds
2023-06-27 13:02:50 -07:00
gojimmypi
8867f484e5
Revert #6536 types.h one line HAVE_PTHREAD
2023-06-27 12:36:53 -07:00
Lealem Amedie
91962a1a78
Fix for g++ builds
2023-06-27 12:50:56 -06:00
jordan
41d248461b
fix detection of cut tool in configure.ac
2023-06-27 13:18:25 -05:00
David Garske
51ca7bb8e3
Fix to support using -print with WC_BENCH_TRACK_STATS.
2023-06-27 10:25:48 -07:00
JacobBarthelmeh
9a4237ee88
Merge pull request #6457 from lealem47/gcc-arm-user-settings
...
Improve GCC-ARM user-settings.h FIPS configurability
2023-06-27 11:17:56 -06:00
David Garske
145ca4ae9d
Merge pull request #6542 from SparkiDev/api_fixes_1
...
Tests api.c: fixes
2023-06-27 10:00:07 -07:00
Juliusz Sosinowicz
291c538e5f
Ignore session ID's shorter than 32 bytes instead of erroring out
2023-06-27 14:51:46 +02:00
David Garske
23c60b7b9c
Merge pull request #6530 from SparkiDev/tests_api_expect_5
...
Test api.c: change more tests to use Expect instead of Assert
2023-06-26 16:10:52 -07:00
Sean Parkinson
578f56e60c
Test api.c: change more tests to use Expect instead of Assert
...
bio.c:
wolfSSL_BIO_flush(): check allocation to bio->ip succeeded.
internal.c:
InitSSL_Ctx(): set ctx->heap to heap if value passed in
ProcessPeerCerts(): check for error MEMORY_E too as a fatal parsing
error
ssl.c:
wolfSSL_shutdown(): SOCKET_ERROR_E is also an indication that the
socket is done, MEMORY_E is a fatal error
wolfSSL_Cleanup(): move free of memory fail couting to wolfSSL API
SessionTicketNoncePrealloc(): eror return must be non-zero
AddSessionToCache(): XFREE checks for NULL no need to do it before
call
wolfSSL_set_psk_use_session_callback(): ensure ssl is not NULL before
dereferencing
wolfSSL_SMIME_read_PKCS7(): check for error return from
wolfSSL_BIO_gets()
asn.c:
wc_MIME_parse_headers(): check allocation succeeded into nextHdr
compress.c:
wc_DeCompressDynamic(): free tmp on inflateInit2 failure
memory.c: rework where memory allocation failure counting code for when
WOFLSSL_STATIC_MEMORY is defined
wc_port.c:
wolfCrypt_Cleanup(): only call wc_MemFailCount_Free() when no
wolfSSL_Cleanup()
2023-06-27 08:01:33 +10:00
Sean Parkinson
17bc833bd3
Merge pull request #6543 from embhorn/gh6506
...
Spelling fixes in script generated files
2023-06-27 07:28:35 +10:00
Eric Blankenhorn
51ffe9691f
Spelling fixes in script generated files
2023-06-26 09:48:15 -05:00
gojimmypi
6b240fa41a
Refactor HAVE_PTHREAD and _POSIX_THREADS ( #6536 )
...
* HAVE_PTHREAD gate in test.h
* add config.h and settings.h to test.h
* added config.h and settings.h to other test.h in wolfcrypt/test
* settings #ifdef _POSIX_THREADS HAVE_PTHREAD
* cyassl settings _POSIX_THREADS HAVE_PTHREAD
* undo cyassl _POSIX_THREADS HAVE_PTHREAD
* move settings.h #include in both test.h
* add !defined(SINGLE_THREADED) logic
* refactor HAVE_PTHREAD, _POSIX_THREADS
2023-06-26 07:32:20 -07:00
Sean Parkinson
b7332e33c7
Tests api.c: fixes
...
NULL dereference.
Uninitialized variable use.
2023-06-26 16:04:24 +10:00
JacobBarthelmeh
18032cdc40
Merge pull request #6535 from dgarske/wpas_small
...
Fix for `--enable-wpas=small`
2023-06-23 16:19:31 -07:00
David Garske
514ea2d0b1
Merge pull request #6510 from mitchcapper/win32_better_socket_error_msg_pr
...
Added For TranslateIoError in debug mode use FormatMessage to get a better error message
2023-06-23 15:33:34 -07:00
David Garske
af0facad9f
Fix for --enable-wpas=small.
2023-06-23 14:25:39 -07:00
David Garske
00719182d5
Fix for benchmark always using 4KB of memory for gStats, even when not required. Added new WC_BENCH_TRACK_STATS to enable feature is needed. Code cleanups for line length and headers.
2023-06-23 14:17:22 -07:00
Mitch Capper
6185d66b01
For TranslateIoError use FormatMessage to get a better error message on win32
2023-06-23 14:05:38 -07:00
David Garske
033f56bfe9
Merge pull request #6534 from mitchcapper/basic_editorconfig_addition_pr
...
Basic editor config to avoid some whitespace issues
2023-06-23 11:49:27 -07:00
David Garske
102cb1114a
Merge pull request #6509 from douzzer/20230613-wc_test_ret_t
...
20230613-wc_test_ret_t
2023-06-23 11:47:20 -07:00
David Garske
ea68920b8b
Merge pull request #6539 from JacobBarthelmeh/caam
...
fix for keymod with rt1170 blobs
2023-06-23 11:47:04 -07:00
lealem47
06c1dd171a
Merge pull request #6466 from dgarske/keilmdk
...
Fixes and cleanups for Keil MDK examples
2023-06-23 08:41:04 -06:00
JacobBarthelmeh
2d87037e4b
fix for keymod with rt1170 blobs
2023-06-23 00:50:25 -07:00
David Garske
746ac3c9a3
Merge pull request #6533 from anhu/no_data_junk
...
make sure that when TLSX_ALPN_GetRequest() returns, data and dataSz...
2023-06-22 22:11:02 -07:00
Lealem Amedie
6f2831a252
Document inline build error & fix
2023-06-22 16:48:17 -06:00
David Garske
255aa774f2
Updated Keil MDK documentation to note RTOS and TCP default dependency. Fix for inline error due to tracking code being available too broadly. Use current branch for makedistsmall.sh.
2023-06-22 16:48:17 -06:00
David Garske
a56fe30c2c
Fixes and cleanups for Keil MDK examples. Combine duplicate user_settings.h. Use SP math all by default. Disable old/deprecated algorithms. Add CMSIS RTOS timer support for TLS and benchmark.
2023-06-22 16:48:17 -06:00
David Garske
2f44ece4d8
Merge pull request #6511 from JacobBarthelmeh/nightly
...
fix for nightly toolchain armv7 build warning
2023-06-22 15:25:57 -07:00
David Garske
33808c75f2
Merge pull request #6527 from philljj/zd16310
...
Fix ThreadSanitizer unlock of an unlocked mutex warning
2023-06-22 14:26:44 -07:00
Mitch Capper
20d706aad8
Basic editor config to avoid some whitespace issues
2023-06-22 14:06:46 -07:00
Anthony Hu
3e821c6f2b
make sure that when TLSX_ALPN_GetRequest() returns data and dataSz are not pointing to junk.
2023-06-22 15:01:11 -04:00
jordan
2be3bb4c56
Fix ThreadSanitizer unlock of an unlocked mutex warning
2023-06-22 13:23:08 -05:00
Eric Blankenhorn
c933f780ca
Fix WinCE XSEEK_SET
2023-06-22 11:14:34 -05:00
Andras Fekete
155ce9aecf
HKDF already defined
2023-06-22 11:17:34 -04:00
Andras Fekete
0ee198437a
Get around issue with 'uint8_t' undefined
2023-06-22 11:03:56 -04:00
Andras Fekete
f58ae30b50
Add in CMake flags 'HPKE', 'HKDF', 'ECH'
2023-06-22 11:03:36 -04:00
Andras Fekete
e1f2c0bb2e
Add 'Keying_material' option
2023-06-22 10:12:37 -04:00
David Garske
3cb0b4ab29
Merge pull request #6410 from embhorn/zd15856
...
Update EBSNET port
2023-06-21 21:35:19 -07:00