Page MenuHome GnuPG

libgcryptProject
ActivePublic

Recent Activity

Fri, Aug 15

gniibe changed the status of T7775: libgcrypt-1.11.2/mpi/mpi-add.c does not compile on PPC Mac OS X 10.5.8, Leopard, because of redefinition of typedefs from Open to Testing.
Fri, Aug 15, 8:45 AM · ppc, MacOS, libgcrypt

Tue, Aug 12

gniibe claimed T7775: libgcrypt-1.11.2/mpi/mpi-add.c does not compile on PPC Mac OS X 10.5.8, Leopard, because of redefinition of typedefs.
Tue, Aug 12, 9:24 AM · ppc, MacOS, libgcrypt

Mon, Aug 11

werner triaged T7775: libgcrypt-1.11.2/mpi/mpi-add.c does not compile on PPC Mac OS X 10.5.8, Leopard, because of redefinition of typedefs as Normal priority.
Mon, Aug 11, 4:38 PM · ppc, MacOS, libgcrypt
gniibe closed T7617: libgcrypt: Add __nonstring__ attribute for data for GCC 15 or later as Resolved.

It's in master (to be 1.12), then, it's backported to 1.11.2, which is confirmed build well.
So, closing.

Mon, Aug 11, 6:35 AM · libgcrypt, Bug Report

Sun, Aug 10

werner closed T7721: libgcrypt build-error with gcc-15 on powerpc and alpha as Resolved.

Thanks for testing.

Sun, Aug 10, 1:59 PM · libgcrypt, Bug Report

Sat, Aug 9

ametzler1 added a comment to T7721: libgcrypt build-error with gcc-15 on powerpc and alpha.

Hello,
thank you all. I can confirm that 1.11.2 builds successfully on ppc64el with gcc-15 (Debian sid + experimental). Lacking access I have not be able to check alpha. I would suggest closing this report as fixed.
cu Andreas

Sat, Aug 9, 10:51 AM · libgcrypt, Bug Report

Tue, Aug 5

gniibe changed the status of T7721: libgcrypt build-error with gcc-15 on powerpc and alpha from Open to Testing.
Tue, Aug 5, 7:57 AM · libgcrypt, Bug Report

Mon, Aug 4

werner updated the task description for T7642: Release Libgcrypt 1.11.2.
Mon, Aug 4, 2:38 PM · Release Info, libgcrypt
werner closed T7166: Release Libgcrypt 1.11.1 as Resolved.

1.11.2 has been release see T7642

Mon, Aug 4, 2:37 PM · Release Info, libgcrypt
werner closed T7634: libgcrypt's test t-thread-local fails to link on some platforms. as Resolved.
Mon, Aug 4, 2:36 PM · NetBSD, libgcrypt, Bug Report
werner closed T7642: Release Libgcrypt 1.11.2 as Resolved.

Release done.

Mon, Aug 4, 2:35 PM · Release Info, libgcrypt
werner updated the task description for T7642: Release Libgcrypt 1.11.2.
Mon, Aug 4, 2:35 PM · Release Info, libgcrypt

Thu, Jul 31

gniibe added a comment to T7642: Release Libgcrypt 1.11.2.

I wonder about GCC 15 preparation for the release. If it's good to have, three patches are needed to apply:

Thu, Jul 31, 10:08 AM · Release Info, libgcrypt

Wed, Jul 30

jukivili added a comment to T7721: libgcrypt build-error with gcc-15 on powerpc and alpha.

Ok, thanks. I pushed the powerpc patches to master.

Wed, Jul 30, 10:00 PM · libgcrypt, Bug Report
gniibe added a comment to T7721: libgcrypt build-error with gcc-15 on powerpc and alpha.

I pushed the longlong patch: rCb61a7661d017: mpi: Provide the function prototype of __udiv_qrnnd.

Wed, Jul 30, 8:58 AM · libgcrypt, Bug Report

Jul 23 2025

gniibe added a comment to T7721: libgcrypt build-error with gcc-15 on powerpc and alpha.

IIUC, it's actually binutils version dependency (instead of GCC 15), perhaps.

Jul 23 2025, 7:18 AM · libgcrypt, Bug Report

Jul 21 2025

jukivili added a comment to T7721: libgcrypt build-error with gcc-15 on powerpc and alpha.

I tested Ubuntu's version of GCC-15 (powerpc64le cross-compiler) and did not see this build failure:

Jul 21 2025, 11:04 AM · libgcrypt, Bug Report

Jul 18 2025

ametzler1 added a comment to T7721: libgcrypt build-error with gcc-15 on powerpc and alpha.

For PowerISA 3.00 Instructions issue, following patch may help:

diff --git a/configure.ac b/configure.ac
index 6cc1e189..70d632af 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2448,10 +2448,11 @@ AC_CACHE_CHECK([whether GCC inline assembler supports PowerISA 3.00 instructions
         else
           gcry_cv_gcc_inline_asm_ppc_arch_3_00=no
           AC_LINK_IFELSE([AC_LANG_PROGRAM(
-          [[__asm__(".text\n\t"
+          [[__asm__(".machine        \"any\"\n"
+                    ".text\n\t"
                     ".globl testfn;\n"
                     "testfn:\n"
-                    "stxvb16x %r1,%v12,%v30;\n"
+                    "stxvb16x 47,0,9;\n"
                   );
             void testfn(void);
             ]], [ testfn(); ])],

I figured out that .machine "any" is needed with GCC 15.

Jul 18 2025, 12:08 PM · libgcrypt, Bug Report
gniibe added a comment to T7642: Release Libgcrypt 1.11.2.

I wonder about GCC 15 preparation for the release. If it's good to have, three patches are needed to apply:

Jul 18 2025, 6:55 AM · Release Info, libgcrypt
gniibe added a comment to T7721: libgcrypt build-error with gcc-15 on powerpc and alpha.

I figured out that .machine "any" is needed with GCC 15.

Jul 18 2025, 4:51 AM · libgcrypt, Bug Report
gniibe added a comment to T7721: libgcrypt build-error with gcc-15 on powerpc and alpha.

For Alpha (hppa, and sparc), IIUC, following patch may help:

Jul 18 2025, 4:33 AM · libgcrypt, Bug Report
gniibe claimed T7721: libgcrypt build-error with gcc-15 on powerpc and alpha.

For PowerISA 3.00 Instructions issue, following patch may help:

Jul 18 2025, 4:31 AM · libgcrypt, Bug Report

Jul 17 2025

gniibe closed T7623: gpgscm: Fix fixed-size characters (for portability, specifically for GCC 15 or later), a subtask of T7617: libgcrypt: Add __nonstring__ attribute for data for GCC 15 or later, as Resolved.
Jul 17 2025, 4:25 AM · libgcrypt, Bug Report

Jul 15 2025

ametzler1 added a comment to T7721: libgcrypt build-error with gcc-15 on powerpc and alpha.

The powerpc64le issue (undefined reference to `gcry_poly1305_p10le_4blocks') also applies to GIT master.

Jul 15 2025, 1:35 PM · libgcrypt, Bug Report
gniibe closed T7340: Introduced a context with thread local storage, a subtask of T7338: Revamp the FIPS service indicator, as Resolved.
Jul 15 2025, 7:27 AM · libgcrypt, FIPS, Feature Request
gniibe closed T7340: Introduced a context with thread local storage as Resolved.
Jul 15 2025, 7:27 AM · libgcrypt, FIPS, Feature Request

Jul 14 2025

werner renamed T7721: libgcrypt build-error with gcc-15 on powerpc and alpha from libgcrypt build-error with gcc-15 to libgcrypt build-error with gcc-15 on powerpc and alpha.
Jul 14 2025, 4:54 PM · libgcrypt, Bug Report
ametzler1 added a comment to T7721: libgcrypt build-error with gcc-15 on powerpc and alpha.

Sure that this is about 1.11.0 ? We released 1.11.1 with at least one fix for gcc regression (T7166). In master we had some more fixes for gcc 15 bugs (or what ever you will call such regression in a compiler)

Jul 14 2025, 3:23 PM · libgcrypt, Bug Report
werner added a project to T7721: libgcrypt build-error with gcc-15 on powerpc and alpha: libgcrypt.
Jul 14 2025, 2:44 PM · libgcrypt, Bug Report

Jun 17 2025

gniibe closed T7170: Building libgcrypt-1.11.0 produces a dylib with unresolved symbols at runtime as Resolved.

Done in 1.11.1.

Jun 17 2025, 2:30 AM · MacOS, libgcrypt, Bug Report
gniibe closed T7170: Building libgcrypt-1.11.0 produces a dylib with unresolved symbols at runtime, a subtask of T7165: Release Libgcrypt 1.11.0, as Resolved.
Jun 17 2025, 2:30 AM · Release Info, libgcrypt
gniibe closed T7184: Libgcrypt v1.11.0 make fails at cipher/blake2.c:834:6 (has no member named 'use_avx512') as Resolved.

Done in 1.11.1.

Jun 17 2025, 2:29 AM · libgcrypt, Bug Report
gniibe closed T7277: libgcrypt: Adding Known Answer Tests for KEM as Resolved.

Done in 1.11.1.

Jun 17 2025, 2:28 AM · PQC, libgcrypt

Jun 13 2025

gniibe added a comment to T7640: ML-DSA for libgcrypt.

Reading https://openssl-library.org/files/blog/Request_to_Extend_IETF_WGLC_for_PQ_Key_Specifications.pdf ,
seed (with "S") is included in the private-key.

Jun 13 2025, 3:40 AM · PQC, libgcrypt
gniibe added a comment to T7640: ML-DSA for libgcrypt.

The commit rC23543b6c1497: Add mldsa_compute_keygrip and let private-key include "p". works well for me.

Jun 13 2025, 2:51 AM · PQC, libgcrypt
gniibe added a comment to T7640: ML-DSA for libgcrypt.

To support Dilithium, we need to extend data handling of libgcrypt.
I propose following changes:

  • internal flag of PUBKEY_FLAG_BYTE_STRING to ask opaque MPI for data to be signed/verified.
  • The format of data as: (data(raw)[(flags no-prefix)](value ...)[(label ...)][(random-override ...)]): message, context, and random. Optional no-prefix flag to ask specific way of signing, controlling the internal, for Known Answer Tests (siggen).
Jun 13 2025, 2:50 AM · PQC, libgcrypt

May 27 2025

werner added a comment to T7166: Release Libgcrypt 1.11.1.

If you are experience problems with the test suite on NetBSD, please see T7634

May 27 2025, 4:07 PM · Release Info, libgcrypt

May 19 2025

werner closed T7647: cipher/simd-common-riscv.h missing from libgcrypt 1.11.1 tarball as Resolved.

Problem noted in T7166

May 19 2025, 12:16 PM · riscv, libgcrypt, Bug Report
werner added a comment to T7166: Release Libgcrypt 1.11.1.

Noet that one file is missing in the released tarball; when building for RISC-V please see T7647#201164

May 19 2025, 12:15 PM · Release Info, libgcrypt
werner added a comment to T7647: cipher/simd-common-riscv.h missing from libgcrypt 1.11.1 tarball.

Patch applied.

May 19 2025, 12:12 PM · riscv, libgcrypt, Bug Report
gniibe added a comment to T7640: ML-DSA for libgcrypt.

Looking the FIPS 204 document, using the following functions (API) is good:

May 19 2025, 7:47 AM · PQC, libgcrypt

May 17 2025

collinfunk added a comment to T7647: cipher/simd-common-riscv.h missing from libgcrypt 1.11.1 tarball.

I can confirm this. Here is the build error:

make[2]: Entering directory '/home/collinfunk/libgcrypt-1.11.1/cipher'
`echo /bin/bash ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..  -I../src -I../src -I../mpi -I../mpi  -I/home/collinfunk/tmp/include -g -O2 -fvisibility=hidden -fno-delete-null-pointer-checks -Wall -O2 -march=rv64imafdcv -mstrict-align -c rijndael-vp-riscv.c | sed -e 's/-fsanitize[=,\-][=,a-z,A-Z,0-9,\,,\-]*//g' -e 's/-fprofile[=,\-][=,a-z,A-Z,0-9,\,,\-]*//g' -e 's/-fcoverage[=,\-][=,a-z,A-Z,0-9,\,,\-]*//g' `
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I../src -I../src -I../mpi -I../mpi -I/home/collinfunk/tmp/include -g -O2 -fvisibility=hidden -fno-delete-null-pointer-checks -Wall -O2 -march=rv64imafdcv -mstrict-align -c rijndael-vp-riscv.c  -fPIC -DPIC -o .libs/rijndael-vp-riscv.o
rijndael-vp-riscv.c:58:10: fatal error: simd-common-riscv.h: No such file or directory
   58 | #include "simd-common-riscv.h"
      |          ^~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [Makefile:1730: rijndael-vp-riscv.lo] Error 1

Patch here: https://lists.gnupg.org/pipermail/gcrypt-devel/2025-May/005854.html

May 17 2025, 6:13 AM · riscv, libgcrypt, Bug Report

May 15 2025

werner added a comment to T7634: libgcrypt's test t-thread-local fails to link on some platforms..

Also pushed to 1.11

May 15 2025, 9:48 PM · NetBSD, libgcrypt, Bug Report
gniibe closed T7621: libgpg-error: __non_string for GCC 15 or later, a subtask of T7617: libgcrypt: Add __nonstring__ attribute for data for GCC 15 or later, as Resolved.
May 15 2025, 1:51 AM · libgcrypt, Bug Report

May 13 2025

gniibe closed T7486: libgcrypt: Remove WindowsCE support as Resolved.
May 13 2025, 3:05 AM · libgcrypt

May 11 2025

gniibe closed T7490: libgcrypt: constant-time modular exponentiation, a subtask of T3264: Possible RSA improvement, as Resolved.
May 11 2025, 3:25 AM · libgcrypt
gniibe closed T7490: libgcrypt: constant-time modular exponentiation as Resolved.

It's in 1.11.1.

May 11 2025, 3:25 AM · libgcrypt
gniibe closed T7338: Revamp the FIPS service indicator as Resolved.

Included in 1.11.1.

May 11 2025, 3:24 AM · libgcrypt, FIPS, Feature Request

May 9 2025

werner added a project to T7647: cipher/simd-common-riscv.h missing from libgcrypt 1.11.1 tarball: riscv.
May 9 2025, 9:21 AM · riscv, libgcrypt, Bug Report
werner added a comment to T7647: cipher/simd-common-riscv.h missing from libgcrypt 1.11.1 tarball.

That is quite possible because we do not have a test system for RISC-V and the make release tarbegt is not abale to verify this.

May 9 2025, 9:21 AM · riscv, libgcrypt, Bug Report