wolfssh/tests
Yosuke Shimizu 48ca2135fb internal, tests: start no highwater rekey after an inbound packet fails
- DoReceive() sets highwaterFlag and msgHighwaterFlag when an
  inbound packet fails decryption, its MAC, or its length or
  alignment check.
- DoPacket() sets both flags when padding_length is below
  MIN_PAD_LENGTH or leaves no room for the message id.
- The highwaterFlag and msgHighwaterFlag comments name that writer.
- The wolfSSH_SendPacket() comment limits its ssh->error claim to the
  flush and says HighwaterCheck() writes nothing there but its
  callback may.
- unit.c adds test_HighwaterQuietAfterBadPacket(): an idle worker
  pass fires the highwater callback, and a bad-MAC worker pass and
  the send after it do not.
- unit.c adds test_DoReceive_RejectsPaddingUnderflow(), and the
  VerifyMacFailure, AeadTagFailure, RejectsShortPadding,
  RejectsMisalignedPacket and WorkerHardRecvErrorOutranksFlush tests
  check both flags are set. VerifyMacFailure clears them per case.
2026-10-08 11:27:50 -07:00
..
api.c Add strict key exchange, the Terrapin mitigation 2026-09-30 22:49:25 -05:00
api.h Release v1.4.22 2025-12-29 16:53:33 -08:00
auth.c tests: sign ECC bad-sig auth with a fresh key 2026-10-06 10:21:21 -05:00
auth.h added check for private and public keys decoded 2026-07-31 16:14:52 -07:00
include.am tests: gate the client cases in regress.c 2026-09-22 17:05:22 -05:00
kex.c Fix ML-DSA composite logic from code review 2026-09-21 11:11:16 -07:00
kex.h Release v1.4.22 2025-12-29 16:53:33 -08:00
regress.c internal: propagate only WANT_WRITE in DoKexInit 2026-10-01 15:38:17 -05:00
sftp.c tests: split the SFTP server and client argv 2026-09-22 14:35:24 -05:00
sftp.h Release v1.4.22 2025-12-29 16:53:33 -08:00
testsuite.c ssh: add a rekey-state accessor 2026-09-24 22:56:41 -07:00
testsuite.h Release v1.4.22 2025-12-29 16:53:33 -08:00
unit.c internal, tests: start no highwater rekey after an inbound packet fails 2026-10-08 11:27:50 -07:00
unit.h Release v1.4.22 2025-12-29 16:53:33 -08:00