BBS: TELESC.NET.BR Assunto: src/ssh/kex/libcrux_mlkem768_sha3.h sntrup761.c src/ssh/ssh-arch.c src De: Deuc¨ Data: Fri, 27 Mar 2026 20:57:48 -0700 ----------------------------------------------------------- https://gitlab.synchro.net/main/sbbs/-/commit/26addde18e25b790b1778e71 Modified Files: src/ssh/kex/libcrux_mlkem768_sha3.h sntrup761.c src/ssh/ssh-arch.c src/ssh/test/dssh_test_ossl.c test_alloc.c test_transport.c Log Message: Fix all GCC13 -Wconversion/-Wpedantic warnings for clean -Werror builds Add explicit narrowing casts throughout sntrup761.c (popcount helpers, XOR-swap loops, field element arithmetic), libcrux_mlkem768_sha3.h (Barrett reduction), ssh-arch.c and test helpers (serialize shifts). Fix missing openssl/rsa.h include for EVP_PKEY_CTX_set_rsa_padding declaration. Replace ISO C-forbidden object-to-function-pointer casts in tests with memcpy. Both GCC13 and Clang now build clean with -Werror -Wconversion; 4487/4487 tests pass on both compilers. Co-Authored-By: Claude Opus 4.6 (1M context)n --- mSynchronetn hgVertrauen n hHome of Synchronet n gh[vert/cvs/bbs].synchro.net ----------------------------------------------------------- [Voltar]