• src/ssh/ssh-arch.hsrc/ssh/deucessh-arch.h ssh-arch.c ssh-internal.h sr

    From Deuc¿@VERT to Git commit to main/sbbs/master on Fri Mar 27 05:30:23 2026
    https://gitlab.synchro.net/main/sbbs/-/commit/56233af3a112cb4bb88583d7
    Added Files:
    src/ssh/ssh-arch.h
    Modified Files:
    src/ssh/deucessh-arch.h ssh-arch.c ssh-internal.h src/ssh/test/test_arch.c
    Log Message:
    Strip ssh-arch public API to 2 functions, remove dead code

    Only dssh_parse_uint32 and dssh_serialize_uint32 are used by
    algorithm modules; all other arch functions are library-internal.

    - deucessh-arch.h: remove _Generic macros (unused), remove 19/21
    function declarations, remove openssl/bn.h include (TODO items 4+5)
    - ssh-arch.h: new internal header declaring 12 DSSH_PRIVATE functions
    - ssh-arch.c: add DSSH_PUBLIC/DSSH_PRIVATE annotations, delete all 7
    dssh_serialized_*_length functions (zero production callers)
    - test_arch.c: remove 7 tests for deleted functions

    Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net