summaryrefslogtreecommitdiff
path: root/Source/Core/Common/Crypto/AES.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/Core/Common/Crypto/AES.cpp')
-rw-r--r--Source/Core/Common/Crypto/AES.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/Common/Crypto/AES.cpp b/Source/Core/Common/Crypto/AES.cpp
index 7c67766ed4..fe8f4ec728 100644
--- a/Source/Core/Common/Crypto/AES.cpp
+++ b/Source/Core/Common/Crypto/AES.cpp
@@ -264,7 +264,7 @@ public:
template <size_t RoundIdx>
inline constexpr void StoreRoundKey(const u32* rk)
{
- const uint8x16_t rk_block = vld1q_u32(rk);
+ const uint8x16_t rk_block = vreinterpretq_u8_u32(vld1q_u32(rk));
if constexpr (AesMode == Mode::Encrypt)
round_keys[RoundIdx] = rk_block;
else