Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package leancrypto for openSUSE:Factory checked in at 2026-04-28 11:54:24 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/leancrypto (Old) and /work/SRC/openSUSE:Factory/.leancrypto.new.11940 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "leancrypto" Tue Apr 28 11:54:24 2026 rev:11 rq:1347328 version:1.7.2 Changes: -------- --- /work/SRC/openSUSE:Factory/leancrypto/leancrypto.changes 2026-04-16 17:25:24.571577550 +0200 +++ /work/SRC/openSUSE:Factory/.leancrypto.new.11940/leancrypto.changes 2026-04-28 11:55:05.698310553 +0200 @@ -1,0 +2,13 @@ +Thu Apr 16 05:13:36 UTC 2026 - Jiri Slaby <[email protected]> + +- Fix build on kernel 7.0 + * Add patch 0001-Linux-kernel-leancrypto_kernel_rng_tester-include-li.patch + +------------------------------------------------------------------- +Tue Apr 14 10:11:03 UTC 2026 - Richard Biener <[email protected]> + +- Pick fix for ABI issue in AVX2 assembly for Curve448 causing + test failures when building with GCC 16. + * Add patch leancrypto-ABI-fix.patch + +------------------------------------------------------------------- New: ---- 0001-Linux-kernel-leancrypto_kernel_rng_tester-include-li.patch leancrypto-ABI-fix.patch ----------(New B)---------- New:- Fix build on kernel 7.0 * Add patch 0001-Linux-kernel-leancrypto_kernel_rng_tester-include-li.patch New: test failures when building with GCC 16. * Add patch leancrypto-ABI-fix.patch ----------(New E)---------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ leancrypto.spec ++++++ --- /var/tmp/diff_new_pack.ShxIxT/_old 2026-04-28 11:55:06.534345075 +0200 +++ /var/tmp/diff_new_pack.ShxIxT/_new 2026-04-28 11:55:06.538345240 +0200 @@ -42,6 +42,8 @@ Source1: https://www.leancrypto.org/%{pkgname}/releases/%{pkgname}-%{version}/%{pkgname}-%{version}.tar.xz.asc Source2: https://leancrypto.org/about/smuellerDD-2024.asc#/leancrypto.keyring Source3: baselibs.conf +Patch0: leancrypto-ABI-fix.patch +Patch1: 0001-Linux-kernel-leancrypto_kernel_rng_tester-include-li.patch BuildRequires: clang BuildRequires: meson ++++++ 0001-Linux-kernel-leancrypto_kernel_rng_tester-include-li.patch ++++++ From: Jiri Slaby <[email protected]> Date: Thu, 16 Apr 2026 07:07:30 +0200 Subject: Linux kernel: leancrypto_kernel_rng_tester: include linux/hex.h MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit References: build-fix Patch-mainline: submitted https://github.com/smuellerDD/leancrypto/pull/59 Since commit 24c776355f40 ("kernel.h: drop hex.h and update all hex.h users"), hex.h is not included from kernel.h. It needs to be included in each file using the functions. That is the case in leancrypto_kernel_rng_tester: ../drng/tests/leancrypto_kernel_rng_tester.c: In function ‘lc_seeded_rng_test’: ../drng/tests/leancrypto_kernel_rng_tester.c:43:9: error: implicit declaration of function ‘bin2hex’ [-Wimplicit-function-declaration] 43 | bin2hex(hex, outbuf, sizeof(outbuf)); | ^~~~~~~ Signed-off-by: Jiri Slaby <[email protected]> --- drng/tests/leancrypto_kernel_rng_tester.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drng/tests/leancrypto_kernel_rng_tester.c b/drng/tests/leancrypto_kernel_rng_tester.c index 358e982e6975..a4e2028f9c3c 100644 --- a/drng/tests/leancrypto_kernel_rng_tester.c +++ b/drng/tests/leancrypto_kernel_rng_tester.c @@ -20,6 +20,7 @@ #include <crypto/rng.h> #include <linux/err.h> +#include <linux/hex.h> #include <linux/module.h> static int lc_seeded_rng_test(void) -- 2.53.0 ++++++ leancrypto-ABI-fix.patch ++++++ >From 489ce1a1d913e09a7f1107f61c4f969f866551ee Mon Sep 17 00:00:00 2001 From: Stephan Mueller <[email protected]> Date: Tue, 14 Apr 2026 11:57:46 +0200 Subject: [PATCH] Curve448 AVX2: fix ABI issue A uint8_t has to be copied into a register with movzbl as the upper 32 bits of a 64 bit movq instruction are undefined. Reported-bu: rguenth Signed-off-by: Stephan Mueller <[email protected]> --- curve448/src/avx2/gf_p4482241_nsqr.S | 2 +- curve448/src/avx2/gf_p4482241_nsqrx.S | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/curve448/src/avx2/gf_p4482241_nsqr.S b/curve448/src/avx2/gf_p4482241_nsqr.S index 3d54fa7a..d8907515 100644 --- a/curve448/src/avx2/gf_p4482241_nsqr.S +++ b/curve448/src/avx2/gf_p4482241_nsqr.S @@ -93,7 +93,7 @@ movq %r13, 40(%rdi) movq %r14, 48(%rdi) movq %r15, 56(%rdi) -movq %rdx, %rcx +movzbl %dl, %ecx .START: diff --git a/curve448/src/avx2/gf_p4482241_nsqrx.S b/curve448/src/avx2/gf_p4482241_nsqrx.S index 0fee5d6a..04e62cd9 100644 --- a/curve448/src/avx2/gf_p4482241_nsqrx.S +++ b/curve448/src/avx2/gf_p4482241_nsqrx.S @@ -91,7 +91,7 @@ movq %r12, 32(%rdi) movq %r13, 40(%rdi) movq %r14, 48(%rdi) -movq %rdx, %rbx +movzbl %dl, %ebx .START_nsqrx: -- 2.51.0
