JacobBarthelmeh
384a00000f
Merge pull request #165 from ejohnstown/memory
...
Memory
2019-05-10 11:05:50 -06:00
John Safranek
2547a213e3
Receive Window
...
1. Fix bug when setting the receive window to 2048 bytes and the LS
would fail. The OpenSSH server is splitting a single full names message
across mulitple SSH data records. Needed to treat partial reads at the
LS level as a would-block.
2019-05-09 15:06:50 -07:00
John Safranek
150ad93a07
Memory Refactor
...
1. Add functions to print out the sizes of various structures.
2019-05-09 09:37:29 -07:00
Chris Conlon
75e70d24d0
Merge pull request #163 from miyazakh/Renesas_IDE
...
Add example ssh server code for renesas CS+
2019-05-07 08:30:19 -07:00
Hideki Miyazaki
d98acb8d35
addressed review comments
2019-05-07 09:50:26 +09:00
Hideki Miyazaki
c402947e3e
Add Renesas CS+ support and example server
...
Fixed CC-RX compiler warning
Fixed README
2019-05-07 09:20:15 +09:00
John Safranek
03f02d9347
Merge pull request #156 from JacobBarthelmeh/release
...
prepare for release version 1.4.0
2019-04-30 13:33:07 -07:00
Jacob Barthelmeh
ee3c0f1224
prepare for release version 1.4.0
2019-04-30 13:03:42 -06:00
Jacob Barthelmeh
3c0e45db59
match lwip errno include from wolfSSL
2019-04-30 13:02:08 -06:00
Jacob Barthelmeh
cfe2aafbf0
static analysis and cast of argument
2019-04-30 13:02:08 -06:00
Jacob Barthelmeh
fbbd3aa552
fixes for infer test
2019-04-30 13:02:08 -06:00
John Safranek
4ce4b72e1c
Merge pull request #160 from JacobBarthelmeh/testing
...
fix for gcc 8 build warnings
2019-04-30 08:59:56 -07:00
JacobBarthelmeh
8a3c94a59d
Merge pull request #164 from ejohnstown/auth-fix
...
Auth Fix
2019-04-26 13:30:50 -06:00
John Safranek
cd05289772
Auth Fix
...
Before calling the auth callback, be sure to zero out the UserAuthData
I/O value, in case the calling application doesn't set a password or
key.
2019-04-26 10:21:14 -07:00
JacobBarthelmeh
e004dfa2b8
Merge pull request #162 from ejohnstown/fd-fix
...
FD Fix
2019-04-26 10:54:16 -06:00
John Safranek
09b4c60c83
fd Fix
...
The API test assert was using an int comparison. Revised to use a local
check value and just use an AssertTrue for the comparison.
2019-04-26 09:41:13 -07:00
John Safranek
63423e7431
fd Fix
...
1. Resolved a missed use of the socket FD where it was still being treated as an int.
2. Cleaned up some whitespace in io.c.
2019-04-26 09:29:59 -07:00
John Safranek
c2873009e9
fd Fix
...
POSIX uses an int for a file descriptor. In Windows, they use a SOCKET
type which isn't an int, it is a unsigned long. Changed the types of
the file descriptors to a WS_SOCKET_T, which is either an int or a
SOCKET. Added a unit test.
2019-04-26 09:22:34 -07:00
John Safranek
c1da622afd
Merge pull request #161 from JacobBarthelmeh/sftp
...
change bit mask enum to be macro's
2019-04-25 14:47:25 -07:00
Jacob Barthelmeh
4b389bda26
change bit mask enum to be macro's
2019-04-25 11:37:39 -06:00
Jacob Barthelmeh
1fd4c2cc0c
fix for gcc 8 build warnings
2019-04-25 11:32:05 -06:00
JacobBarthelmeh
57a869ecf9
Merge pull request #155 from ejohnstown/bump
...
Bump Version
2019-04-22 14:53:00 -06:00
John Safranek
cc46579db7
Bump Version
2019-04-22 10:18:28 -07:00
John Safranek
997847b5a2
Merge pull request #154 from JacobBarthelmeh/testing
...
add wc_ecc_fp_free to test treads for ecc caching
2019-04-09 15:06:25 -07:00
John Safranek
ff05e7c9cd
Merge pull request #153 from JacobBarthelmeh/sftp-nuc
...
maintain Nucleus port
2019-04-09 14:50:21 -07:00
Jacob Barthelmeh
9f66a16ed5
add wc_ecc_fp_free to test treads for ecc caching
2019-04-09 15:46:11 -06:00
JacobBarthelmeh
8b11e8019b
Merge pull request #152 from ejohnstown/copyright
...
Update the copyright to 2019
2019-04-08 13:26:55 -06:00
Jacob Barthelmeh
3b722bf662
maintain Nucleus port
2019-04-08 13:22:36 -06:00
John Safranek
17a7419496
Update the copyright to 2019
2019-04-08 10:50:23 -07:00
JacobBarthelmeh
95e18fc952
Merge pull request #151 from ejohnstown/copyright
...
Update the copyright to 2019
2019-04-08 11:43:15 -06:00
John Safranek
9aaebbb146
Update the copyright to 2019
2019-04-08 10:24:08 -07:00
John Safranek
f7f7b4743e
Merge pull request #147 from kojo1/add-algos
...
Add AES-CTR, make Algo configurable
2019-04-05 14:14:03 -07:00
JacobBarthelmeh
c050a8365a
Merge pull request #150 from ejohnstown/mem-update
...
Memory Update
2019-04-05 15:00:45 -06:00
John Safranek
1d051e1a84
Memory Update
...
1. Renumbered the dynamic memory type IDs so they don't conflict with wolfCrypt/wolfSSL.
2. Renumbered the error codes so they don't conflict with wolfCrypt.
3. Fixed a couple of typos when using dynamic memory type IDs that were missed due to default memory handling being used.
2019-04-05 11:36:25 -07:00
Takashi Kojo
658f081237
make configuration opts, WOLFSSH_NO_xxx, compatible with wolfSSL names.
2019-04-05 08:39:10 +09:00
Takashi Kojo
aeb2337e52
WOLFSSL_AES_COUNTER in user_settings.h
2019-04-05 07:00:21 +09:00
Takashi Kojo
a93bc3673e
guard by configuration options, WOLFSSH_NO_xxx
2019-04-05 06:52:54 +09:00
John Safranek
883b29d031
Memory Update
...
1. Removed the memory API.
2. Wired the existing memory calls back into the wolfCrypt memory calls.
3. Updated the include.am and vcxproj files for the deleted source.
The wolfSSH memory API is a shallow copy of the wolfCrypt memory API.
wolfCrypt's API offers more options including logging and static memory
that may be useful for wolfSSH in the future. Since both APIs were
available, wolfSSH's was removed as redundant.
2019-04-04 11:19:09 -07:00
John Safranek
b7c4630b01
Memory Update
...
1. Fixed a couple of dynamic memory type identifiers with typos.
2. Fixed a reference to the heap in a free.
These were missed by the compiler becuase in generic builds, the heap
and dynamic type are ignored in a macro.
2019-04-04 10:24:53 -07:00
Takashi Kojo
08faaf9f46
configurable cannedXXXAlgoNames
2019-04-04 17:12:38 +09:00
John Safranek
d3f3e2ca33
Merge pull request #119 from JacobBarthelmeh/exec
...
Extended Data Read and Execute Channel
2019-04-03 16:21:47 -07:00
Jacob Barthelmeh
d27454d567
remove duplicate line
2019-04-03 17:09:07 -06:00
JacobBarthelmeh
cfb540523a
Merge pull request #149 from ejohnstown/fuzz-fix
...
Fuzz Fix
2019-04-03 16:06:22 -06:00
John Safranek
0326cfea31
Fuzz Fix
...
AFL found a failed bounds check in DoDebug. Fixed the check to test for the smallest possible size of the incoming message.
2019-04-03 14:09:06 -07:00
JacobBarthelmeh
2f2dca7498
Merge pull request #148 from ejohnstown/pubkeycb
...
Server Public Key Bug Fix
2019-04-03 11:38:16 -06:00
John Safranek
47a51b5a5b
Server Public Key Bug Fix
...
The callback was getting a pointer to the raw public key data in the
receive buffer including the blob length, this caused the pubkey to be
short in the callback. Updated the pubKey given to the callback to be
the SSH encoded blob without the total size, and pass the total size in.
Also, update the hash of the public key to include the size.
2019-04-03 10:18:20 -07:00
Takashi Kojo
357172afcd
add CTR in cannedEncAlgoNames
2019-04-03 09:46:31 +09:00
Takashi Kojo
b8a2101499
AES_ENCRYPT for AES-CTR, wc_AesSetKey
2019-04-03 06:47:47 +09:00
Takashi Kojo
6c57e54e79
make Alog configurable
2019-04-02 08:44:17 +09:00
Takashi Kojo
8a82608cd7
add AES-CTR
2019-04-02 07:21:38 +09:00