forked from pool/libgcrypt
Pedro Monreal Gonzalez
dea0435690
- Update to 1.9.1 * *Fix exploitable bug* in hash functions introduced with 1.9.0. [bsc#1181632, CVE-2021-3345] * Return an error if a negative MPI is used with sexp scan functions. * Check for operational FIPS in the random and KDF functions. * Fix compile error on ARMv7 with NEON disabled. * Fix self-test in KDF module. * Improve assembler checks for better LTO support. * Fix 32-bit cross build on x86. * Fix non-NEON ARM assembly implementation for SHA512. * Fix build problems with the cipher_bulk_ops_t typedef. * Fix Ed25519 private key handling for preceding ZEROs. * Fix overflow in modular inverse implementation. * Fix register access for AVX/AVX2 implementations of Blake2. * Add optimized cipher and hash functions for s390x/zSeries. * Use hardware bit counting functionx when available. * Update DSA functions to match FIPS 186-3. * New self-tests for CMACs and KDFs. * Add bulk cipher functions for OFB and GCM modes. - Update libgpg-error required version - Use the suffix variable correctly in get_hmac_path() - Rebase libgcrypt-fips_selftest_trigger_file.patch - Add the global config file /etc/gcrypt/random.conf * This file can be used to globally change parameters of the random generator with the options: only-urandom and disable-jent. - Update to 1.9.0: OBS-URL: https://build.opensuse.org/request/show/868925 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libgcrypt?expand=0&rev=142
18 lines
732 B
Diff
18 lines
732 B
Diff
Index: libgcrypt-1.9.0/cipher/Makefile.am
|
|
===================================================================
|
|
--- libgcrypt-1.9.0.orig/cipher/Makefile.am
|
|
+++ libgcrypt-1.9.0/cipher/Makefile.am
|
|
@@ -155,6 +155,12 @@ tiger.o: $(srcdir)/tiger.c Makefile
|
|
tiger.lo: $(srcdir)/tiger.c Makefile
|
|
`echo $(LTCOMPILE) -c $< | $(o_flag_munging) `
|
|
|
|
+# rijndael.c needs -fno-strict-aliasing
|
|
+rijndael.o: $(srcdir)/rijndael.c
|
|
+ `echo $(COMPILE) -fno-strict-aliasing -c $(srcdir)/rijndael.c`
|
|
+
|
|
+rijndael.lo: $(srcdir)/rijndael.c
|
|
+ `echo $(LTCOMPILE) -fno-strict-aliasing -c $(srcdir)/rijndael.c`
|
|
|
|
# We need to disable instrumentation for these modules as they use cc as
|
|
# thin assembly front-end and do not tolerate in-between function calls
|