Move the C codecs to tests/reference and drop uthash from ss-manager

The programs now use only the C++ codecs. The C stream/AEAD/AEAD-2022
implementations stay as the reference the differential tests and the C
unit tests compare against. Key derivation and the cipher tables used by
the doc snippets move to src/crypto/keys.{hpp,cpp}.

ss-manager keeps its servers in an ss_list (at most MAX_PORT_NUM,
looked up only on control messages) instead of a uthash table, and
tests/test_manager.py covers add/ping/list/remove end to end.
This commit is contained in:
Max Lv
2026-10-15 00:34:31 +08:00
parent d990f65805
commit 34da0def95
28 changed files with 302 additions and 94 deletions
-5
View File
@@ -2,10 +2,6 @@
# Format: <path> <violations>. check_no_heap.py fails if a file gains
# violations, and also when it loses some, so the number here always goes
# down. Remove a file once it is rewritten on the src/core primitives.
src/aead.cpp 4
src/aead2022.cpp 3
src/aead2022_udp.cpp 5
src/crypto.cpp 4
src/ipset.cpp 3
src/jconf.cpp 16
src/json.cpp 2
@@ -17,6 +13,5 @@ src/redir.cpp 1
src/rule.cpp 2
src/server.cpp 3
src/ssurl.cpp 3
src/stream.cpp 3
src/tunnel.cpp 1
src/utils.cpp 10