Evgeny f913bdf351 stcp: streaming TCP module + stream cipher + comprehensive tests
- secure_channel: add sc_stream_state + sc_stream_init/sc_stream_xor/sc_stream_cleanup
  AES-128-CTR streaming cipher for incremental encrypt/decrypt
- stcp.h/c: shared stcp_conn lifecycle, set_on_close, rx/tx queue setup
- stcp_server: listen/accept, handshake (obfuscated pubkey + ECDH + stream), DATA phase
- stcp_client: connect, handshake, DATA phase
- Protocol: key_block(72) + enc(data+crc) + padding for handshake
           size(2 LE) + enc(data+crc) for data messages
- Tests: test_stream_cipher (AES-CTR correctness)
         test_stcp (6 cases: sizes 0..65535, 200 msgs, wrong key,
                    close detection, multi-client, interleaved send/recv)
- Fix: 0-length message handling in tx_queue callbacks
2026-06-14 10:00:02 +03:00
1
2026-04-21 16:14:03 +00:00
1
2026-02-28 16:25:01 +03:00
1
2026-03-08 18:52:53 +03:00
1
2026-02-28 16:25:01 +03:00
1
2026-03-08 19:59:42 +03:00
2026-03-06 15:55:16 +03:00
S
Description
No description provided
GPL-3.0
472 MiB
0 Stars 1 Watchers 0 Forks
Languages
C 64.6%
C++ 17.1%
Kotlin 9.4%
HTML 5.8%
Python 1.2%
Other 1.7%