FYI: fix for big-endian systems pushed to V_9_9 branch

Tom G. Christensen tgc at jupiterrise.com
Wed Oct 30 07:34:26 AEDT 2024


On 27/10/2024 05:45, Damien Miller wrote:
> If you distribute OpenSSH to big-endian systems and have packaged
> OpenSSH 9.9 already, then I recommend you include these fixes as the
> next release of OpenSSH will make this key exchange algorithm the
> default.
> 

I tried to update my Solaris builds but ran into a build error.

In file included from kexmlkem768x25519.c:50:
libcrux_mlkem768_sha3.h: In function 'core_num__u64_9__to_le_bytes':
libcrux_mlkem768_sha3.h:164: error: '__uint64_t' undeclared (first use 
in this function)
libcrux_mlkem768_sha3.h:164: error: (Each undeclared identifier is 
reported only once
libcrux_mlkem768_sha3.h:164: error: for each function it appears in.)
libcrux_mlkem768_sha3.h: In function 'core_num__u64_9__from_le_bytes':
libcrux_mlkem768_sha3.h:170: error: '__uint64_t' undeclared (first use 
in this function)
gmake: *** [kexmlkem768x25519.o] Error 1

AFAICT __uint64_t is not available on at least Solaris 10 and older.

-tgc


More information about the openssh-unix-dev mailing list