Commit Graph

22165 Commits

Author SHA1 Message Date
Juliusz Sosinowicz
d7838155e5 WOLFSSL_BIO_SSL BIO should use remaining chain for IO
This is accomplished by passing the next BIO in the chain in to the `wolfSSL_set_bio` API.
2021-03-10 10:13:42 +01:00
David Garske
ce62a24325 Merge pull request #3856 from embhorn/gh3849
Typo in client example
2021-03-09 15:49:30 -08:00
Eric Blankenhorn
f421f949c9 Fix header cir ref with WPAS 2021-03-09 17:09:04 -06:00
Chris Conlon
23396a94c4 Merge pull request #3822 from TakayukiMatsuo/os_ecdh
Add CTX_set_ecdh_auto
2021-03-09 15:15:38 -07:00
John Safranek
fd6618170d Merge pull request #3843 from julek-wolfssl/dtls-reset-seq-num
Correctly move the Tx sequence number forward
2021-03-09 13:06:04 -08:00
Juliusz Sosinowicz
d4302cc71b Correctly reset the Tx sequence number
All DTLS records after the ClientHello should try to start from the sequence number of the ClientHello if it is available.
2021-03-09 18:30:10 +01:00
Stanislav Klima
9f9bf7345b Fixed CID 13482 2021-03-09 15:12:31 +01:00
Stanislav Klima
dc1f11666d Fixed CID 588443 2021-03-09 14:49:30 +01:00
Stanislav Klima
9e68d0d1a8 Fixed CID 586938 2021-03-09 12:30:39 +01:00
TakayukiMatsuo
153859f2b2 Merge remote-tracking branch 'upstream/master' into os_ecdh
# Conflicts:
#	tests/api.c
2021-03-09 12:00:15 +09:00
Eric Blankenhorn
5e953d5968 Typo in client example 2021-03-08 17:31:12 -06:00
Sean Parkinson
ff3325fcaf SP ECC: Fix P-256 modinv for AVX2
modinv AVX2: do quick norm on result twice and convert 32-bit signed to
64-bit signed before adding
P-256 mont_add, mont_dbl, mont_tpl, mont_sub x64: handle mul/sqr result
being greater than modulus but not greater than 1<<256.
2021-03-09 08:42:07 +10:00
Hayden Roche
b271da2954 Fix for ZD 11808. 2021-03-08 12:23:32 -06:00
David Garske
c73965b471 Merge pull request #3842 from danielinux/imx-rt1060-fixes
Fixed regressions in sha modules when compiling with WOLFSSL_IMXRT_DCP
2021-03-08 10:21:40 -08:00
Chris Conlon
7b2aa54044 Merge pull request #3801 from TakayukiMatsuo/os_bio
Add wolfSSL_BIO_tell
2021-03-08 09:56:01 -07:00
Chris Conlon
ec58765498 Merge pull request #3769 from miyazakh/openssl_ext_r1
Compatibility layer API addition
2021-03-08 09:54:07 -07:00
Sean Parkinson
419b426a1b MP int: fix word range check in mp_is_bit_set() 2021-03-08 15:45:04 +10:00
Sean Parkinson
98683bf71c SP int: read_unsigned_bin and BIG_ENDIAN
When unaligned access of sp_int_digit pointer causes segfault, define:
WOLFSSL_SP_INT_DIGIT_ALIGN
2021-03-08 15:17:12 +10:00
TakayukiMatsuo
feeb0ceb96 Change macro name to WS_RETURN_CODE and add more comments. 2021-03-08 11:57:36 +09:00
JacobBarthelmeh
2275c97602 check ret of lock and adjust return type 2021-03-06 14:21:44 +07:00
Jacob Barthelmeh
e497a8f589 sanity check on size before compare 2021-03-06 08:58:37 +07:00
Hideki Miyazaki
3b768bcb5e addressed review comments 2021-03-06 10:18:31 +09:00
Martin Kinčl
5efd0bf2a4 Fixed CID 587445. 2021-03-06 00:58:39 +01:00
Martin Kinčl
db275268a1 Fixed CID 581667. 2021-03-06 00:40:08 +01:00
Martin Kinčl
c2629d34b5 Fixed CID 577166, 577196. 2021-03-06 00:07:37 +01:00
Martin Kinčl
5841ee8efb Fixed CID 576945. 2021-03-05 23:40:49 +01:00
Martin Kinčl
7d9661d75c Fixed CID 576884. 2021-03-05 23:24:34 +01:00
Martin Kinčl
876cc9239d Fixed CID 576574. 2021-03-05 23:16:50 +01:00
toddouska
b6130513e3 Merge pull request #3844 from SparkiDev/mp_read_radix_fail
MP small: read radix set result to 0 on all errors
2021-03-05 12:09:38 -08:00
toddouska
8428823881 Merge pull request #3840 from SparkiDev/mp_neg_fixes
MP: fixes for negative
2021-03-05 12:08:45 -08:00
David Garske
b55e428795 Merge pull request #3826 from tmael/ecc_err
WOLFSSL_STATIC_MEMORY no longer requires fast math
2021-03-05 11:49:01 -08:00
Radim Smat
af7b1bd25e Fixed CID 587328. 2021-03-05 17:18:34 +01:00
Radim Smat
e76da394b7 Fixed CID 587287. 2021-03-05 15:44:00 +01:00
David Kubasek
d01d32b6ed Fixed the fix of CID 578018 2021-03-05 14:59:18 +01:00
David Kubasek
175fe250ba Merge branch 'fix/RA/v4.7.0-coverity' of https://github.com/DKubasekRA/wolfssl into fix/RA/v4.7.0-coverity 2021-03-05 14:44:10 +01:00
David Kubasek
97a9938f94 Fixed CID 584275 2021-03-05 14:43:52 +01:00
Radim Smat
9732f6e74b Fixed CID 587328. 2021-03-05 14:27:47 +01:00
Radim Smat
f7fbd0fceb Fixed CID 587287. 2021-03-05 13:35:27 +01:00
Radim Smat
8588998234 Fixed CID 586797. 2021-03-05 12:22:59 +01:00
Radim Smat
8539e8c170 Fixed CID 584000. 2021-03-05 12:10:40 +01:00
Radim Smat
0caed02db7 Fixed CID 576609. 2021-03-05 12:04:30 +01:00
David Kubasek
d2b26f66d5 Fixed CID 578018 2021-03-05 10:59:08 +01:00
David Kubasek
ad70112fd8 Fixed CID 576268 2021-03-05 10:35:14 +01:00
Radim Smat
d510c270cd Fixed CID 212170. 2021-03-05 09:44:47 +01:00
Jacob Barthelmeh
6d0dbbe1c0 add IDE/QNX/README.md and add WOLFSSL_QNX_CAAM guard 2021-03-05 14:43:23 +07:00
Sean Parkinson
298ebd6024 MP small: read radix set result to 0 on all errors 2021-03-05 10:02:07 +10:00
Sean Parkinson
046b279ae2 MP: fixes for negative
sp_int.c:
  - sp_addmod_ct(), sp_submod_ct(), sp_gcd() and sp_lcm() only support
positive numbers: updated comments.
  - sp_mod(0, neg): fix to not add 0 and neg.
  - sp_div(): set sign on rem when a is greater than d but same bit length
and fix sign setting on result when absolute values equal or
close.
  - Modular exponentation functions: compare absolute values when
determining whether base needs to be reduced.
- Fix calculation of hex string when negative: add -ve nibble before
checking for need of extra 0.
  - Fix size allocation in sp_mod when WOLFSSL_SP_INT_NEGATIVE defined
tfm.c:
  - fp_mod(0, neg): fix to not add 0 and neg.
  - fp_isone(): fixed to check for negative
  - fp_add_d(): fix small stack version to support negative numbers
integer.c:
  - mp_isone(): fixed to check for negative
2021-03-05 09:29:46 +10:00
Hideki Miyazaki
896245cae7 addressed jenkins cavp test failure 2021-03-05 08:19:25 +09:00
Hideki Miyazaki
464f82a575 addressed jenkins failure part4 2021-03-05 08:19:24 +09:00
Hideki Miyazaki
2246ea33cc addressed sanitize failure 2021-03-05 08:19:23 +09:00