1.11.0-1
Based on Fedora rawhide version. Resolves: RHEL-36473
This commit is contained in:
parent
c3881e51f0
commit
0fe1566af7
2
.gitignore
vendored
2
.gitignore
vendored
@ -36,3 +36,5 @@ libgcrypt-1.4.5-hobbled.tar.bz2
|
||||
/libgcrypt-1.10.2.tar.bz2.sig
|
||||
/libgcrypt-1.10.3.tar.bz2
|
||||
/libgcrypt-1.10.3.tar.bz2.sig
|
||||
/libgcrypt-1.11.0.tar.bz2
|
||||
/libgcrypt-1.11.0.tar.bz2.sig
|
||||
|
@ -0,0 +1,63 @@
|
||||
From 2486d9b5ae015c1786cb84466a751da4bc0d7122 Mon Sep 17 00:00:00 2001
|
||||
From: Jussi Kivilinna <jussi.kivilinna@iki.fi>
|
||||
Date: Thu, 20 Jun 2024 20:10:09 +0300
|
||||
Subject: [PATCH] Disable SHA3 s390x acceleration for CSHAKE
|
||||
|
||||
* cipher/keccak.c (keccak_final_s390x): Add assert check for
|
||||
expected SHAKE suffix.
|
||||
(_gcry_cshake_customize, cshake_hash_buffers): Disable s390x
|
||||
acceleration when selecting CSHAKE suffix.
|
||||
--
|
||||
|
||||
Signed-off-by: Jussi Kivilinna <jussi.kivilinna@iki.fi>
|
||||
---
|
||||
cipher/keccak.c | 16 ++++++++++++++--
|
||||
1 file changed, 14 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/cipher/keccak.c b/cipher/keccak.c
|
||||
index aaf83a62..44cc9f71 100644
|
||||
--- a/cipher/keccak.c
|
||||
+++ b/cipher/keccak.c
|
||||
@@ -745,6 +745,8 @@ keccak_final_s390x (void *context)
|
||||
}
|
||||
else
|
||||
{
|
||||
+ gcry_assert(ctx->suffix == SHAKE_DELIMITED_SUFFIX);
|
||||
+
|
||||
klmd_shake_execute (ctx->kimd_func, &ctx->state, NULL, 0, ctx->buf,
|
||||
ctx->count);
|
||||
ctx->count = 0;
|
||||
@@ -1497,9 +1499,14 @@ _gcry_cshake_customize (void *context, struct gcry_cshake_customization *p)
|
||||
/* No customization */
|
||||
return 0;
|
||||
|
||||
+ ctx->suffix = CSHAKE_DELIMITED_SUFFIX;
|
||||
+#ifdef USE_S390X_CRYPTO
|
||||
+ /* CSHAKE suffix is not supported by s390x/kimd. */
|
||||
+ ctx->kimd_func = 0;
|
||||
+#endif
|
||||
+
|
||||
len_written = cshake_input_n (ctx, p->n, p->n_len);
|
||||
cshake_input_s (ctx, p->s, p->s_len, len_written);
|
||||
- ctx->suffix = CSHAKE_DELIMITED_SUFFIX;
|
||||
return 0;
|
||||
}
|
||||
|
||||
@@ -1536,9 +1543,14 @@ cshake_hash_buffers (const gcry_md_spec_t *spec, void *outbuf, size_t nbytes,
|
||||
size_t s_len = iov[1].len;
|
||||
size_t len;
|
||||
|
||||
+ ctx.suffix = CSHAKE_DELIMITED_SUFFIX;
|
||||
+#ifdef USE_S390X_CRYPTO
|
||||
+ /* CSHAKE suffix is not supported by s390x/kimd. */
|
||||
+ ctx.kimd_func = 0;
|
||||
+#endif
|
||||
+
|
||||
len = cshake_input_n (&ctx, n, n_len);
|
||||
cshake_input_s (&ctx, s, s_len, len);
|
||||
- ctx.suffix = CSHAKE_DELIMITED_SUFFIX;
|
||||
}
|
||||
iovcnt -= 2;
|
||||
iov += 2;
|
||||
--
|
||||
2.43.0
|
@ -14,14 +14,16 @@ print(string.sub(hash, 0, 16))
|
||||
}
|
||||
|
||||
Name: libgcrypt
|
||||
Version: 1.10.3
|
||||
Release: 4%{?dist}
|
||||
Version: 1.11.0
|
||||
Release: 1%{?dist}
|
||||
URL: https://www.gnupg.org/
|
||||
Source0: https://www.gnupg.org/ftp/gcrypt/libgcrypt/libgcrypt-%{version}.tar.bz2
|
||||
Source1: https://www.gnupg.org/ftp/gcrypt/libgcrypt/libgcrypt-%{version}.tar.bz2.sig
|
||||
Source2: wk@g10code.com
|
||||
Source2: https://gnupg.org/signature_key.asc
|
||||
# Pass the annobin flags to the libgcrypt.so (#2016349)
|
||||
Patch1: libgcrypt-1.10.1-annobin.patch
|
||||
# https://dev.gnupg.org/T7167
|
||||
Patch2: libgcrypt-1.11.0-Disable-SHA3-s390x-acceleration-for-CSHAKE.patch
|
||||
|
||||
%global gcrylibdir %{_libdir}
|
||||
%global gcrysoname libgcrypt.so.20
|
||||
@ -35,6 +37,7 @@ BuildRequires: gawk, libgpg-error-devel >= 1.11, pkgconfig
|
||||
BuildRequires: texinfo
|
||||
BuildRequires: autoconf, automake, libtool
|
||||
BuildRequires: make
|
||||
BuildRequires: gnupg2
|
||||
|
||||
%package devel
|
||||
Summary: Development files for the %{name} package
|
||||
@ -52,8 +55,10 @@ in GNU Privacy Guard. This package contains files needed to develop
|
||||
applications using libgcrypt.
|
||||
|
||||
%prep
|
||||
%{gpgverify} --keyring='%{SOURCE2}' --signature='%{SOURCE1}' --data='%{SOURCE0}'
|
||||
%setup -q
|
||||
%patch 1 -p1
|
||||
%patch 2 -p1
|
||||
|
||||
%build
|
||||
# This package has a configure test which uses ASMs, but does not link the
|
||||
@ -172,6 +177,9 @@ mkdir -p -m 755 $RPM_BUILD_ROOT/etc/gcrypt
|
||||
%license COPYING
|
||||
|
||||
%changelog
|
||||
* Wed Jul 03 2024 Jakub Jelen <jjelen@redhat.com> - 1.11.0-1
|
||||
- New upstream release (#2293064)
|
||||
|
||||
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 1.10.3-4
|
||||
- Bump release for June 2024 mass rebuild
|
||||
|
||||
|
86
signature_key.asc
Normal file
86
signature_key.asc
Normal file
@ -0,0 +1,86 @@
|
||||
-----BEGIN PGP PUBLIC KEY BLOCK-----
|
||||
|
||||
mQGNBFjLuq4BDACnM7zNSIaVMAacTwjXa5TGYe13i6ilHe4VL0NShzrgzjcQg531
|
||||
3cRgiiiNA7OSOypMqVs73Jez6ZUctn2GVsHBrS/io9NcuC9pVwf8a61WlcEa+EtB
|
||||
a3G7HlBmEWnwaUdAtWKNuAi9Xn+Ir7H2xEdksmmd5a0/QnL+sX705boVPF/tpYtb
|
||||
LGpPxa78tNrtxDk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HCHj/f8hjkW3KwUCYWlPWgAKCRDj/f8hjkW3Kx4eAQDp6aGS
|
||||
N/fU4xLl8RSvQUVjVA+aCTrMQR3hRwqw8liF2wEA3O3ECxz6e1+DoItYoJBBLKLw
|
||||
eiInsGZ/+h5XYrpXTgA=
|
||||
=4+Sn
|
||||
-----END PGP PUBLIC KEY BLOCK-----
|
4
sources
4
sources
@ -1,2 +1,2 @@
|
||||
SHA512 (libgcrypt-1.10.3.tar.bz2) = 8a8d4c61a6622d8481ceb9edc88ec43f58da32e316f79f8d4775325a48f8936aaa9eb355923b39e2c267b784e9c390600daeb62e0c94f00e30bbadb0d8c0865d
|
||||
SHA512 (libgcrypt-1.10.3.tar.bz2.sig) = 7b240b40992bbfd117ba6453377c3c8734aa70a43bc4e7d24b412b5f2446b85cd41e70950d2e973cc7e2da1f7669e267e276fd5f603e991b9a04919cb9bedab2
|
||||
SHA512 (libgcrypt-1.11.0.tar.bz2) = 8e093e69e3c45d30838625ca008e995556f0d5b272de1c003d44ef94633bcc0d0ef5d95e8725eb531bfafb4490ac273488633e0c801200d4666194f86c3e270e
|
||||
SHA512 (libgcrypt-1.11.0.tar.bz2.sig) = 8c5ceb50d70ccdedcc1ff4b31a65a07198567b85f582e3e67699cc3e5d012bebf7b1d4903652d11905a9cd845976ad7d3642474804777d0bdc46c6847d92fe38
|
||||
|
2007
wk@g10code.com
2007
wk@g10code.com
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user