wolfssh/wolfssh
Yosuke Shimizu 78c992a5a1 ssh.c: report the byte count from a channel read that defers its credit
- wolfSSH_stream_read() advances inputBuffer->idx before crediting the
  window, and it and _ChannelRead() return the bytes copied with a
  non-success adjust left in ssh->error.
- _ChannelRead() takes the WOLFSSH from channel->ssh, rejects an idx
  past inputBuffer->length, restores the entry ssh->error on a clean
  credit, and retires a stale WS_WANT_WRITE only when its own credit
  went out.
- wolfSSH_SFTP_Close() checks NoticeError() only on a failed send.
- The src/ssh.c block comments, and new wolfssh/ssh.h notes above
  wolfSSH_stream_read(), wolfSSH_ChannelRead() and
  wolfSSH_ChannelIdRead(), state the window-adjust and ssh->error
  contract.
- tests/unit.c adds test_stream_read_deferredWindowAdjust() and
  test_ChannelIdRead_deferredWindowAdjust(): an adjust that defers,
  then fails, then succeeds, plus a read with nothing buffered against
  a seeded WS_WANT_WRITE.
2026-08-27 09:01:27 -07:00
..
agent.h
…
certman.h
…
certs_test.h
…
error.h Add remaining ML-DSA composite signature algorithms 2026-08-10 14:51:37 -07:00
include.am Add OpenSSH certificate user authentication 2026-07-27 23:30:20 -07:00
internal.h Clear disconnectTxd once the buffer drains 2026-08-26 20:15:01 -05:00
keygen.h Add remaining ML-DSA composite signature algorithms 2026-08-10 14:51:37 -07:00
log.h
…
misc.h Use wolfCrypt's wc_ForceZero() 2026-07-17 15:17:36 -06:00
ossh.h Add OpenSSH certificate user authentication 2026-07-27 23:30:20 -07:00
port.h port: resolve the full SFTP offset in the Harmony and Zephyr ports 2026-08-18 15:01:39 -07:00
settings.h
…
ssh.h ssh.c: report the byte count from a channel read that defers its credit 2026-08-27 09:01:27 -07:00
test.h Use wolfCrypt's Base16_Decode in test.h when it is available 2026-08-16 12:30:15 -07:00
version.h
…
version.h.in
…
visibility.h
…
wolfscp.h scp: reject NULL message in SetScpErrorMsg 2026-08-10 10:31:07 -06:00
wolfsftp.h Split SFTP confinement from the start path 2026-08-20 09:56:48 -06:00