Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package libgcrypt for openSUSE:Factory 
checked in at 2026-09-15 12:47:38
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libgcrypt (Old)
 and      /work/SRC/openSUSE:Factory/.libgcrypt.new.383539 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "libgcrypt"

Tue Sep 15 12:47:38 2026 rev:115 rq:1377838 version:1.12.4

Changes:
--------
--- /work/SRC/openSUSE:Factory/libgcrypt/libgcrypt.changes      2026-09-04 
12:38:27.742479741 +0200
+++ /work/SRC/openSUSE:Factory/.libgcrypt.new.383539/libgcrypt.changes  
2026-09-15 12:47:41.345104733 +0200
@@ -1,0 +2,12 @@
+Fri Sep 11 14:47:11 UTC 2026 - Andreas Stieger <[email protected]>
+
+- Update to 1.23.4:
+  * Fix build problem with some compiler versions related to SM4
+    instructions
+  * Fix padding in cSHAKE found by NIST ACVP conformance vectors
+  * Fix RSA PSS handling of huge salt lengths
+  * Validate the length of hashed input for RSA PSS
+  * Improve RSA OAEP decoder correctnes by validating an all-zero
+    padding
+
+-------------------------------------------------------------------

Old:
----
  libgcrypt-1.12.3.tar.bz2
  libgcrypt-1.12.3.tar.bz2.sig

New:
----
  libgcrypt-1.12.4.tar.bz2
  libgcrypt-1.12.4.tar.bz2.sig

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ libgcrypt.spec ++++++
--- /var/tmp/diff_new_pack.5UWfqG/_old  2026-09-15 12:47:42.620157844 +0200
+++ /var/tmp/diff_new_pack.5UWfqG/_new  2026-09-15 12:47:42.622157927 +0200
@@ -21,7 +21,7 @@
 %define libsoname %{name}%{libsover}
 %define hmac_key orboDeJITITejsirpADONivirpUkvarP
 Name:           libgcrypt
-Version:        1.12.3
+Version:        1.12.4
 Release:        0
 Summary:        The GNU Crypto Library
 License:        GPL-2.0-or-later AND LGPL-2.1-or-later AND GPL-3.0-or-later

++++++ libgcrypt-1.12.3.tar.bz2 -> libgcrypt-1.12.4.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libgcrypt-1.12.3/ChangeLog 
new/libgcrypt-1.12.4/ChangeLog
--- old/libgcrypt-1.12.3/ChangeLog      2026-08-26 10:23:36.000000000 +0200
+++ new/libgcrypt-1.12.4/ChangeLog      2026-09-11 13:20:24.000000000 +0200
@@ -1,3 +1,44 @@
+2026-09-11  Werner Koch  <[email protected]>
+
+       Release 1.12.4.
+       + commit 9a53b01742be48c50c3f4340b8e839010bc55d92
+
+
+2026-09-11  NIIBE Yutaka  <[email protected]>
+
+       cipher:keccak: Fix padding in cSHAKE.
+       + commit f54ce47180e23850fa1ff3f76cd3d880fb99808a
+       * cipher/keccak.c (cshake_input_s): Fix PADLEN calculation.
+
+2026-09-02  Jussi Kivilinna  <[email protected]>
+
+       sm4: add separate configure check for AVX512 SM4 instructions.
+       + commit f0bc379e0f3585908707095db5d3c505e664726f
+       * cipher/sm4-intel-avx512-amd64.S: Check for
+       HAVE_GCC_INLINE_ASM_SM4_AVX512 instead of HAVE_GCC_INLINE_ASM_SM4.
+       * cipher/sm4.c (USE_INTEL_SM4_AVX512): Require USE_INTEL_SM4_AVX2 and
+       HAVE_GCC_INLINE_ASM_SM4_AVX512.
+       * configure.ac (gcry_cv_gcc_inline_asm_sm4_avx512)
+       (HAVE_GCC_INLINE_ASM_SM4_AVX512): New.
+
+2026-08-28  NIIBE Yutaka  <[email protected]>
+
+       cipher:rsa:pss: Fix SALT-LENGTH handling.
+       + commit 3ed69d3fb85bac0901dc5b4899d7983cf1f7bbe7
+       * cipher/pubkey-util.c (_gcry_pk_util_data_to_mpi): For
+       PUBKEY_OP_SIGN, just like for PUBKEY_OP_VERIFY, reject larger
+       SALT-LENGTH as the comment says.  Fix releasing LIST on error.
+
+2026-08-27  NIIBE Yutaka  <[email protected]>
+
+       cipher:rsa:pss: Validate the length of hashed input.
+       + commit 612eb8c157c057feeaf17d30644fd65b05c5ea25
+       * cipher/rsa-common.c (_gcry_rsa_pss_verify): Reject invalid input.
+
+       cipher:rsa:oaep: Validate all-zero PS.
+       + commit cf55ce42d0268f9cfd7abc43aa4ec62d2e8c3f53
+       * cipher/rsa-common.c (_gcry_rsa_oaep_decode): Reject non-zero PS.
+
 2026-08-26  Werner Koch  <[email protected]>
 
        Release 1.12.3.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libgcrypt-1.12.3/NEWS new/libgcrypt-1.12.4/NEWS
--- old/libgcrypt-1.12.3/NEWS   2026-08-26 10:18:31.000000000 +0200
+++ new/libgcrypt-1.12.4/NEWS   2026-09-11 13:16:45.000000000 +0200
@@ -1,4 +1,26 @@
-Noteworthy changes in version 1.12.3 (2026-08-26)  [C28/A8/R0]
+Noteworthy changes in version 1.12.4 (2026-09-11)  [C28/A8/R9]
+-------------------------------------------------
+
+ * Bug fixes:
+
+   * Fix build problem with some compiler versions related to SM4
+     instructions.  [rCf0bc379e0f]
+
+   * Fix padding in cSHAKE found by NIST ACVP conformance vectors.
+     [rCf54ce47180]
+
+   * Fix RSA PSS handling of huge salt lengths.  [T8377]
+
+   * Validate the length of hashed input for RSA PSS.  [T8391]
+
+   * Improve RSA OAEP decoder correctnes by validating an all-zero
+     padding.  [T8390]
+
+
+ Release-info: https://dev.gnupg.org/T8417
+
+
+Noteworthy changes in version 1.12.3 (2026-08-26)  [C28/A8/R8]
 -------------------------------------------------
 
  * Bug fixes:
@@ -24,7 +46,7 @@
    - Assert 32 KiB input cap in gcm_ctr_encrypt.  [T8387]
 
    - Fix assertion failure in OCB when a buffered block becomes block
-     65536.  [TT8389]
+     65536.  [T8389]
 
    - Fix OOB read in IMIT MAC verify of GOST28147.  [T8388]
 
@@ -81,7 +103,7 @@
 
    - Add curve "ietf25" as alternative to "Curve25519" with exact
      RFC-8410 semantics.  The name "X25519" was already used as an
-     alias, thus this new name.
+     alias, thus this new name.  [rC997217e600]
 
    - Add straight-line speculation hardening for function ends.
      [rC9b684f4a44]
@@ -91,7 +113,8 @@
    - Add post-quantum algorithm benchmarking to bench-slope.
 
    - Due to the minor API updates and but with no newer branch
-     released the SO name has been updated.
+     released the SO name has been updated.  Update: Due to a
+     typo the revision part of the LD number is 8 and not 0.
 
  Release-info: https://dev.gnupg.org/T8223
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libgcrypt-1.12.3/VERSION new/libgcrypt-1.12.4/VERSION
--- old/libgcrypt-1.12.3/VERSION        2026-08-26 10:23:24.000000000 +0200
+++ new/libgcrypt-1.12.4/VERSION        2026-09-11 13:20:12.000000000 +0200
@@ -1,2 +1,2 @@
-1.12.3
-6468840ef7b29244e9fa540ec3c0d3f2fd85a763
+1.12.4
+9a53b01742be48c50c3f4340b8e839010bc55d92
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libgcrypt-1.12.3/cipher/keccak.c 
new/libgcrypt-1.12.4/cipher/keccak.c
--- old/libgcrypt-1.12.3/cipher/keccak.c        2025-05-08 08:47:34.000000000 
+0200
+++ new/libgcrypt-1.12.4/cipher/keccak.c        2026-09-11 12:59:02.000000000 
+0200
@@ -1694,7 +1694,8 @@
   keccak_write (ctx, s, s_len);
 
   len_written += buf[0] + 1 + s_len;
-  padlen = ctx->blocksize - (len_written % ctx->blocksize);
+  padlen = ctx->blocksize - 1
+    - (len_written + ctx->blocksize - 1) % ctx->blocksize;
   memset (buf, 0, padlen);
   keccak_write (ctx, buf, padlen);
 }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libgcrypt-1.12.3/cipher/pubkey-util.c 
new/libgcrypt-1.12.4/cipher/pubkey-util.c
--- old/libgcrypt-1.12.3/cipher/pubkey-util.c   2025-09-23 15:14:22.000000000 
+0200
+++ new/libgcrypt-1.12.4/cipher/pubkey-util.c   2026-09-11 12:59:02.000000000 
+0200
@@ -1305,10 +1305,15 @@
           if (!s)
             {
               rc = GPG_ERR_NO_OBJ;
+              sexp_release (list);
               goto leave;
             }
           ctx->saltlen = (unsigned int)strtoul (s, NULL, 10);
+          if (ctx->saltlen > 16384)
+            rc = GPG_ERR_TOO_LARGE;
           sexp_release (list);
+          if (rc)
+            goto leave;
         }
 
       /* Get optional RANDOM-OVERRIDE.  */
@@ -1416,6 +1421,7 @@
           if (!s)
             {
               rc = GPG_ERR_NO_OBJ;
+              sexp_release (list);
               goto leave;
             }
           ctx->saltlen = (unsigned int)strtoul (s, NULL, 10);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libgcrypt-1.12.3/cipher/rsa-common.c 
new/libgcrypt-1.12.4/cipher/rsa-common.c
--- old/libgcrypt-1.12.3/cipher/rsa-common.c    2026-08-26 10:18:15.000000000 
+0200
+++ new/libgcrypt-1.12.4/cipher/rsa-common.c    2026-09-11 12:59:02.000000000 
+0200
@@ -755,6 +755,7 @@
     {
       not_found &= ct_not_equal_byte (db[n], 0x01);
       n1 += not_found;
+      failed |= (not_found & ct_not_equal_byte (db[n], 0x00));
     }
   failed |= not_found;
   failed |= ct_not_equal_byte (frame[0], 0x00);
@@ -1093,7 +1094,15 @@
       _gcry_md_reset (hd);
     }
   else
-    memcpy (mhash, p, hlen);
+    {
+      if ((input_nbits+7)/8 != hlen)
+        {
+          rc = GPG_ERR_INV_ARG;
+          goto leave;
+        }
+
+      memcpy (mhash, p, hlen);
+    }
 
   /* Convert the signature into an octet string.  */
   rc = octet_string_from_mpi (&em, NULL, encoded, emlen);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libgcrypt-1.12.3/cipher/sm4-intel-avx512-amd64.S 
new/libgcrypt-1.12.4/cipher/sm4-intel-avx512-amd64.S
--- old/libgcrypt-1.12.3/cipher/sm4-intel-avx512-amd64.S        2026-08-25 
17:05:21.000000000 +0200
+++ new/libgcrypt-1.12.4/cipher/sm4-intel-avx512-amd64.S        2026-09-11 
12:59:02.000000000 +0200
@@ -23,7 +23,7 @@
 #ifdef __x86_64
 #if (defined(HAVE_COMPATIBLE_GCC_AMD64_PLATFORM_AS) || \
      defined(HAVE_COMPATIBLE_GCC_WIN64_PLATFORM_AS)) && \
-    defined(ENABLE_AVX512_SUPPORT) && defined(HAVE_GCC_INLINE_ASM_SM4)
+    defined(ENABLE_AVX512_SUPPORT) && defined(HAVE_GCC_INLINE_ASM_SM4_AVX512)
 
 #include "asm-common-amd64.h"
 
@@ -164,5 +164,5 @@
 #define SM4_CRYPT_BLK32 __sm4_intel_crypt_blk32
 #include "sm4-avx512-amd64.h"
 
-#endif /*defined(ENABLE_AVX512_SUPPORT) && defined(HAVE_GCC_INLINE_ASM_SM4)*/
+#endif /*ENABLE_AVX512_SUPPORT && HAVE_GCC_INLINE_ASM_SM4_AVX512*/
 #endif /*__x86_64*/
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libgcrypt-1.12.3/cipher/sm4.c 
new/libgcrypt-1.12.4/cipher/sm4.c
--- old/libgcrypt-1.12.3/cipher/sm4.c   2026-08-25 17:05:21.000000000 +0200
+++ new/libgcrypt-1.12.4/cipher/sm4.c   2026-09-11 12:59:02.000000000 +0200
@@ -87,11 +87,9 @@
 /* USE_INTEL_SM4_AVX512 indicates whether to compile with Intel SM4
  * instructions (VSM4RNDS4) based AVX512 code. */
 #undef USE_INTEL_SM4_AVX512
-#if defined(ENABLE_AVX512_SUPPORT) && defined(HAVE_GCC_INLINE_ASM_SM4)
-# if defined(__x86_64__) && (defined(HAVE_COMPATIBLE_GCC_AMD64_PLATFORM_AS) || 
\
-     defined(HAVE_COMPATIBLE_GCC_WIN64_PLATFORM_AS))
-#  define USE_INTEL_SM4_AVX512 1
-# endif
+#if defined(USE_INTEL_SM4_AVX2) && defined(ENABLE_AVX512_SUPPORT) && \
+    defined(HAVE_GCC_INLINE_ASM_SM4_AVX512)
+# define USE_INTEL_SM4_AVX512 1
 #endif
 
 /* Assembly implementations use SystemV ABI, ABI conversion and additional
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libgcrypt-1.12.3/config.h.in 
new/libgcrypt-1.12.4/config.h.in
--- old/libgcrypt-1.12.3/config.h.in    2026-08-26 10:23:34.000000000 +0200
+++ new/libgcrypt-1.12.4/config.h.in    2026-09-11 13:19:21.000000000 +0200
@@ -365,6 +365,9 @@
 /* Defined if inline assembler supports Intel SM4 instructions */
 #undef HAVE_GCC_INLINE_ASM_SM4
 
+/* Defined if inline assembler supports AVX512 Intel SM4 instructions */
+#undef HAVE_GCC_INLINE_ASM_SM4_AVX512
+
 /* Defined if inline assembler supports SSE4.1 instructions */
 #undef HAVE_GCC_INLINE_ASM_SSE41
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libgcrypt-1.12.3/configure 
new/libgcrypt-1.12.4/configure
--- old/libgcrypt-1.12.3/configure      2026-08-26 10:23:25.000000000 +0200
+++ new/libgcrypt-1.12.4/configure      2026-09-11 13:20:13.000000000 +0200
@@ -1,7 +1,7 @@
 #! /bin/sh
 # From configure.ac Revision.
 # Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.71 for libgcrypt 1.12.3.
+# Generated by GNU Autoconf 2.71 for libgcrypt 1.12.4.
 #
 # Report bugs to <https://bugs.gnupg.org>.
 #
@@ -622,8 +622,8 @@
 # Identity of this package.
 PACKAGE_NAME='libgcrypt'
 PACKAGE_TARNAME='libgcrypt'
-PACKAGE_VERSION='1.12.3'
-PACKAGE_STRING='libgcrypt 1.12.3'
+PACKAGE_VERSION='1.12.4'
+PACKAGE_STRING='libgcrypt 1.12.4'
 PACKAGE_BUGREPORT='https://bugs.gnupg.org'
 PACKAGE_URL=''
 
@@ -1530,7 +1530,7 @@
   # Omit some internal or obsolete options to make the list less imposing.
   # This message is too long to be a string in the A/UX 3.1 sh.
   cat <<_ACEOF
-\`configure' configures libgcrypt 1.12.3 to adapt to many kinds of systems.
+\`configure' configures libgcrypt 1.12.4 to adapt to many kinds of systems.
 
 Usage: $0 [OPTION]... [VAR=VALUE]...
 
@@ -1601,7 +1601,7 @@
 
 if test -n "$ac_init_help"; then
   case $ac_init_help in
-     short | recursive ) echo "Configuration of libgcrypt 1.12.3:";;
+     short | recursive ) echo "Configuration of libgcrypt 1.12.4:";;
    esac
   cat <<\_ACEOF
 
@@ -1790,7 +1790,7 @@
 test -n "$ac_init_help" && exit $ac_status
 if $ac_init_version; then
   cat <<\_ACEOF
-libgcrypt configure 1.12.3
+libgcrypt configure 1.12.4
 generated by GNU Autoconf 2.71
 
 Copyright (C) 2021 Free Software Foundation, Inc.
@@ -2335,7 +2335,7 @@
 This file contains any messages produced by compilers while
 running configure, to aid debugging if configure makes a mistake.
 
-It was created by libgcrypt $as_me 1.12.3, which was
+It was created by libgcrypt $as_me 1.12.4, which was
 generated by GNU Autoconf 2.71.  Invocation command line was
 
   $ $0$ac_configure_args_raw
@@ -3105,7 +3105,7 @@
 #   (No interfaces changed:                   REVISION++)
 LIBGCRYPT_LT_CURRENT=28
 LIBGCRYPT_LT_AGE=8
-LIBGCRYPT_LT_REVISION=8
+LIBGCRYPT_LT_REVISION=9
 ################################################
 
 
@@ -3638,7 +3638,7 @@
 
 # Define the identity of the package.
  PACKAGE='libgcrypt'
- VERSION='1.12.3'
+ VERSION='1.12.4'
 
 
 printf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h
@@ -6836,7 +6836,7 @@
 esac
 
 
-VERSION_NUMBER=0x010c03
+VERSION_NUMBER=0x010c04
 
 
 # We need to compile and run a program on the build machine.
@@ -19382,6 +19382,52 @@
 
 
 #
+# Check whether GCC inline assembler supports EVEX encoded Intel SM4
+# instructions.
+#
+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether GCC inline 
assembler supports AVX512 Intel SM4 instructions" >&5
+printf %s "checking whether GCC inline assembler supports AVX512 Intel SM4 
instructions... " >&6; }
+if test ${gcry_cv_gcc_inline_asm_sm4_avx512+y}
+then :
+  printf %s "(cached) " >&6
+else $as_nop
+  if test "$mpi_cpu_arch" != "x86" ||
+           test "$try_asm_modules" != "yes" ; then
+          gcry_cv_gcc_inline_asm_sm4_avx512="n/a"
+        else
+          gcry_cv_gcc_inline_asm_sm4_avx512=no
+          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+void a(void) {
+              __asm__("vsm4key4 %%zmm2, %%zmm1, %%zmm3\n\t":::"cc");
+              __asm__("vsm4rnds4 %%zmm2, %%zmm1, %%zmm3\n\t":::"cc");
+            }
+int
+main (void)
+{
+ a();
+  ;
+  return 0;
+}
+_ACEOF
+if ac_fn_c_try_link "$LINENO"
+then :
+  gcry_cv_gcc_inline_asm_sm4_avx512=yes
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.beam \
+    conftest$ac_exeext conftest.$ac_ext
+        fi
+fi
+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: 
$gcry_cv_gcc_inline_asm_sm4_avx512" >&5
+printf "%s\n" "$gcry_cv_gcc_inline_asm_sm4_avx512" >&6; }
+if test "$gcry_cv_gcc_inline_asm_sm4_avx512" = "yes" ; then
+
+printf "%s\n" "#define HAVE_GCC_INLINE_ASM_SM4_AVX512 1" >>confdefs.h
+
+fi
+
+
+#
 # Check whether GCC inline assembler supports SSE4.1 instructions.
 #
 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether GCC inline 
assembler supports SSE4.1 instructions" >&5
@@ -24437,18 +24483,18 @@
 #
 # Provide information about the build.
 #
-BUILD_REVISION="6468840e"
+BUILD_REVISION="9a53b017"
 
 
 printf "%s\n" "#define BUILD_REVISION \"$BUILD_REVISION\"" >>confdefs.h
 
-BUILD_COMMITID="6468840ef7b29244e9fa540ec3c0d3f2fd85a763"
+BUILD_COMMITID="9a53b01742be48c50c3f4340b8e839010bc55d92"
 
 printf "%s\n" "#define BUILD_COMMITID \"$BUILD_COMMITID\"" >>confdefs.h
 
 
 BUILD_VERSION=`echo "$PACKAGE_VERSION" | sed 's/\([0-9.]*\).*/\1./'`
-BUILD_VERSION="${BUILD_VERSION}25704"
+BUILD_VERSION="${BUILD_VERSION}39507"
 BUILD_FILEVERSION=`echo "${BUILD_VERSION}" | tr . ,`
 
 
@@ -25164,7 +25210,7 @@
 # report actual input values of CONFIG_FILES etc. instead of their
 # values after options handling.
 ac_log="
-This file was extended by libgcrypt $as_me 1.12.3, which was
+This file was extended by libgcrypt $as_me 1.12.4, which was
 generated by GNU Autoconf 2.71.  Invocation command line was
 
   CONFIG_FILES    = $CONFIG_FILES
@@ -25236,7 +25282,7 @@
 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 ac_cs_config='$ac_cs_config_escaped'
 ac_cs_version="\\
-libgcrypt config.status 1.12.3
+libgcrypt config.status 1.12.4
 configured by $0, generated by GNU Autoconf 2.71,
   with options \\"\$ac_cs_config\\"
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libgcrypt-1.12.3/configure.ac 
new/libgcrypt-1.12.4/configure.ac
--- old/libgcrypt-1.12.3/configure.ac   2026-08-26 10:18:15.000000000 +0200
+++ new/libgcrypt-1.12.4/configure.ac   2026-09-11 13:17:30.000000000 +0200
@@ -31,7 +31,7 @@
 m4_define([mym4_package],[libgcrypt])
 m4_define([mym4_major], [1])
 m4_define([mym4_minor], [12])
-m4_define([mym4_micro], [3])
+m4_define([mym4_micro], [4])
 
 # Below is m4 magic to extract and compute the git revision number,
 # the decimalized short revision number, a beta version string and a
@@ -59,7 +59,7 @@
 #   (No interfaces changed:                   REVISION++)
 LIBGCRYPT_LT_CURRENT=28
 LIBGCRYPT_LT_AGE=8
-LIBGCRYPT_LT_REVISION=8
+LIBGCRYPT_LT_REVISION=9
 ################################################
 
 AC_SUBST(LIBGCRYPT_LT_CURRENT)
@@ -1659,6 +1659,30 @@
 fi
 
 
+#
+# Check whether GCC inline assembler supports EVEX encoded Intel SM4
+# instructions.
+#
+AC_CACHE_CHECK([whether GCC inline assembler supports AVX512 Intel SM4 
instructions],
+       [gcry_cv_gcc_inline_asm_sm4_avx512],
+       [if test "$mpi_cpu_arch" != "x86" ||
+           test "$try_asm_modules" != "yes" ; then
+          gcry_cv_gcc_inline_asm_sm4_avx512="n/a"
+        else
+          gcry_cv_gcc_inline_asm_sm4_avx512=no
+          AC_LINK_IFELSE([AC_LANG_PROGRAM(
+          [[void a(void) {
+              __asm__("vsm4key4 %%zmm2, %%zmm1, %%zmm3\n\t":::"cc");
+              __asm__("vsm4rnds4 %%zmm2, %%zmm1, %%zmm3\n\t":::"cc");
+            }]], [ a(); ] )],
+          [gcry_cv_gcc_inline_asm_sm4_avx512=yes])
+        fi])
+if test "$gcry_cv_gcc_inline_asm_sm4_avx512" = "yes" ; then
+   AC_DEFINE(HAVE_GCC_INLINE_ASM_SM4_AVX512,1,
+     [Defined if inline assembler supports AVX512 Intel SM4 instructions])
+fi
+
+
 #
 # Check whether GCC inline assembler supports SSE4.1 instructions.
 #
Binary files old/libgcrypt-1.12.3/doc/fips-fsm.pdf and 
new/libgcrypt-1.12.4/doc/fips-fsm.pdf differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libgcrypt-1.12.3/doc/gcrypt.info 
new/libgcrypt-1.12.4/doc/gcrypt.info
--- old/libgcrypt-1.12.3/doc/gcrypt.info        2026-08-26 10:23:36.000000000 
+0200
+++ new/libgcrypt-1.12.4/doc/gcrypt.info        2026-09-11 13:20:24.000000000 
+0200
@@ -1,6 +1,6 @@
 This is gcrypt.info, produced by makeinfo version 6.8 from gcrypt.texi.
 
-This manual is for Libgcrypt version 1.12.3 and was last updated 25
+This manual is for Libgcrypt version 1.12.4 and was last updated 25
 August 2026.  Libgcrypt is GNU's library of cryptographic building
 blocks.
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libgcrypt-1.12.3/doc/gcrypt.info-1 
new/libgcrypt-1.12.4/doc/gcrypt.info-1
--- old/libgcrypt-1.12.3/doc/gcrypt.info-1      2026-08-26 10:23:36.000000000 
+0200
+++ new/libgcrypt-1.12.4/doc/gcrypt.info-1      2026-09-11 13:20:24.000000000 
+0200
@@ -1,6 +1,6 @@
 This is gcrypt.info, produced by makeinfo version 6.8 from gcrypt.texi.
 
-This manual is for Libgcrypt version 1.12.3 and was last updated 25
+This manual is for Libgcrypt version 1.12.4 and was last updated 25
 August 2026.  Libgcrypt is GNU's library of cryptographic building
 blocks.
 
@@ -25,7 +25,7 @@
 The Libgcrypt Library
 *********************
 
-This manual is for Libgcrypt version 1.12.3 and was last updated 25
+This manual is for Libgcrypt version 1.12.4 and was last updated 25
 August 2026.  Libgcrypt is GNU's library of cryptographic building
 blocks.
 
Binary files old/libgcrypt-1.12.3/doc/gcrypt.info-2 and 
new/libgcrypt-1.12.4/doc/gcrypt.info-2 differ
Binary files old/libgcrypt-1.12.3/doc/libgcrypt-modules.pdf and 
new/libgcrypt-1.12.4/doc/libgcrypt-modules.pdf differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libgcrypt-1.12.3/doc/stamp-vti 
new/libgcrypt-1.12.4/doc/stamp-vti
--- old/libgcrypt-1.12.3/doc/stamp-vti  2026-08-26 10:23:36.000000000 +0200
+++ new/libgcrypt-1.12.4/doc/stamp-vti  2026-09-11 13:20:23.000000000 +0200
@@ -1,4 +1,4 @@
 @set UPDATED 25 August 2026
 @set UPDATED-MONTH August 2026
-@set EDITION 1.12.3
-@set VERSION 1.12.3
+@set EDITION 1.12.4
+@set VERSION 1.12.4
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libgcrypt-1.12.3/doc/version.texi 
new/libgcrypt-1.12.4/doc/version.texi
--- old/libgcrypt-1.12.3/doc/version.texi       2026-08-26 10:23:36.000000000 
+0200
+++ new/libgcrypt-1.12.4/doc/version.texi       2026-09-11 13:20:23.000000000 
+0200
@@ -1,4 +1,4 @@
 @set UPDATED 25 August 2026
 @set UPDATED-MONTH August 2026
-@set EDITION 1.12.3
-@set VERSION 1.12.3
+@set EDITION 1.12.4
+@set VERSION 1.12.4

Reply via email to