https://gitlab.synchro.net/main/sbbs/-/commit/7cbe6e73684a048094d0851e
Added Files:
src/ssh/deucessh-comp.h deucessh-enc.h deucessh-key-algo.h deucessh-mac.h
Modified Files:
src/ssh/CMakeLists.txt src/ssh/comp/none.c src/ssh/deucessh-kex.h src/ssh/enc/aes256-ctr.c none.c src/ssh/kex/curve25519-sha256.c dh-gex-sha256.c src/ssh/key_algo/rsa-sha2-256.c ssh-ed25519.c src/ssh/mac/hmac-sha2-256.c none.c src/ssh/ssh-trans.h
Log Message:
Public headers for all module types (kex, key_algo, enc, mac, comp)
Algorithm modules no longer include the private ssh-trans.h header.
Each module type now has its own public header with struct definitions, function pointer typedefs, flags, and registration declarations:
deucessh-kex.h — KEX context, handler, kex_s, register_kex
deucessh-key-algo.h — key_algo_s, sign/verify/pubkey, register
deucessh-enc.h — enc_s, init/crypt/cleanup, register
deucessh-mac.h — mac_s, init/generate/cleanup, register
deucessh-comp.h — comp_s, compress/uncompress, register
Third-party algorithm modules can now be written using only public
headers. ssh-trans.h includes the public headers for internal use
but is no longer required by modules.
Co-Authored-By: Claude Opus 4.6 (1M context) <
noreply@anthropic.com>
---
■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net