Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package dd_rescue for openSUSE:Factory 
checked in at 2021-03-02 14:41:52
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/dd_rescue (Old)
 and      /work/SRC/openSUSE:Factory/.dd_rescue.new.2378 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "dd_rescue"

Tue Mar  2 14:41:52 2021 rev:48 rq:874435 version:1.99.8

Changes:
--------
--- /work/SRC/openSUSE:Factory/dd_rescue/dd_rescue.changes      2021-02-01 
14:41:34.624656900 +0100
+++ /work/SRC/openSUSE:Factory/.dd_rescue.new.2378/dd_rescue.changes    
2021-03-02 15:13:55.933447034 +0100
@@ -1,0 +2,6 @@
+Mon Feb 22 10:40:53 UTC 2021 - Guillaume GARDET <guillaume.gar...@opensuse.org>
+
+- Revert last commit and fix bug boo#1181402 with a proper patch:
+  * fix-aliasing-aarch64.patch
+
+-------------------------------------------------------------------

New:
----
  fix-aliasing-aarch64.patch

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

Other differences:
------------------
++++++ dd_rescue.spec ++++++
--- /var/tmp/diff_new_pack.zrH0kH/_old  2021-03-02 15:13:56.501447509 +0100
+++ /var/tmp/diff_new_pack.zrH0kH/_new  2021-03-02 15:13:56.501447509 +0100
@@ -36,6 +36,8 @@
 Patch3:         ddr_1998-sysrandom.diff
 Patch4:         ddr_1998-testhole.diff
 Patch5:         ddr_1998-ossl11-warn.diff
+# boo#1181402
+Patch6:         fix-aliasing-aarch64.patch
 BuildRequires:  autoconf
 BuildRequires:  libattr-devel
 BuildRequires:  libopenssl-devel
@@ -131,10 +133,6 @@
 touch .dep
 
 OPT_FLAGS="%{optflags}"
-%ifarch aarch64
-OPT_FLAGS+=" -fno-strict-aliasing"
-%endif
-
 %make_build RPM_OPT_FLAGS="$OPT_FLAGS" LIBDIR=%{_libdir} LIB=%{_lib}
 
 %install



++++++ fix-aliasing-aarch64.patch ++++++
--- a/aes_arm64.c       
+++ a/aes_arm64.c       
@@ -158,8 +158,8 @@ inline void AES_ARM8_EKey_DKey(const u32* ekey,
 int AES_ARM8_KeySetupDec(u32 rk[/*4*(Nr + 1)*/], const u8 cipherKey[], int 
keyBits, int rounds)
 {
        /* expand the cipher key: */
-       int Nr = AES_ARM8_KeySetupEnc((u32*)crypto->xkeys, cipherKey, keyBits, 
rounds);
-       AES_ARM8_EKey_DKey((u32*)crypto->xkeys, rk, Nr);
+       int Nr = AES_ARM8_KeySetupEnc(crypto->xkeys->data32, cipherKey, 
keyBits, rounds);
+       AES_ARM8_EKey_DKey(crypto->xkeys->data32, rk, Nr);
        return Nr;
 }
 
--- a/secmem.h  
+++ a/secmem.h  
@@ -10,8 +10,9 @@ 
 # include "config.h"
 #endif
 
-typedef struct _roundkey {
+typedef union _roundkey {
        unsigned char data[16];
+       unsigned int data32[4];
 } roundkey;
 
 typedef struct _ciphblk {

Reply via email to