JacobBarthelmeh
b4724b515d
Merge pull request #6880 from SparkiDev/sm2_named_group_val_fix
...
SM2 named curve disabled: value outside of supported values
2023-10-18 10:51:02 -06:00
Brett
d805e06469
add AesEax struct to header for public use
2023-10-18 09:23:39 -06:00
Sean Parkinson
1e84d24c20
SM2 named curve disabled: value outside of supported values
...
SM2 named curve value is specified in specification.
Values 0-14 aren't used, so, those bits in disabledCurves are used for
values over 31.
Add range checks.
2023-10-18 10:51:37 +10:00
JacobBarthelmeh
3943852b79
Merge pull request #6882 from douzzer/20231017-wolfsentry-wolfssl_test-h
...
20231017-wolfsentry-wolfssl_test-h
2023-10-17 16:03:41 -06:00
David Garske
bc0643803d
Merge pull request #6873 from JacobBarthelmeh/coverity
...
Coverity scan touch up
2023-10-17 14:44:33 -07:00
JacobBarthelmeh
19870b2378
Merge pull request #6883 from bigbrett/cmake-aarch64-build-macro-fix
...
cmake aarch64 fix
2023-10-17 15:31:23 -06:00
Kareem
f59b22d3a0
Add explicit break to switch statement in GetHmacLength
2023-10-17 14:14:05 -07:00
JacobBarthelmeh
4f1b3fff73
Merge pull request #6879 from jpbland1/cmac-invalid-devId
...
correctly set invalid devId for when cryptoCb is on
2023-10-17 13:23:17 -06:00
Brett
a1d76849e6
added CMake support for new Apple native certificate verification
2023-10-17 13:17:42 -06:00
JacobBarthelmeh
dc7e044157
Merge pull request #6881 from lealem47/mingw_pthreads
...
Fix for pthreads on MSYS2 & MINGW
2023-10-17 13:10:05 -06:00
Brett
e976a7faeb
added CMake host processor check to appropriately set WOLFSSL_AARCH64_BUILD on M1 macs
2023-10-17 12:51:36 -06:00
Daniel Pouzzner
f0db681550
wolfssl/test.h: move wolfsentry logic out of wolfssl project and into header file in wolfsentry project.
2023-10-17 13:05:23 -05:00
Lealem Amedie
a810514f86
Get multi-test passing
2023-10-17 11:36:19 -06:00
John Bland
76b770d4ee
update comment based on PR advise
2023-10-17 13:01:00 -04:00
Lealem Amedie
286d551ad0
Use same mingw macro in codebase for consistency
2023-10-17 10:22:17 -06:00
JacobBarthelmeh
603b5bb573
Merge pull request #6875 from douzzer/20231016-sp-math-fix-redux
...
20231016-sp-math-fix-redux
2023-10-17 10:08:43 -06:00
Lealem Amedie
5bc2edd5ad
Allow override of XSNPRINTF for Windows
2023-10-17 09:37:50 -06:00
Lealem Amedie
b73a440205
Fix for pthreads on MSYS2 & MINGW
2023-10-17 09:16:41 -06:00
John Bland
92382602dd
fix bad placement
2023-10-17 01:39:34 -04:00
John Bland
53d80c0b7f
correctly set invalid devId for when cryptoCb is on
...
but the user has opted to use software, or cmac is not available on for their
device. currently a devId of 0 is set which causes CRYPTOCB_UNAVAILABLE
2023-10-17 01:33:06 -04:00
gojimmypi
f5d1cb5132
Update wolfSSL component CMakeLists.txt
2023-10-17 02:09:26 +02:00
Daniel Pouzzner
f1725b4962
fix to 3e9f8bc649: (void)h
was a typo for correct (void)n
.
2023-10-16 18:23:45 -05:00
JacobBarthelmeh
b7b0316ac9
free buffer on error case
2023-10-16 15:04:57 -06:00
Brett
0244c2a254
Add support for new Apple trust APIs with WOLFSSL_SYS_CA_CERTS
2023-10-16 14:37:21 -06:00
JacobBarthelmeh
ae3fdbec47
add free in error case CID 327286
2023-10-16 13:59:05 -06:00
JacobBarthelmeh
74b63b6409
fix for derefernce warning on debug message
2023-10-16 13:52:42 -06:00
JacobBarthelmeh
8be0e14bd2
add unlock in error case CID 327294
2023-10-16 13:46:18 -06:00
JacobBarthelmeh
bab01ca313
Merge pull request #6872 from douzzer/20231016-sp-math-aes-eax-fips-fixes
...
20231016-sp-math-aes-eax-fips-fixes
2023-10-16 13:43:26 -06:00
JacobBarthelmeh
99d46d9a6d
fix for derefernce warning CID 327296 & CID 327298
2023-10-16 13:36:24 -06:00
JacobBarthelmeh
3c23f39437
fix for out of bounds edge case CID 327299
2023-10-16 13:34:05 -06:00
JacobBarthelmeh
ed001829df
Fix for dereference CID 327300 & CID 327301
2023-10-16 13:33:15 -06:00
Daniel Pouzzner
3e9f8bc649
tests/api.c: gate test_wc_AesEaxVectors(), test_wc_AesEaxEncryptAuth(), and test_wc_AesEaxDecryptAuth(), on !FIPS || FIPS>=5.3.
...
wolfcrypt/src/eccsi.c: remove incorrect `(void)h` from eccsi_mulmod_base_add() in newly exposed WOLFSSL_SP_MATH code path.
2023-10-16 13:30:16 -05:00
JacobBarthelmeh
d35112064b
Merge pull request #6840 from philljj/xmss_hooks_support
...
Add XMSS/XMSSMT wolfCrypt hooks.
2023-10-16 10:58:12 -06:00
jordan
46b1a030a7
XMSS/XMSSMT hooks support: fix g++ warnings, and small cleanup for review.
2023-10-13 18:01:07 -05:00
JacobBarthelmeh
c23559a91c
Merge pull request #6866 from bigbrett/aes-eax
...
Add more extensive AES EAX tests to api.c
2023-10-13 16:09:30 -06:00
JacobBarthelmeh
7afd9810de
Merge pull request #6867 from cconlon/jniConfigExpand
...
Update "--enable-jni" to include additional defines
2023-10-13 15:13:32 -06:00
Brett
87cffc8229
Added more extensive AES EAX tests to api.c
2023-10-13 11:38:16 -06:00
JacobBarthelmeh
79a6e1eb04
Merge pull request #6808 from SparkiDev/sp_sm2
...
SP updates for SM2
2023-10-13 10:17:17 -06:00
Chris Conlon
8cd89884ce
update --enable-jni with KEEP_PEER_CERT, WOLFSSL_ALT_CERT_CHAINS, WOLFSSL_KEY_GEN
2023-10-13 10:07:04 -06:00
JacobBarthelmeh
f247e6b6f0
Merge pull request #6865 from per-allansson/wolfio-getaddrinfo-hints-a
...
wolfio: request only IPv4 addresses unless IPv6 support is enabled
2023-10-13 09:53:38 -06:00
JacobBarthelmeh
95137f91fa
Merge pull request #6856 from dgarske/fips_win32
...
Fixes for wolfCrypt FIPS DLL win32
2023-10-13 09:49:26 -06:00
JacobBarthelmeh
dd1459ec8e
Merge pull request #6859 from julek-wolfssl/curl-releases
...
Test curl releases
2023-10-13 08:57:11 -06:00
JacobBarthelmeh
4001734421
Merge pull request #6863 from lealem47/xcode_cyassl
...
Remove cyaSSL from XCODE proj and small fix in chacha.c
2023-10-13 08:54:11 -06:00
Per Allansson
5f20f1171d
wolfio: request only IPv4 addresses unless IPv6 support is enabled
2023-10-13 15:25:16 +02:00
Juliusz Sosinowicz
962c315447
Test curl releases too
2023-10-13 11:52:02 +02:00
JacobBarthelmeh
26cc785fbc
Merge pull request #6861 from douzzer/20231012-keylog-export-warning-fix
...
20231012-keylog-export-warning-fix
2023-10-12 17:04:39 -06:00
Sean Parkinson
0cc21a42f3
SP updates for SM2
...
Allow wolfSSL to build with SP implementations of SM2.
Updates to SP implementation of other code.
2023-10-13 08:14:15 +10:00
JacobBarthelmeh
38df4e2bd5
Merge pull request #6857 from kareem-wolfssl/zd16815
...
Update documentation for wc_Shake256_Final to match function signature.
2023-10-12 15:08:58 -06:00
JacobBarthelmeh
26ab3b109a
Merge pull request #6858 from anhu/FASCN_OID
...
Support FASCN OID in wolfssl_dns_entry_othername_to_gn()
2023-10-12 14:47:09 -06:00
JacobBarthelmeh
883fcfc11e
Merge pull request #6860 from douzzer/20231012-aes-xts-fixes
...
20231012-aes-xts-fixes
2023-10-12 14:41:17 -06:00