summaryrefslogtreecommitdiffstats
path: root/xmrstak/backend/cpu/crypto/soft_aes.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'xmrstak/backend/cpu/crypto/soft_aes.hpp')
-rw-r--r--xmrstak/backend/cpu/crypto/soft_aes.hpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/xmrstak/backend/cpu/crypto/soft_aes.hpp b/xmrstak/backend/cpu/crypto/soft_aes.hpp
index d3f4637..9b4ae0a 100644
--- a/xmrstak/backend/cpu/crypto/soft_aes.hpp
+++ b/xmrstak/backend/cpu/crypto/soft_aes.hpp
@@ -104,9 +104,9 @@ static inline __m128i soft_aesenc(__m128i in, __m128i key)
static inline uint32_t sub_word(uint32_t key)
{
- return (saes_sbox[key >> 24 ] << 24) |
- (saes_sbox[(key >> 16) & 0xff] << 16 ) |
- (saes_sbox[(key >> 8) & 0xff] << 8 ) |
+ return (saes_sbox[key >> 24 ] << 24) |
+ (saes_sbox[(key >> 16) & 0xff] << 16 ) |
+ (saes_sbox[(key >> 8) & 0xff] << 8 ) |
saes_sbox[key & 0xff];
}
OpenPOWER on IntegriCloud