David Garske
6028dfd394
Merge pull request #6523 from gojimmypi/wc-memory-test
...
Add wolfcrypt test: R/O filesystem const memory pointer
2023-07-03 11:58:13 -07:00
David Garske
a921ab754d
Merge pull request #6569 from SparkiDev/pem_der_example
...
PEM example: new example for convert between PEM and DER
2023-07-03 11:31:36 -07:00
gojimmypi
573fedae2f
add const_byte_ptr_test for Xtensa -mforce-l32 check
2023-07-03 10:44:01 -07:00
David Garske
ad2621a7a0
Merge pull request #6572 from douzzer/20230703-clang-tidy-fixes
...
20230703-clang-tidy-fixes
2023-07-03 10:43:45 -07:00
David Garske
f72a6b705f
Minor spelling fixes.
2023-07-03 10:23:55 -07:00
Daniel Pouzzner
214f9f55c4
fixes for bugprone-suspicious-missing-comma, clang-analyzer-core.NullDereference, and readability-redundant-preprocessor.
2023-07-03 11:30:08 -05:00
David Garske
678a65822f
Merge pull request #6556 from StMartin81/Fix_compilation_of_wc_RsaFunctionNonBlock_if_WOLFSSL_RSA_PUBLIC_ONLY_is_defined
...
Fix compilation of wc_RsaFunctionNonBlock if WOLFSSL_RSA_PUBLIC_ONLY …
2023-07-03 08:55:36 -07:00
David Garske
732ef09da6
Merge pull request #6551 from SparkiDev/asn_no_certs
...
ASN: fix so that NO_CERTS configurations work
2023-07-03 08:55:14 -07:00
Sean Parkinson
a39a04fc88
PEM example: new example for convert between PEM and DER
...
PEM example converts PEM to DER and DER to PEM.
Supports encrypting DER and writing out as PEM.
Added better support for 40-bit RC2-CBC PBE.
Added AES-128-CBC encryption support with PKCS#5v2.
Fixed handling of iterations to support writing 24-bit values.
Declared enum types for pass to PKCS#8 encryption APIs.
Add more DER and PEM files to certs directory.
Add testing of 'pem' with pem.test script.
2023-07-03 17:20:35 +10:00
Sean Parkinson
5be883a995
ASN: fix so that NO_CERTS configurations work
...
Moved code around and update #ifdefs so that --enable-cryptonly
CFLAGS=-DNO_CERTS compiles.
2023-07-03 09:16:44 +10:00
Sean Parkinson
da4424cd0c
Merge pull request #6559 from dgarske/sni_defaults
...
Turn on SNI by default on hosts with resources
2023-07-03 08:07:45 +10:00
JacobBarthelmeh
a4c058649b
Merge pull request #6560 from dgarske/stm32_nuttx
...
Support for using the Nuttx STM RNG register definitions
2023-06-30 16:15:49 -06:00
David Garske
052fba887c
Merge pull request #6563 from SKlimaRA/SKlimaRA/fix-funky-ifdef
...
fixed bug in ifdef logic caused in pull req 6277
2023-06-30 14:30:47 -07:00
Chris Conlon
e1cb74f24a
Merge pull request #6492 from night1rider/wolfssl-wolfcrypttest-statickeys
...
Added to cert buffer keys and updated testwolfcrypt
2023-06-30 14:21:40 -06:00
Stanislav Klima
c2726b4cbe
fixed bug in ifdef logic caused in pull req 6277
2023-06-30 13:08:07 -07:00
Martin Stolpe
81484ef74b
Fix compilation of wc_RsaFunctionNonBlock if WOLFSSL_RSA_PUBLIC_ONLY is defined
2023-06-30 13:05:21 -07:00
David Garske
6052e01879
Fixes for SNI test with static memory enabled. Fixes for other minor static memory build combinations.
2023-06-30 13:04:05 -07:00
David Garske
79a7d21932
Turn on SNI by default on hosts with resources.
2023-06-30 13:04:05 -07:00
David Garske
53c30f44a0
Support for using the Nuttx STM RNG register definitions, enabled with STM32_NUTTX_RNG. ZD 16315
2023-06-30 13:00:52 -07:00
David Garske
95675c7e34
Merge pull request #6455 from lealem47/INIT_SSL_NO_CTX_KEY
...
Allow option to create SSL without key/cert in ctx
2023-06-30 10:35:52 -07:00
David Garske
9fc68f4a80
Merge pull request #6558 from anhu/wolfSSL_X509_NAME_heap
...
Allocate WOLFSSL_X509_NAME with heap hint.
2023-06-30 10:35:08 -07:00
David Garske
1c33cefff7
Merge pull request #6562 from SparkiDev/wolfbot_fixes_1
...
wolfBot fixes
2023-06-29 19:13:17 -07:00
Sean Parkinson
a1939d22b9
wolfBot fixes
...
Importing an EC point ordinate with one being zero will result in
different errors based on different implementations. Check both known
error codes.
Benchmark usage fixed.
2023-06-30 09:07:46 +10:00
Lealem Amedie
7720dac545
Allow option to create SSL without key/cert in ctx
2023-06-29 13:57:40 -06:00
Anthony Hu
ed4774f606
Allocate WOLFSSL_X509_NAME with heap hint.
2023-06-29 12:04:32 -04:00
David Garske
048083cfe3
Merge pull request #6329 from tmael/crl_off
...
Add support for enabling and disabling CRLs.
2023-06-28 16:03:25 -07:00
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
Tesfa Mael
26e6fd9a6f
update wolfSSL_X509_STORE_set_flags
2023-06-27 08:29:13 -07:00
Tesfa Mael
cb0e2c8b0f
Maintain existing behavor when not using OPENSSL_COMPATIBLE_DEFAULTS
2023-06-27 08:29:13 -07:00
Tesfa Mael
03e5d109c7
Add test_wolfSSL_dup_CA_list
2023-06-27 08:29:13 -07:00
Tesfa Mael
481ae20fcb
Maintain consistent behavior when activating CRL
2023-06-27 08:26:02 -07:00
Tesfa Mael
fd17fa3e9c
Implement the option to disable CRL check
...
Do leaf CRL check by default
Correct wolfSSL_sk_X509_NAME_push return check
Update OpenSSL compatibility errors for HAProxy
Change X509_V to literal constant values
Fix the compat layer with TLS session ticket reuse
Fix for tls1_2 session resume and cache miss
Save intitial wolfSSL ctx
Check for OpenSSL CRL error code 23
2023-06-27 08:26:02 -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