Commit Graph

382 Commits (68e6d8308ba4c5042cff03336f23b237442846c5)

Author SHA1 Message Date
Chris Conlon 62d00eeaf9 update scp comments, cleanup 2018-05-31 13:45:54 -06:00
Chris Conlon 912afe9210 scp scan-build fixes 2018-05-31 13:45:54 -06:00
Chris Conlon bfd0d925d9 add NO_FILESYSTEM checks for scp build 2018-05-31 13:45:54 -06:00
Chris Conlon 6cbfb0e26d add scp server support for copy from server to peer 2018-05-31 13:45:54 -06:00
Chris Conlon 5a42829087 add scp server support for receiving individual files and recursive
directories
2018-05-31 13:45:54 -06:00
Chris Conlon b530d26357 add WFREAD, WFWRITE 2018-05-31 13:45:54 -06:00
Chris Conlon 6a22968b87 enable compilation of example server by default 2018-05-31 13:45:54 -06:00
Chris Conlon f37c7224fb fix threading in example server 2018-05-31 13:45:53 -06:00
John Safranek cfc7f7d1d0
Merge pull request #68 from JacobBarthelmeh/testing
update name for SHA
2018-05-31 10:42:58 -07:00
Chris Conlon d233816852
Merge pull request #69 from TimParrish/branchCheckedOut
changed configure option for building wolfSSL per John S. comments
2018-05-30 11:51:19 -06:00
Tim 859c6792cf changed configure option for building wolfSSL per John S. comments 2018-05-30 11:45:48 -06:00
Jacob Barthelmeh ff9d88f2ee update name for SHA 2018-05-30 11:29:12 -06:00
John Safranek 82adf1f23c
Merge pull request #66 from aaronjense/wlog-typo-fix
fixed possible WLOG typo
2018-05-24 13:53:21 -07:00
John Safranek 37eb1bc59d Fuzz Test Fixes
1. Add a maximum packet size value and verify the read packet size.
2018-05-24 13:10:49 -07:00
Aaron Jense 04fe344d1d fixed possible WLOG typo 2018-05-24 13:08:38 -06:00
John Safranek a528f57840 Fuzz Test Fixes
1. Added some more size checks for the signature parsing in `KexDhReply()`.
2018-05-24 11:36:12 -07:00
John Safranek 945703b791 Fuzz Test Fixes
1. A bounds check in `KexDhReply()` for fSz could be tricked into using an incorrect value and trigger a crash. Rearranged the inequality so it can't be tricked.
2. A bounds check in `GetUint32()` for the size of the length value being used could cause crashes. Rearranged the inequality so it can't be tricked.
3. Modified other similar bounds checks.
4. In `KexDhReply()` check the sigSz after reading.
2018-05-24 10:50:53 -07:00
Chris Conlon ed4b978542
Merge pull request #65 from ejohnstown/update-flags
Update Flags
2018-05-23 17:22:08 -06:00
John Safranek 76ec35c716 Update Flags
In ax_harden_compiler_flags.m4, a couple of the AC_REQUIRE macros were being used to check for the presence of another macro. Replaced them with uses of AX_REQUIRE_DEFINED which checks for the presence of a macro. AC_REQUIRE ensures a macro is expanded.
2018-05-23 15:48:23 -07:00
Chris Conlon 8d790ba894
Merge pull request #64 from ejohnstown/update-configure
Update Configure
2018-05-23 11:16:20 -06:00
John Safranek a3da921219 Update Configure
1. Removed some redundant macros.
2. Added missing quotes to some macro parameters.
3. Condensed some sets of macros into a single macro with a parameter list.
4. Removed some ignored parameters to macros.
2018-05-23 09:48:38 -07:00
Chris Conlon 946531c6b0
Merge pull request #62 from ejohnstown/update-m4
Update M4
2018-05-23 09:38:25 -06:00
John Safranek a7dde2bec6 Update M4
1. Remove the reinitialize of CFLAGS from the AX_HARDEN_CC_FLAGS macro.
2018-05-22 16:19:32 -07:00
John Safranek 14ac7331cb
Merge pull request #63 from JacobBarthelmeh/readme
update readme with tip for resource reduction
2018-05-22 14:06:46 -07:00
John Safranek a41b292484 Update M4
1. Update several of the macro files paralleling wolfSSL's m4 files.
2. Check the ar options and if available add the "U" options.
3. Add the -Xcompiler flag ahead of -Qunused-arguments for -pthreads.
2018-05-21 15:22:35 -07:00
Jacob Barthelmeh 0278fd59f2 update readme with tip for resource reduction 2018-05-21 10:34:46 -06:00
John Safranek d23a47bd19
Merge pull request #60 from JacobBarthelmeh/testing
revert increment of nameListIdx for RSA connection
2018-05-18 17:00:02 -07:00
Jacob Barthelmeh 9312179ec8 revert increment of nameListIdx for RSA connection 2018-05-18 09:45:40 -06:00
JacobBarthelmeh c2a3de1332
Merge pull request #59 from ejohnstown/test-errcode
Error Code Unit Test
2018-05-10 15:06:10 -06:00
John Safranek e1f242f451
Merge pull request #54 from JacobBarthelmeh/fuzz
check for overflow case
2018-05-10 14:02:35 -07:00
John Safranek c77345fc6c Error Code Unit Test
1. Add a unit test to check all error codes have strings.
2. Add public function to return the error string for an error code.
3. Fill in the missing error strings.
4. Fix an error string (change a "verify" to "create").
2018-05-10 13:55:59 -07:00
John Safranek 988c45b042
Merge pull request #58 from cconlon/scanbuild
fixes for scan-build warnings
2018-05-10 13:52:41 -07:00
JacobBarthelmeh 7f8250fb0f
Merge pull request #57 from cconlon/spacing
remove hard tabs in DoChannelClose()
2018-05-10 14:20:53 -06:00
Chris Conlon fb8b9d5ee3 scanbuild: fix for value is never read 2018-05-03 15:22:51 -06:00
Chris Conlon f87adbd82c scanbuild: fix for possible null pointer dereferences 2018-05-03 15:19:39 -06:00
Chris Conlon d2b96e9335 scanbuild: fix begin var value never read warning 2018-05-03 15:10:32 -06:00
Chris Conlon c0cb237881 scanbuild: fix bufName dead assignment 2018-05-03 14:56:27 -06:00
Chris Conlon 634a356993 scanbuild: fix for sigKeyBlock.useRsa evaluating to garbage 2018-05-03 14:51:53 -06:00
Chris Conlon 6ff33be668 remove hard tabs, gcc 7.2.0 complains 2018-05-03 14:32:30 -06:00
Jacob Barthelmeh b4e02d77b1 check for overflow case 2018-04-10 13:19:39 -06:00
John Safranek 6d6c0ed23b
Merge pull request #53 from JacobBarthelmeh/fuzz
additional sanity checks on buffers
2018-04-10 09:45:53 -07:00
Jacob Barthelmeh a8ddc51331 buffer size check with sig verify 2018-04-09 13:56:22 -06:00
Jacob Barthelmeh f8a8fd51fa additional sanity checks on buffers 2018-04-06 16:30:54 -06:00
John Safranek 5e15ae7061
Merge pull request #51 from JacobBarthelmeh/testing
Adds extra checks for AES buffer size and update verify mac return error
2018-04-05 15:14:13 -07:00
Jacob Barthelmeh 7ef8b02e90 extra check on buffer size before AES-CBC encrypt/decrypt 2018-04-05 15:16:57 -06:00
Jacob Barthelmeh e3228ee300 return value for verify mac result 2018-04-05 15:16:48 -06:00
John Safranek 989d0f3d55
Merge pull request #47 from JacobBarthelmeh/testing
use of buffer keys in examples with no filesystem
2018-04-05 13:59:56 -07:00
John Safranek ed37ae9fd0
Merge pull request #48 from JacobBarthelmeh/pic32
initial port to pic32
2018-04-05 13:59:39 -07:00
Jacob Barthelmeh ed2f9c6cbe add port to test.h file 2018-04-05 13:21:23 -06:00
John Safranek 2cea13ab52
Merge pull request #49 from JacobBarthelmeh/fuzz
additional sanity checks
2018-03-30 17:49:21 -07:00