summaryrefslogtreecommitdiff
path: root/Source/Core/Common/Crypto/AES.cpp
diff options
context:
space:
mode:
authorJosJuice <josjuice@gmail.com>2022-08-05 12:12:34 +0200
committerGitHub <noreply@github.com>2022-08-05 12:12:34 +0200
commit939fa1ed1c19f972cdc6f86fd914a582254a8cc7 (patch)
tree58642d75829e0ce528dbd77ec0943d9e766a2fa1 /Source/Core/Common/Crypto/AES.cpp
parente638bb658fa2bbaa6e46148816598fe3ab79dc6e (diff)
parentbf5076eb010a0c8928d7fb823b35105e9e9dc0c6 (diff)
Merge pull request #10941 from shuffle2/crypto-cleanup
Crypto cleanup
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