From 6c619155c3cacbb4520d3d2e6e22b49591d07db4 Mon Sep 17 00:00:00 2001 From: jsteube Date: Fri, 25 Aug 2017 12:10:36 +0200 Subject: [PATCH] Workaround ROCm compiler error in aes256_ExpandKey() --- OpenCL/inc_cipher_aes.cl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OpenCL/inc_cipher_aes.cl b/OpenCL/inc_cipher_aes.cl index 0b4014d98..a393a8605 100644 --- a/OpenCL/inc_cipher_aes.cl +++ b/OpenCL/inc_cipher_aes.cl @@ -947,7 +947,7 @@ static void aes256_ExpandKey (u32 *ks, const u32 *ukey, SHM_TYPE u32 *s_te0, SHM ks[j + 10] = ks[j + 2] ^ ks[j + 9]; ks[j + 11] = ks[j + 3] ^ ks[j + 10]; - if (i == 6) continue; + if (i == 6) break; const u32 temp2 = ks[j + 11];