tleleu / rpms / kernel

Forked from rpms/kernel 3 years ago
Clone
Pablo Greco 7b2c62
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
Pablo Greco 7b2c62
From: "Justin M. Forbes" <jforbes@fedoraproject.org>
Pablo Greco 7b2c62
Date: Thu, 30 Jul 2020 10:26:11 -0500
Pablo Greco 7b2c62
Subject: [PATCH] Work around for gcc bug
Pablo Greco 7b2c62
 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96377
Pablo Greco 7b2c62
Pablo Greco 7b2c62
Signed-off-by: Justin M. Forbes <jforbes@fedoraproject.org>
Pablo Greco 7b2c62
---
Pablo Greco 7b2c62
 crypto/aegis128-neon-inner.c | 4 ++--
Pablo Greco 7b2c62
 1 file changed, 2 insertions(+), 2 deletions(-)
Pablo Greco 7b2c62
Pablo Greco 7b2c62
diff --git a/crypto/aegis128-neon-inner.c b/crypto/aegis128-neon-inner.c
Pablo Greco 7b2c62
index 2a660ac1bc3a..fa87ff6a2a71 100644
Pablo Greco 7b2c62
--- a/crypto/aegis128-neon-inner.c
Pablo Greco 7b2c62
+++ b/crypto/aegis128-neon-inner.c
Pablo Greco 7b2c62
@@ -148,8 +148,8 @@ void crypto_aegis128_init_neon(void *state, const void *key, const void *iv)
Pablo Greco 7b2c62
 		kiv,
Pablo Greco 7b2c62
 		vld1q_u8(const1),
Pablo Greco 7b2c62
 		vld1q_u8(const0),
Pablo Greco 7b2c62
-		k ^ vld1q_u8(const0),
Pablo Greco 7b2c62
-		k ^ vld1q_u8(const1),
Pablo Greco 7b2c62
+		(uint8x16_t) (k ^ vld1q_u8(const0)),
Pablo Greco 7b2c62
+		(uint8x16_t) (k ^ vld1q_u8(const1)),
Pablo Greco 7b2c62
 	}};
Pablo Greco 7b2c62
 	int i;
Pablo Greco 7b2c62
Pablo Greco 7b2c62
-- 
Pablo Greco 7b2c62
2.28.0
Pablo Greco 7b2c62