wolfssh/tests
John Safranek 162dd7fbc6 Test ForceZero of secrets in free and DH KEX
- Add retain-on-free and size-tracking capture allocators to inspect
  freed buffers post-free.
- Verify SshResourceFree zeroes ssh->k, ssh->keys, and ssh->peerKeys
  before wolfSSH_free releases the struct.
- Verify KeyAgreeDh_client wipes ssh->handshake->x even when wc_DhAgree
  fails (ForceZero is unconditional).
- Verify KeyAgreeDh_server zeroes the MAX_KEX_KEY_SZ y_ptr allocation
  under WOLFSSH_SMALL_STACK via 0xCC poisoning.
- Expose KeyAgreeDh_client / KeyAgreeDh_server via wolfSSH_Test* hooks
  under WOLFSSH_TEST_INTERNAL.

Issues: F-2488, F-2492, F-2493, F-2875
2026-05-14 14:42:20 -07:00
..
api.c Fix minor issues and Add unit test for wrong padded OpenSSH key 2026-05-12 13:14:56 -07:00
api.h
auth.c Add integration test for wrong ECC signature scenario 2026-05-11 16:25:21 -07:00
auth.h Add an integration test where a client authenticates using public key 2026-04-14 09:16:21 +09:00
include.am Add unit test for VerifyMac 2026-04-14 09:23:14 +09:00
kex.c Add kex integration test for ed25519 server key 2026-04-16 15:14:42 +09:00
kex.h
regress.c Add independent ciper and MAC algorithms negotiation for each direction, And add regress test 2026-05-08 10:26:22 -07:00
sftp.c
sftp.h
testsuite.c
testsuite.h
unit.c Test ForceZero of secrets in free and DH KEX 2026-05-14 14:42:20 -07:00
unit.h