From: djm@openbsd.org Date: Thu, 13 Nov 2025 05:13:06 +0000 (+0000) Subject: upstream: sync support for systems that lack __builtin_popcount() from X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6aba7008e6451ae3f9298214b13b8eded5fd9ff0;p=thirdparty%2Fopenssh-portable.git upstream: sync support for systems that lack __builtin_popcount() from portable unused on OpenBSD (nothing sets MISSING_BUILTIN_POPCOUNT), but it makes syncing much easier. OpenBSD-Commit-ID: 496446300d82615b24f83eca886b8fabdbee445b --- diff --git a/libcrux_mlkem768_sha3.h b/libcrux_mlkem768_sha3.h index a0e79a2a7..1e3dc4574 100644 --- a/libcrux_mlkem768_sha3.h +++ b/libcrux_mlkem768_sha3.h @@ -1,4 +1,4 @@ -/* $OpenBSD$ */ +/* $OpenBSD: libcrux_mlkem768_sha3.h,v 1.4 2025/11/13 05:13:06 djm Exp $ */ /* Extracted from libcrux revision 026a87ab6d88ad3626b9fbbf3710d1e0483c1849 */ @@ -95,6 +95,7 @@ __builtin_popcount(unsigned int num) return v[num & 0xf] + v[(num >> 4) & 0xf]; } #endif + /* from libcrux/libcrux-ml-kem/extracts/c_header_only/generated/eurydice_glue.h */ #pragma once diff --git a/mlkem768.sh b/mlkem768.sh index 5e39e84a9..bec372a5f 100644 --- a/mlkem768.sh +++ b/mlkem768.sh @@ -1,5 +1,5 @@ #!/bin/sh -# $OpenBSD: mlkem768.sh,v 1.4 2025/11/13 04:56:23 djm Exp $ +# $OpenBSD: mlkem768.sh,v 1.5 2025/11/13 05:13:06 djm Exp $ # Placed in the Public Domain. # @@ -113,6 +113,7 @@ __builtin_popcount(unsigned int num) return v[num & 0xf] + v[(num >> 4) & 0xf]; } #endif + _EOF for i in $FILES; do