David Garske
c6a7afee74
Merge pull request #5834 from anhu/http
...
Correction to a webpage link.
2022-11-30 15:14:35 -08:00
Anthony Hu
3b00c9abee
Correction to a webpage link.
2022-11-30 16:27:50 -05:00
gojimmypi
fec7469c19
Tidy up Espressif ESP32 test and benchmark examples ( #5800 )
...
Tidy up Espressif ESP32 test and benchmark examples:
* add VisualGDB project and solution files for server and client
* "hardware in use revert to software" is now verbose level message
* Remove (void) TAG; - not needed to appease compiler
* include esp_log.h lib with defined(WOLFSSL_ESPIDF)
* large ESP32 default stack size
* check for max number of arguments assembled into array
* cleanup & comments per code review
* wolfssl_test VisualGDB updates
* Espressif wolfssl_test default stack 55,000 bytes
2022-11-30 10:01:46 -08:00
Daniel Pouzzner
973de0e954
Merge pull request #5831 from SparkiDev/sp_int_div_clear_fix
...
SP int: don't call sp_clear unless no longer using sp_int
2022-11-30 02:15:19 -06:00
Sean Parkinson
61c2fd9a2b
SP int: don't call sp_clear unless no longer using sp_int
...
Put in casts to be sure no compiler complains.
Tidy up other parts of the code.
2022-11-30 16:36:48 +10:00
David Garske
24cc8e7145
Merge pull request #5827 from douzzer/20221129-ecb-benchmark-throughput
...
20221129-ecb-benchmark-throughput
2022-11-29 18:12:23 -08:00
David Garske
63051f3826
Merge pull request #5825 from SparkiDev/api_test_sep
...
Unit test: rework to be able to run API tests individually
2022-11-29 18:11:57 -08:00
Sean Parkinson
fed3f53969
Merge pull request #5826 from kaleb-himes/gcc-11-12-fixes
...
Initialize variable causing failures with gcc-11 and gcc-12
2022-11-30 10:40:17 +10:00
Daniel Pouzzner
4bacc25e22
examples/benchmark/tls_bench.c: fix for clang-analyzer-deadcode.DeadStores in bench_tls().
2022-11-29 17:09:05 -06:00
David Garske
b2f9838af4
Fix DSA public decode to allow extra buffer (in case private key is passed in). Fixes for clang-tidy "value stored never read". Allow showing line number and conditional with DEBUG_WOLFSSL_VERBOSE
on TEST_RES_CHECK
.
2022-11-29 14:58:52 -08:00
kaleb-himes
4d2b893fb3
Initialize variable causing failures with gcc-11 and gcc-12
2022-11-29 14:59:53 -07:00
Daniel Pouzzner
a9b28c1562
wolfcrypt/benchmark/benchmark.c: make iteration increment in bench_aesecb_internal() even lumpier (by a factor of 10) to further reduce false positives from iteration overhead.
2022-11-29 14:39:44 -06:00
David Garske
7310eb102f
Whitespace and line length cleanups.
2022-11-29 09:52:11 -08:00
Sean Parkinson
e4e53ab7ca
Unit test: rework to be able to run API tests individually
...
Change API test cases to return a result.
Test success is now TEST_SUCCESS (1).
Test result can be returned with use of macro TEST_RES_CHECK().
Always print the id, name of the test and the result (skipped or
otherwise) before and after running the test case.
Changed test case output to go to stderr.
Fixed some formatting.
Add option to take index and/or name of test case to run.
Added option to list all API tests.
Added option to only run API tests.
Added options to show usage.
2022-11-29 12:37:20 +10:00
David Garske
7aa796bdbd
Merge pull request #5824 from SparkiDev/pkcs11_init_rv
...
PKCS#11: add initialization API that returns PKCS#11 return value
2022-11-28 14:31:03 -08:00
David Garske
3046899966
Merge pull request #5821 from anhu/ntru_saber_purge
...
Purge NTRU and SABER. Not going to be standardized.
2022-11-28 08:28:11 -08:00
David Garske
7697337703
Merge pull request #5816 from SparkiDev/sp_int_rework
...
SP int: Comment and rework some code
2022-11-28 08:26:58 -08:00
David Garske
0c2f713ca3
Merge pull request #5823 from SparkiDev/arm32-ldrd-fixes
...
ARM32 ASM: don't use ldrd on user data
2022-11-28 08:25:23 -08:00
Sean Parkinson
7005d416ce
SP int: Comment and rework some code
...
Improvements to sp_int.c that make it slightly quicker and documented.
2022-11-28 18:06:09 +10:00
Sean Parkinson
2d424f7d06
PKCS#11: add initialization API that returns PKCS#11 return value
2022-11-28 16:40:29 +10:00
Sean Parkinson
847c478c45
ARM32 ASM: don't use ldrd on user data
...
Alignment fixes.
Regeneration of ARM32 has config.h included.
2022-11-28 12:59:58 +10:00
Anthony Hu
7c576de914
Fixes from testing
2022-11-25 16:00:09 -05:00
Anthony Hu
0bfa5c9836
Purge NTRU and SABER. Not going to be standardized.
2022-11-25 14:54:08 -05:00
Sean Parkinson
ee91f4415d
Merge pull request #5819 from miyazakh/enable_sp_math_conf
...
must have SP enabled with SP math
2022-11-25 21:16:29 +10:00
Hideki Miyazaki
3597034a42
must have SP enabled with SP math
2022-11-25 08:41:11 +09:00
Sean Parkinson
ba3022c32a
Merge pull request #5818 from anhu/remove_WOLFSSL_HAVE_KYBER
...
Remove some unnecessary guarding. Preventing build on STM32.
2022-11-25 08:00:31 +10:00
Sean Parkinson
558343dd2b
Merge pull request #5817 from douzzer/20221124-wc_GetCurrentIdx-prototype
...
20221124-wc_GetCurrentIdx-prototype
2022-11-25 07:58:26 +10:00
Anthony Hu
5e191b7218
Remove some unnecessary guarding. Preventing build on STM32.
2022-11-24 11:49:12 -05:00
Daniel Pouzzner
466b625b5d
wolfcrypt/src/logging.c: add missing void arg list to definition of wc_GetCurrentIdx().
2022-11-24 09:32:58 -06:00
Sean Parkinson
d0fb9a0b30
Merge pull request #5809 from tmael/sp_static_mem
...
Support static memory with sp-math
2022-11-24 12:42:42 +10:00
Sean Parkinson
cf8ea5c606
Merge pull request #5812 from ejohnstown/crl-ocsp
...
OCSP/CRL
2022-11-24 12:42:17 +10:00
John Safranek
88f3570fe4
OCSP/CRL
...
Added comments for the usage of OCSP_WANT_READ used with the CRL I/O
callback.
2022-11-23 16:35:10 -08:00
David Garske
0a38553909
Merge pull request #5798 from JacobBarthelmeh/python
...
account for 'pulled' error nodes
2022-11-23 14:57:03 -08:00
David Garske
a482ab367a
Merge pull request #5781 from anhu/maxq10xx
...
Support for Analog Devices MAXQ1080 and MAXQ1065
2022-11-23 13:31:22 -08:00
John Safranek
909fd726cd
OCSP/CRL
...
Fixing issue #3070 . When the OCSP responder returns an unknown exception,
continue through to checking the CRL. Before, it was setting the flag
to check CRL, then clearing it because of the exception.
2022-11-23 10:50:12 -08:00
Anthony Hu
f3546b50fd
Conform to pre-existing pattern.
2022-11-23 17:58:12 +00:00
Anthony Hu
6190666108
Support for Analog Devices MAXQ1080 and MAXQ1065
2022-11-23 11:57:31 -05:00
Sean Parkinson
54466b670a
Merge pull request #5810 from Uriah-wolfSSL/haproxy-integration
...
Added required config option and return value for HaProxy
2022-11-23 10:01:17 +10:00
Tesfa Mael
4c95f64b77
Check NO_BIG_INT with static memory
2022-11-22 15:32:34 -08:00
Jacob Barthelmeh
b6ae17804a
update comments and check error case
2022-11-22 11:22:38 -07:00
Uriah Pollock
d373c0856a
Added required config option and return value for HaProxy
2022-11-22 10:42:05 -06:00
Tesfa Mael
5c7127ff24
Support static memory with sp-math
2022-11-22 08:17:27 -08:00
Juliusz Sosinowicz
50f19ec225
Merge pull request #5806 from embhorn/zd15177
...
Fix X509_get1_ocsp to set num of elements in stack
2022-11-22 12:00:08 +01:00
Sean Parkinson
55718d214c
Merge pull request #5801 from philljj/zd15172
...
Fix leak in wolfSSL_X509_NAME_ENTRY_get_object.
2022-11-22 15:11:18 +10:00
Eric Blankenhorn
dee73887b8
Fix X509_get1_ocsp to set num of elements in stack
2022-11-21 08:25:46 -06:00
Sean Parkinson
73ecd604bd
Merge pull request #5803 from douzzer/20221120-enable-brainpool
...
20221120-enable-brainpool
2022-11-21 10:08:50 +10:00
Daniel Pouzzner
0da2a0a524
configure.ac: add --enable-brainpool, default on unless disable-ecccustcurves, and use it to enable brainpool in enable-all and enable-all-crypto, subject to override.
2022-11-20 11:00:50 -06:00
David Garske
ba8731dc69
Merge pull request #5802 from douzzer/20221118-minor-fixes
...
20221118-minor-fixes
2022-11-19 08:11:53 -08:00
Daniel Pouzzner
2fa206dec0
wolfcrypt/src/siphash.c: fix bugprone-macro-parentheses, and in wc_SipHash(), fix clang-diagnostic-overlength-strings around inline asm.
2022-11-18 22:43:13 -06:00
Daniel Pouzzner
6f98a5b271
src/internal.c: in VerifyServerSuite(), narrow condition and fix return value in error check added in 647ce794dd.
2022-11-18 22:21:08 -06:00