mirror of
https://github.com/shadowsocks/shadowsocks-libev.git
synced 2026-11-02 07:53:43 +00:00
C++20 port 15/15: remove the stream ciphers (#3079)
* Remove the stream ciphers The unauthenticated stream ciphers (aes-*-cfb, aes-*-ctr, camellia-*-cfb, chacha20, chacha20-ietf, salsa20) are gone from every build, together with the SS_ENABLE_LEGACY option, the C++ stream codecs, their C test oracle and the stream-only tests and configurations. A configuration naming one of them, or RC4/table, now fails at startup with a message pointing to an AEAD method, and test_cli checks that. Shell completions list only the supported methods (and now include the 2022 ones), and the docs and the compatibility contract say the stream ciphers were removed. * Drop the Mbed TLS CFB requirement and stale stream-cipher examples CFB was only needed by the removed stream ciphers, so a system Mbed TLS built without it no longer fails to configure. The public header example now uses aes-256-gcm.
This commit is contained in:
+1
-1
@@ -18,7 +18,7 @@ connection as ss-server / ss-local.
|
||||
| aes-256-gcm | 39.0 / 39.0 | 0 / 0 |
|
||||
| chacha20-ietf-poly1305 | 33.1 / 33.0 | 0 / 0 |
|
||||
| 2022-blake3-aes-256-gcm | 34.0 / 32.9 | 0 / 0 |
|
||||
| aes-256-cfb | 27.1 / 26.4 | 0 / 0 |
|
||||
| aes-256-cfb (stream, since removed) | 27.1 / 26.4 | 0 / 0 |
|
||||
|
||||
With a host-name target (`localhost`, resolved by ss-server) the C++ programs
|
||||
are still at 0, because c-ares allocates from its fixed heap. The C ss-server
|
||||
|
||||
Reference in New Issue
Block a user