Sean Parkinson
f5b96e7bde
Merge pull request #6735 from anhu/lteq_0
...
Propose to convert a less than 0 to less than or equal to 0
2023-09-14 07:08:22 +10:00
Andras Fekete
3d332a4fad
Remove accidental code change
2023-09-13 14:41:21 -04:00
Andras Fekete
2f63eb070e
Fix memory leak if the function is being called again because of a retry
2023-09-13 14:05:57 -04:00
JacobBarthelmeh
f32f220919
Merge pull request #6752 from SparkiDev/aes_gmult_table_align_32bit
...
AES GMULT: add table implementation using 32-bit types
2023-09-13 11:38:03 -06:00
JacobBarthelmeh
ff233ce3af
Merge pull request #6771 from res0nance/pqc-curvename
...
Fix wolfSSL_get_curve_name() returning NULL when using PQC groups
2023-09-13 10:54:58 -06:00
Sean Parkinson
114c8cc681
SP ASM: improve performance
...
Thumb2/ARM32: use umaal instruction to speed up mulitplication, squaring
and reduction. umaal not always available so use umlal instead.
Implementations for architectures less than 4 still kept - no umull.
Cleanup point arithmetic to not take shortcuts.
Make masking for constant time faster.
Add alternate asm for different compilers.
Get ARMv4 and ARMv6 compiling.
Remove whitespace at end of lines.
2023-09-13 21:13:53 +10:00
res0nance
825db397d7
Set namedGroup when generating pqc ciphertext
...
This fixes an issue where wolfSSL_get_curve_name() will
return NULL when using PQC groups.
2023-09-13 13:29:31 +08:00
Sean Parkinson
40c5048e38
AES GMULT: add table implementation using 32-bit types
...
32-bit ARM didn't load 64-bit pointers without alignment issues.
2023-09-13 13:44:17 +10:00
John Bland
eda3cd6a37
Merge pull request #6762 from jpbland1/ocsp-chain-count-retry
...
stop DoCertificate from reseting the cert chain
2023-09-12 21:42:09 -04:00
Hideki Miyazaki
1c9afb8b12
initial commit for RZN2L board Support
2023-09-13 09:22:55 +09:00
John Bland
6c8eaf26f5
update based on pr comments
2023-09-12 19:43:28 -04:00
John Bland
6e87fc7f90
switch to using ssl->error to check for previous error
2023-09-12 18:25:10 -04:00
Andras Fekete
971df19c5c
Missing fix
2023-09-12 17:06:54 -04:00
John Bland
14017bd67e
remove NULL check on non-pointer array
2023-09-12 14:42:33 -04:00
JacobBarthelmeh
86755dc7e4
Merge pull request #6766 from douzzer/20230911-linuxkm-my__show_free_areas-prototype
...
20230911-linuxkm-my__show_free_areas-prototype
2023-09-12 10:51:15 -06:00
David Garske
e4b211bee9
Merge pull request #6764 from bandi13/zd16449_async
...
Zd16449 async
2023-09-12 08:38:16 -07:00
Daniel Pouzzner
63e167e974
linuxkm/linuxkm_wc_port.h: add missing prototype for my__show_free_areas().
2023-09-11 21:27:25 -05:00
John Bland
937aa3415f
set last missing lastErr section
2023-09-11 18:24:37 -04:00
JacobBarthelmeh
61f48eb5a1
Merge pull request #6763 from DimitriPapadopoulos/codespell
...
Fix residual typos found by codespell
2023-09-11 15:55:34 -06:00
John Bland
b99b1d4cfd
fix bad error setting and instances where lastErr
...
wasn't set as it should have been
2023-09-11 17:52:07 -04:00
Andras Fekete
d25f4f06bf
clang-tidy is being super picky
2023-09-11 16:30:29 -04:00
Andras Fekete
c7f5043774
Fixes for the sanitizer
2023-09-11 15:57:20 -04:00
Andras Fekete
42985ebdfa
Revert "Add in ASYNC_CRYPTO_SW checks"
...
This reverts commit f5ef7b40dbb544ccbf5664991aeb11ce2f94d169.
2023-09-11 15:10:32 -04:00
Andras Fekete
6cb1aef836
Clean up old comments
2023-09-11 14:54:42 -04:00
Andras Fekete
07e2f90fbb
Reorder and add async_* sources
2023-09-11 14:48:17 -04:00
Andras Fekete
b34348680a
New format
2023-09-11 14:33:19 -04:00
Andras Fekete
f5ef7b40db
Add in ASYNC_CRYPTO_SW checks
2023-09-11 13:12:09 -04:00
Andras Fekete
57e870e0d4
Add Async examples
2023-09-11 12:05:11 -04:00
JacobBarthelmeh
63477bcfdb
Merge pull request #6733 from gojimmypi/windows-gettime_secs
...
implement gettime_secs for Windows (_MSC_VER) in tests/api.c
2023-09-11 09:31:30 -06:00
Dimitri Papadopoulos
d532833af9
Fix residual typos found by codespell
2023-09-11 11:34:28 +02:00
John Bland
d0c2609ebb
stop ProcessPeerCerts from reseting the cert chain
...
count when an async error was returned
2023-09-11 01:56:58 -04:00
Chris Conlon
0bb9b85cd4
PKCS7: support PKCS#7 definition for ContentType eContent ANY, in addition to CMS OCTET_STRING definition
2023-09-08 16:32:15 -06:00
Andras Fekete
23ebace6b1
Fix event handling
2023-09-08 16:34:04 -04:00
JacobBarthelmeh
f9c2a86456
Merge pull request #6759 from kaleb-himes/SP_CACHE_UPDATE
...
Remove references to WOLFSSL_SP_CACHE_RESISTANT as it is always on
2023-09-08 14:27:38 -06:00
Andras Fekete
f9e5e4d08a
Clean up the 'async-check.sh' script
...
Far too many times I got burned by passing the wrong argument and things getting set up wrong.
2023-09-08 15:05:22 -04:00
JacobBarthelmeh
f8f66191e3
Merge pull request #6750 from SparkiDev/curve25519_thumb2_2
...
Curve25519/Ed25519: align buffers
2023-09-08 10:36:25 -06:00
Sean Parkinson
90467aa578
Curve25519/Ed25519: align buffers
...
Make data structures align buffers.
Align buffers in functions.
Add versions that don't use umaal
2023-09-08 15:23:15 +10:00
Sean Parkinson
00a08374df
Merge pull request #6707 from JacobBarthelmeh/xilinx
...
use flush instead of invalidate
2023-09-08 07:07:08 +10:00
Sean Parkinson
0e1706c3c7
Merge pull request #6756 from JacobBarthelmeh/docs
...
fix parameter typo in dox documentation
2023-09-08 07:03:39 +10:00
kaleb-himes
0fb514fa41
Remove references to WOLFSSL_SP_CACHE_RESISTANT as it is always on
2023-09-07 14:24:51 -06:00
David Garske
7ca6c129e5
Merge pull request #6755 from anhu/GetASNInt
...
Expose GetASNInt as part of WOLFSSL_ASN_API
2023-09-07 11:30:46 -07:00
gojimmypi
bba9add3a5
Merge branch 'master' of https://github.com/wolfssl/wolfssl into windows-gettime_secs
2023-09-07 08:54:42 -07:00
Anthony Hu
fddda8f582
Expose GetASNHeader in both template and original.
2023-09-07 09:52:27 -04:00
András Fekete
fc4e4f1238
Merge pull request #6757 from julek-wolfssl/zephyr-ci
...
Tie zephyr tests to a release
2023-09-07 08:49:10 -04:00
Juliusz Sosinowicz
ec7ecba0fe
Tie zephyr tests to a release
2023-09-07 13:21:24 +02:00
gojimmypi
e74b3ecdad
revert to only original gettime_secs changes per code review
2023-09-06 17:55:15 -07:00
JacobBarthelmeh
6e9c73eb12
fix parameter typo in dox documentation
2023-09-06 15:38:49 -07:00
Anthony Hu
6665f240e0
Expose GetASNInt as part of WOLFSSL_ASN_API
2023-09-06 18:17:42 -04:00
JacobBarthelmeh
755c39b5fc
Merge pull request #6751 from ejohnstown/merge-fips-builds
...
FIPS 140-3 Pilot Program Check-in
2023-09-06 16:07:41 -06:00
Daniel Pouzzner
344e1661e1
wolfcrypt/src/{hmac.c,sha256.c,sha512.c,kdf.c}: ForceZero() smallstack buffers before freeing them, and ForceZero() the Hmac, wc_Sha512, wc_Sha384, wc_Sha256, and wc_Sha224 structures at the end of their respective freeing routines. also, remove superseded ForceZero() calls in wc_HKDF_Expand(), wc_SSH_KDF(), and wc_HKDF_Extract().
2023-09-06 14:53:19 -05:00