diff --git a/rijndael-simd.cpp b/rijndael-simd.cpp index 60304a71..88f46a55 100644 --- a/rijndael-simd.cpp +++ b/rijndael-simd.cpp @@ -160,9 +160,9 @@ bool CPU_ProbeAES() #if (CRYPTOPP_ARM_AES_AVAILABLE) #if defined(IS_LITTLE_ENDIAN) -const word32 s_one[] = {0, 0, 0, 1<<24}; +const word32 s_one[] = {0, 0, 0, 1<<24}; // uint32x4_t #else -const word32 s_one[] = {1, 0, 0, 0}; +const word32 s_one[] = {0, 0, 0, 1}; // uint32x4_t #endif inline void ARMV8_Enc_Block(uint8x16_t &block, const word32 *subkeys, unsigned int rounds)