Hideki Miyazaki
|
f7652d18a0
use compatibility layer API when they are enabled
|
3 years ago |
Hideki Miyazaki
|
b4a573ca98
Initial implemented X509_LOOKUP_ctrl L_ADD_DIR
|
3 years ago |
Hideki Miyazaki
|
9bae05525c
addressed review comments
|
3 years ago |
toddouska
|
80b9949052
Merge pull request #3739 from kaleb-himes/FusionRTOS-Porting-R3
|
3 years ago |
Sean Parkinson
|
794cb5c7a9
TLS Session Ticket: default encryption callback
|
3 years ago |
kaleb-himes
|
6d23728a56
Fusion RTOS porting round 3
|
3 years ago |
David Garske
|
59305e9346
Fix for new include to pull in the AES GCM IV sizes in FIPS mode.
|
3 years ago |
David Garske
|
219cbd47eb
Added support for AES GCM session ticket encryption. If ChaCha/Poly is disabled it will use AES GCM. Thanks Sean for the code in ZD 11511.
|
3 years ago |
Daniel Pouzzner
|
d5dd35c739
add --enable-trackmemory=verbose, and add WOLFSSL_TEST_MAX_RELATIVE_HEAP_{BYTES,ALLOCS} and -m/-a (runtime counterparts) to wolfcrypt_test(). also add -h to wolfcrypt_test() to print available options.
|
3 years ago |
Sean Parkinson
|
75c062a298
cppcheck: fixes
|
3 years ago |
Daniel Pouzzner
|
70808647ef
move decl of _ret to top in STACK_SIZE_CHECKPOINT_WITH_MAX_CHECK(), for C89 happiness.
|
3 years ago |
Daniel Pouzzner
|
1c0df61247
wolfssl/test.h and wolfcrypt/test/test.c: add STACK_SIZE_CHECKPOINT_WITH_MAX_CHECK(), recognize macro WOLFSSL_TEST_MAX_RELATIVE_STACK_BYTES, and add to wolfcrypt_test() runtime settability of relative cumulative stack depth assert threshold using "-s stacksize".
|
3 years ago |
Daniel Pouzzner
|
c5e2ccabb1
fix --enable-stacksize-verbose: relocate declarations for HAVE_STACK_SIZE_VERBOSE global variables from wolfssl/test.h to wolfssl/wolfcrypt/logging.h, matching their location in wolfcrypt/src/logging.c.
|
3 years ago |
Sean Parkinson
|
40154d69cf
OCSP callback: call embed free
|
3 years ago |
Hayden Roche
|
e035eb8f8a
Add an option to the example client to simulate WANT_WRITE errors.
|
3 years ago |
David Garske
|
045fc4d686
Fixes to support overriding minimum key sizes for examples.
|
3 years ago |
toddouska
|
7c89d10e53
Merge pull request #3260 from julek-wolfssl/non-blocking-scr
|
3 years ago |
Takashi Kojo
|
ce97eadae1
fix for MQX
|
3 years ago |
Juliusz Sosinowicz
|
a7fdfbaf40
Passing scr-app-data in to -i to client sends a message during SCR
|
3 years ago |
Daniel Pouzzner
|
6a3da9477e
fix --enable-stacksize[-verbose] (HAVE_STACK_SIZE[_VERBOSE]) to work correctly in testsuite.c.
|
3 years ago |
Daniel Pouzzner
|
a75f88cbcd
wolfssl/test.h: gate strerror() in err_sys_with_errno() on HAVE_STRING_H && HAVE_ERRNO_H as in PR #3291.
|
3 years ago |
Daniel Pouzzner
|
1c3415e26f
wolfssl/test.h:err_sys_with_errno(): printing the errno msg seems to blow up all the parse tests, so only do it when -DDEBUG_TEST_ERR_SYS_WITH_ERRNO.
|
3 years ago |
Daniel Pouzzner
|
1ebd851b2e
wolfssl/test.h: if SO_REUSEPORT is defined, use it in tcp_listen() and udp_accept(). also, add err_sys_with_errno(), identical to err_sys() unless defined(HAVE_STRING_H) && defined(HAVE_ERRNO_H), in which case strerror(errno) is appended to the rendered message. changed to use err_sys_with_errno() wherever applicable.
|
3 years ago |
Daniel Pouzzner
|
96fe6dc049
test.h: fix math in final "stack used" message when -DHAVE_STACK_SIZE_VERBOSE.
|
3 years ago |
Daniel Pouzzner
|
170322956b
wolfssl/test.h: polish implementation of HAVE_STACK_SIZE_VERBOSE, now enabled with --enable-stacksize-verbose; internal symbol renamed from original DEBUG_STACK_SIZE_VERBOSE, helper functions and macros refactored to be formally threadsafe and to track the overall high water mark (reports same "stack used" value as --enable-stacksize after final return); add "setting stack relative offset reference mark in funcname() to x" message at entry; add configure mutexing of --enable-stacksize[-verbose] relative to --enable-linuxkm.
|
3 years ago |
Daniel Pouzzner
|
f56c6d1d8f
wolfcrypt/test/test.c and wolfssl/test.h: implement DEBUG_STACK_SIZE_VERBOSE, measuring and reporting stack usage separately for each test. to use, ./configure --enable-stacksize && make CFLAGS+=-DDEBUG_STACK_SIZE_VERBOSE; also, remove a throwaway dev pragma that snuck into an earlier commit.
|
3 years ago |
Daniel Pouzzner
|
8f25456f86
scripts/ocsp-stapling*.test, wolfssl/test.h: refactor scripts/ocsp-stapling*.test for orthogonality and robustness, with retries and early failure detection. also, reduce sleeps in ocsp-stapling-with-ca-as-responder.test to 0.1, matching sleeps in other 2 scripts. finally, in wolfssl/test.h, #ifdef SO_REUSEPORT do that when binding ports, and add optional rendering of errno strings for failed syscalls using err_sys_with_errno() when -DDEBUG_TEST_ERR_SYS_WITH_ERRNO.
|
3 years ago |
toddouska
|
4e6bc02257
Merge pull request #2982 from SparkiDev/ecc_sc
|
3 years ago |
Sean Parkinson
|
93cdfd7132
Update OpenSSL interopability testing
|
4 years ago |
Sean Parkinson
|
6467de5a88
Randomize z ordinates in scalar mult when timing resistant
|
4 years ago |