libgcrypt: Update to version 1.9.4

Message ID 20210905204600.2785765-1-adolf.belka@ipfire.org
State New
Headers show
Series libgcrypt: Update to version 1.9.4 | expand

Commit Message

Adolf Belka Sept. 5, 2021, 8:46 p.m. UTC
- Update from 1.9.3 to 1.9.4
- Update rootfile
- Changelog
   Release 1.9.4.
     2021-08-22  Jussi Kivilinna  <jussi.kivilinna@iki.fi>
	mpi/longlong.h: fix missing macro parameter parentheses.
	* mpi/longlong.h [__alpha] (umul_ppmm): Add parentheses around
	used parameters.
	[__i370__] (sdiv_qrnnd): Ditto.
	[__mips__] (umul_ppmm): Ditto.
	[__vax__] (sdiv_qrnnd): Ditto.
	tests/t-mpi-point: add NIST curve multiplication test vectors.
	* tests/t-mpi-point.c (mpi_base10_scan, check_ec_mul): New.
	(main): Call 'check_ec_mul'.
     2021-08-22  Werner Koch  <wk@gnupg.org>
	ecc: Fix bug in gcry_pk_get_param for Curve25519.
	* cipher/ecc-curves.c (_gcry_ecc_get_param_sexp): Simplify.
	* cipher/pubkey.c (map_algo): Also map EDDSA to ECC.
	* tests/curves.c (check_get_params): Add simple param lookup tests by
	for all curves.
     2021-08-22  Johannes Schindelin via Gcrypt-devel  <gcrypt-devel@gnupg.org>
	build: Fix broken mlock detection.
	* acinclude.m4 [GNUPG_CHECK_MLOCK]: Use size_t for the ptr test.
     2021-08-22  Werner Koch  <wk@gnupg.org>
	cipher: Extend convenience OID mapping table for AES.
	* cipher/rijndael.c: Add OIDs for GCM and CCM.
	Minor tweak to gcry_free.
	* src/global.c (_gcry_free): Avoid setting errno again if it did not
	change.
     2021-08-22  NIIBE Yutaka  <gniibe@fsij.org>
	random: Silence a warning for building rndjent by Clang.
	* random/jitterentropy-base.c: Conditionalize by __OPTIMIZE__.
     2021-08-22  Tianjia Zhang  <tianjia.zhang@linux.alibaba.com>
	cipher: Fix memory leaks for EdDSA.
	* cipher/ecc-eddsa.c (_gcry_ecc_eddsa_genkey): Initialize point Q when used.
     2021-08-22  NIIBE Yutaka  <gniibe@fsij.org>
	ecc: Check the input length for the point.
	* cipher/ecc-misc.c (_gcry_ecc_mont_decodepoint): Check the length
	of valid point representation.
     2021-08-22  Jussi Kivilinna  <jussi.kivilinna@iki.fi>
	hwf-x86: fix use of wrong operand type.
	* src/hwf-x86.c (get_cpuid): Use xchg for swapping %ebx back
	and forth between operand register.
     2021-05-27  NIIBE Yutaka  <gniibe@fsij.org>
	build: _DARWIN_C_SOURCE should be 1.
	* configure.ac (*-apple-darwin*): Set _DARWIN_C_SOURCE 1.
     2021-05-26  NIIBE Yutaka  <gniibe@fsij.org>
	cipher: Fix ElGamal encryption for other implementations.
	* cipher/elgamal.c (gen_k): Remove support of smaller K.
	(do_encrypt): Never use smaller K.
	(sign): Folllow the change of gen_k.

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
---
 config/rootfiles/common/libgcrypt | 2 +-
 lfs/libgcrypt                     | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

Comments

Michael Tremer Sept. 6, 2021, 9:50 a.m. UTC | #1
Reviewed-by: Michael Tremer <michael.tremer@ipfire.org>

> On 5 Sep 2021, at 21:46, Adolf Belka <adolf.belka@ipfire.org> wrote:
> 
> - Update from 1.9.3 to 1.9.4
> - Update rootfile
> - Changelog
>   Release 1.9.4.
>     2021-08-22  Jussi Kivilinna  <jussi.kivilinna@iki.fi>
> 	mpi/longlong.h: fix missing macro parameter parentheses.
> 	* mpi/longlong.h [__alpha] (umul_ppmm): Add parentheses around
> 	used parameters.
> 	[__i370__] (sdiv_qrnnd): Ditto.
> 	[__mips__] (umul_ppmm): Ditto.
> 	[__vax__] (sdiv_qrnnd): Ditto.
> 	tests/t-mpi-point: add NIST curve multiplication test vectors.
> 	* tests/t-mpi-point.c (mpi_base10_scan, check_ec_mul): New.
> 	(main): Call 'check_ec_mul'.
>     2021-08-22  Werner Koch  <wk@gnupg.org>
> 	ecc: Fix bug in gcry_pk_get_param for Curve25519.
> 	* cipher/ecc-curves.c (_gcry_ecc_get_param_sexp): Simplify.
> 	* cipher/pubkey.c (map_algo): Also map EDDSA to ECC.
> 	* tests/curves.c (check_get_params): Add simple param lookup tests by
> 	for all curves.
>     2021-08-22  Johannes Schindelin via Gcrypt-devel  <gcrypt-devel@gnupg.org>
> 	build: Fix broken mlock detection.
> 	* acinclude.m4 [GNUPG_CHECK_MLOCK]: Use size_t for the ptr test.
>     2021-08-22  Werner Koch  <wk@gnupg.org>
> 	cipher: Extend convenience OID mapping table for AES.
> 	* cipher/rijndael.c: Add OIDs for GCM and CCM.
> 	Minor tweak to gcry_free.
> 	* src/global.c (_gcry_free): Avoid setting errno again if it did not
> 	change.
>     2021-08-22  NIIBE Yutaka  <gniibe@fsij.org>
> 	random: Silence a warning for building rndjent by Clang.
> 	* random/jitterentropy-base.c: Conditionalize by __OPTIMIZE__.
>     2021-08-22  Tianjia Zhang  <tianjia.zhang@linux.alibaba.com>
> 	cipher: Fix memory leaks for EdDSA.
> 	* cipher/ecc-eddsa.c (_gcry_ecc_eddsa_genkey): Initialize point Q when used.
>     2021-08-22  NIIBE Yutaka  <gniibe@fsij.org>
> 	ecc: Check the input length for the point.
> 	* cipher/ecc-misc.c (_gcry_ecc_mont_decodepoint): Check the length
> 	of valid point representation.
>     2021-08-22  Jussi Kivilinna  <jussi.kivilinna@iki.fi>
> 	hwf-x86: fix use of wrong operand type.
> 	* src/hwf-x86.c (get_cpuid): Use xchg for swapping %ebx back
> 	and forth between operand register.
>     2021-05-27  NIIBE Yutaka  <gniibe@fsij.org>
> 	build: _DARWIN_C_SOURCE should be 1.
> 	* configure.ac (*-apple-darwin*): Set _DARWIN_C_SOURCE 1.
>     2021-05-26  NIIBE Yutaka  <gniibe@fsij.org>
> 	cipher: Fix ElGamal encryption for other implementations.
> 	* cipher/elgamal.c (gen_k): Remove support of smaller K.
> 	(do_encrypt): Never use smaller K.
> 	(sign): Folllow the change of gen_k.
> 
> Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
> ---
> config/rootfiles/common/libgcrypt | 2 +-
> lfs/libgcrypt                     | 4 ++--
> 2 files changed, 3 insertions(+), 3 deletions(-)
> 
> diff --git a/config/rootfiles/common/libgcrypt b/config/rootfiles/common/libgcrypt
> index 5f792a323..8ca5cb325 100644
> --- a/config/rootfiles/common/libgcrypt
> +++ b/config/rootfiles/common/libgcrypt
> @@ -6,7 +6,7 @@
> #usr/lib/libgcrypt.la
> #usr/lib/libgcrypt.so
> usr/lib/libgcrypt.so.20
> -usr/lib/libgcrypt.so.20.3.3
> +usr/lib/libgcrypt.so.20.3.4
> #usr/lib/pkgconfig/libgcrypt.pc
> #usr/share/aclocal/libgcrypt.m4
> #usr/share/info/gcrypt.info
> diff --git a/lfs/libgcrypt b/lfs/libgcrypt
> index 5f4a9454a..23a9f1f24 100644
> --- a/lfs/libgcrypt
> +++ b/lfs/libgcrypt
> @@ -24,7 +24,7 @@
> 
> include Config
> 
> -VER        = 1.9.3
> +VER        = 1.9.4
> 
> THISAPP    = libgcrypt-$(VER)
> DL_FILE    = $(THISAPP).tar.bz2
> @@ -40,7 +40,7 @@ objects = $(DL_FILE)
> 
> $(DL_FILE) = $(DL_FROM)/$(DL_FILE)
> 
> -$(DL_FILE)_MD5 = 3fcb490b9b7347344708eeb7b4a95464
> +$(DL_FILE)_MD5 = edc7becfe09c75d8f95ff7623e40c52e
> 
> install : $(TARGET)
> 
> -- 
> 2.33.0
>

Patch

diff --git a/config/rootfiles/common/libgcrypt b/config/rootfiles/common/libgcrypt
index 5f792a323..8ca5cb325 100644
--- a/config/rootfiles/common/libgcrypt
+++ b/config/rootfiles/common/libgcrypt
@@ -6,7 +6,7 @@ 
 #usr/lib/libgcrypt.la
 #usr/lib/libgcrypt.so
 usr/lib/libgcrypt.so.20
-usr/lib/libgcrypt.so.20.3.3
+usr/lib/libgcrypt.so.20.3.4
 #usr/lib/pkgconfig/libgcrypt.pc
 #usr/share/aclocal/libgcrypt.m4
 #usr/share/info/gcrypt.info
diff --git a/lfs/libgcrypt b/lfs/libgcrypt
index 5f4a9454a..23a9f1f24 100644
--- a/lfs/libgcrypt
+++ b/lfs/libgcrypt
@@ -24,7 +24,7 @@ 
 
 include Config
 
-VER        = 1.9.3
+VER        = 1.9.4
 
 THISAPP    = libgcrypt-$(VER)
 DL_FILE    = $(THISAPP).tar.bz2
@@ -40,7 +40,7 @@  objects = $(DL_FILE)
 
 $(DL_FILE) = $(DL_FROM)/$(DL_FILE)
 
-$(DL_FILE)_MD5 = 3fcb490b9b7347344708eeb7b4a95464
+$(DL_FILE)_MD5 = edc7becfe09c75d8f95ff7623e40c52e
 
 install : $(TARGET)