JacobBarthelmeh
46229bb167
Merge pull request #6693 from bandi13/ZD16551
...
Add in clamp for mp_sqrtmod_prime
2023-08-11 09:22:53 -06:00
JacobBarthelmeh
61761143e7
Merge pull request #6696 from philljj/small_benchmark_cleanup
...
Tiny cleanup to benchmark print usage.
2023-08-11 09:16:48 -06:00
JacobBarthelmeh
c29227dcbb
Merge pull request #6694 from kareem-wolfssl/gh6689
...
Change enum ecc_curve_load_mask into defines
2023-08-11 09:13:03 -06:00
Juliusz Sosinowicz
e96837aa34
cond: Add start and end API for mutex handling
2023-08-10 18:07:51 +02:00
jordan
779b87f03a
Tiny cleanup to benchmark print usage.
2023-08-10 09:47:07 -05:00
Kareem
1bb0199a2b
Change enum ecc_curve_load_mask into defines
2023-08-09 17:35:01 -07:00
Andras Fekete
9b81b0b505
Add in clamp for mp_sqrtmod_prime
2023-08-09 10:44:59 -04:00
Juliusz Sosinowicz
d747df2ae4
Make sure no mutexes are held when cond API are called
2023-08-09 16:25:58 +02:00
Juliusz Sosinowicz
6fcdead112
Check error codes from pthread funcs
2023-08-09 14:20:29 +02:00
Juliusz Sosinowicz
27feb9b9e9
Simplify mac cond type
2023-08-09 14:18:32 +02:00
David Garske
c7b6fa2931
Return codes and missed srtp.
2023-08-08 13:58:38 -07:00
David Garske
39f632d096
Remove lockCount.
2023-08-08 12:51:27 -07:00
David Garske
5b16586483
Fixes for wolfSSL conditional porting. Can cause deadlock in high usage situations. Added better signal support on MacOS. Issue created in PR #6437 .
2023-08-08 12:46:42 -07:00
Daniel Pouzzner
e51ca7941f
fixes for code warned by clang-tidy:18 and cppcheck-2.11:
...
bugprone-inc-dec-in-conditions: examples/server/server.c:server_test(), src/internal.c:MatchDomainName(), src/x509.c:wolfSSL_X509_set_ext(), wolfcrypt/src/asn.c:MatchBaseName()
missingReturn: wolfcrypt/src/wc_port.c:mystrnstr()
bugprone-unused-return-value: wolfcrypt/src/wc_port.c:wolfSSL_NewThreadNoJoin()
clang-analyzer-deadcode.DeadStores: wolfssl/test.h:udp_accept()
2023-08-05 12:28:41 -05:00
Juliusz Sosinowicz
67d6d438c5
Port testing to wolfSSL threading interface
2023-08-04 10:49:39 +02:00
JacobBarthelmeh
83de744dcf
Merge pull request #6671 from SparkiDev/sm_impl_redirect
...
SM Ciphers: Reference the GitHub repository to get implementation
2023-08-03 16:41:46 -06:00
JacobBarthelmeh
7f0cfcb27d
Merge pull request #6667 from bandi13/byebyeCyaSSL
...
Byebye cya ssl
2023-08-03 15:43:01 -06:00
Sean Parkinson
e7ae80493b
SM Ciphers: Reference the GitHub repository to get implementation
...
wolfsm is public and we can point people to repository.
2023-08-04 07:28:21 +10:00
Sean Parkinson
71f9162b99
Merge pull request #6668 from julek-wolfssl/zd/16515
...
DTLS downgrade bug fixes
2023-08-04 07:20:01 +10:00
JacobBarthelmeh
0c39b8074e
Merge pull request #6654 from lealem47/zd16475
...
Fix of buffer overflow in GenerateDNSEntryRIDString()
2023-08-03 14:12:47 -06:00
Juliusz Sosinowicz
158402ab03
Add logging prefixes to api.c client and server
2023-08-03 11:31:47 +02:00
Andras Fekete
b31e485dc9
Remove 'HAVE_FIPS_VERSION < 2' blocks
2023-08-02 17:08:03 -04:00
Andras Fekete
25f542adb4
Clean up compile errors
2023-08-01 15:46:18 -04:00
Chris Conlon
27a59761b9
Merge pull request #6520 from miyazakh/tsip_cryptonly
...
Support TSIP crypt only
2023-08-01 10:13:18 -06:00
Andras Fekete
6e33fe3b51
Remove cyassl reference
2023-08-01 10:57:19 -04:00
Andras Fekete
2b2509c56c
Drop code support
2023-07-31 15:36:38 -04:00
JacobBarthelmeh
4b80dcf733
Merge pull request #6617 from SparkiDev/aes_gcm_win_asm_fix
...
AES-GCM x86_64 MSVC ASM: XMM6-15 are non-volatile
2023-07-31 09:15:42 -06:00
Dimitri Papadopoulos
6d9c85a762
Fix typos found by codespell
2023-07-27 23:38:44 +02:00
billphipps
10adca1a45
Add CryptoCb features ( #6636 )
...
* Update to support invoking cryptocb during un/register.
2023-07-27 13:16:43 -07:00
Sean Parkinson
67913b5800
Merge pull request #6603 from JacobBarthelmeh/xilinx
...
fix for AES-GCM use with petalinux
2023-07-27 07:38:03 +10:00
Hideki Miyazaki
02ec92a3b9
Support TSIP crypt only
...
- Aes, sha,
- rsa
MakeRsaKey, sign/verify
fix compile error when not enabled TSIP
2023-07-27 06:23:34 +09:00
JacobBarthelmeh
8d77090ad9
Merge pull request #6650 from DimitriPapadopoulos/spaces
...
Fix tab/space inconsistencies
2023-07-26 14:17:31 -06:00
JacobBarthelmeh
3e5e16f1ff
Merge pull request #6641 from julek-wolfssl/gh/6555
...
Dtls13GetRnMask: Correctly get chacha counter on BE systems
2023-07-26 11:29:39 -06:00
JacobBarthelmeh
681a75da24
fix for AES-GCM use with petalinux
2023-07-25 22:08:20 -06:00
Sean Parkinson
cfac603ee1
AES-GCM x86_64 MSVC ASM: XMM6-15 are non-volatile
...
Put XMM6-15, when used, on the stack at start of function and restore at
end of function.
2023-07-26 08:22:58 +10:00
Lealem Amedie
9cade8c9a4
Fix of buffer overflow in GenerateDNSEntryRIDString()
2023-07-25 14:33:05 -06:00
Daniel Pouzzner
cebb4da307
fixes and workarounds for cppcheck 2.11 with uninitvar checks reactivated, and legacyUninitvar suppressed globally (as before):
...
src/internal.c:wolfSSL_DtlsUpdateWindow(): shiftTooManyBitsSigned and integerOverflowCond (true positive, fixed);
src/ssl.c:wolfSSL_GetSessionFromCache(): autoVariables (true positive, intentional and now suppressed);
wolfcrypt/src/asn.c: several uninitvars in EccSpecifiedECDomainDecode(), wc_EccPrivateKeyDecode(), DecodeSingleResponse(), and DecodeResponseData() (false positives due to bug in cppcheck short circuit eval analysis, mitigated by refactoring && expressions to nested-if constructs that are semantically identical);
src/ssl.c:wolfSSL_GetSessionFromCache(): nullPointer (false positive due to bug in cppcheck value flow analysis, workarounded).
2023-07-25 11:31:01 -05:00
Dimitri Papadopoulos
4ff99a6780
Fix tab/space inconsistencies
2023-07-24 20:10:57 +02:00
JacobBarthelmeh
1285ae7816
Merge pull request #6506 from DimitriPapadopoulos/codespell
...
Fix typos found by codespell
2023-07-24 10:34:29 -06:00
Juliusz Sosinowicz
56fc5bbf87
Dtls13GetRnMask: Correctly get chacha counter on BE systems
...
The issue was that BIG_ENDIAN is defined in endian.h (on linux). Our define is BIG_ENDIAN_ORDER.
2023-07-24 09:13:10 +02:00
JacobBarthelmeh
d3202600a4
Merge pull request #6525 from lealem47/san
...
Improve subjectAltName extension parsing and printing
2023-07-22 08:19:54 -06:00
Lealem Amedie
acac3fe479
Add testing and make jenkins happy
2023-07-21 13:57:45 -06:00
Lealem Amedie
0cd5a293ca
Fix for parsing pkcs9_contentType
2023-07-21 13:57:45 -06:00
Sean Parkinson
9b2345dc8e
SM3 ASM file: protect with check for WOLFSSL_SM3
...
Protect sm3_asm.S with check for WOLFSSL_SM3.
Change configure.ac to define WOLFSSL_SM3 in ASM flags when SM3 enabled
and enabling intelasm.
2023-07-21 09:57:53 +10:00
Lealem Amedie
16058ce168
Address review comments
2023-07-19 12:01:01 -06:00
Sean Parkinson
dceb7c0122
SM2 and SP_MATH: don't enable SM2 with SP_MATH
...
No implementation of SM2 with SP so can't use SM2 with SP MATH.
2023-07-19 12:39:59 +10:00
JacobBarthelmeh
8065ba18f9
Merge pull request #6620 from douzzer/20230714-WC_DO_NOTHING
...
20230714-WC_DO_NOTHING
2023-07-18 17:04:02 -06:00
Sean Parkinson
fd13d376a8
Merge pull request #6630 from JacobBarthelmeh/spelling
...
spelling fixes
2023-07-19 08:48:03 +10:00
JacobBarthelmeh
58318f9528
Merge pull request #6628 from dgarske/stm32_date
...
Fix for STM32 `HAL_RTC_GetDate` year
2023-07-18 10:28:35 -06:00
JacobBarthelmeh
67d35ea48e
Merge pull request #6622 from philljj/zd16426
...
tfm fp_exptmod_nct: set result to zero when base is zero
2023-07-17 14:29:01 -06:00