diff --git a/crypto_sign/sphincs-haraka-128f-robust/aesni/haraka.c b/crypto_sign/sphincs-haraka-128f-robust/aesni/haraka.c index 6fab6c74..c2ab26b3 100644 --- a/crypto_sign/sphincs-haraka-128f-robust/aesni/haraka.c +++ b/crypto_sign/sphincs-haraka-128f-robust/aesni/haraka.c @@ -14,7 +14,7 @@ Plain C implementation of the Haraka256 and Haraka512 permutations. #define u64 uint64_t #define u128 __m128i -#define LOAD(src) _mm_load_si128((u128 *)(src)) +#define LOAD(src) _mm_loadu_si128((u128 *)(src)) #define STORE(dest,src) _mm_storeu_si128((u128 *)(dest),src) #define XOR128(a, b) _mm_xor_si128(a, b) diff --git a/crypto_sign/sphincs-haraka-128f-simple/aesni/haraka.c b/crypto_sign/sphincs-haraka-128f-simple/aesni/haraka.c index ed920acf..58fd053c 100644 --- a/crypto_sign/sphincs-haraka-128f-simple/aesni/haraka.c +++ b/crypto_sign/sphincs-haraka-128f-simple/aesni/haraka.c @@ -14,7 +14,7 @@ Plain C implementation of the Haraka256 and Haraka512 permutations. #define u64 uint64_t #define u128 __m128i -#define LOAD(src) _mm_load_si128((u128 *)(src)) +#define LOAD(src) _mm_loadu_si128((u128 *)(src)) #define STORE(dest,src) _mm_storeu_si128((u128 *)(dest),src) #define XOR128(a, b) _mm_xor_si128(a, b) diff --git a/crypto_sign/sphincs-haraka-128s-robust/aesni/haraka.c b/crypto_sign/sphincs-haraka-128s-robust/aesni/haraka.c index 99ecdfad..0c866b32 100644 --- a/crypto_sign/sphincs-haraka-128s-robust/aesni/haraka.c +++ b/crypto_sign/sphincs-haraka-128s-robust/aesni/haraka.c @@ -14,7 +14,7 @@ Plain C implementation of the Haraka256 and Haraka512 permutations. #define u64 uint64_t #define u128 __m128i -#define LOAD(src) _mm_load_si128((u128 *)(src)) +#define LOAD(src) _mm_loadu_si128((u128 *)(src)) #define STORE(dest,src) _mm_storeu_si128((u128 *)(dest),src) #define XOR128(a, b) _mm_xor_si128(a, b) diff --git a/crypto_sign/sphincs-haraka-128s-simple/aesni/haraka.c b/crypto_sign/sphincs-haraka-128s-simple/aesni/haraka.c index 71e88143..1cd9801e 100644 --- a/crypto_sign/sphincs-haraka-128s-simple/aesni/haraka.c +++ b/crypto_sign/sphincs-haraka-128s-simple/aesni/haraka.c @@ -14,7 +14,7 @@ Plain C implementation of the Haraka256 and Haraka512 permutations. #define u64 uint64_t #define u128 __m128i -#define LOAD(src) _mm_load_si128((u128 *)(src)) +#define LOAD(src) _mm_loadu_si128((u128 *)(src)) #define STORE(dest,src) _mm_storeu_si128((u128 *)(dest),src) #define XOR128(a, b) _mm_xor_si128(a, b) diff --git a/crypto_sign/sphincs-haraka-192f-robust/aesni/haraka.c b/crypto_sign/sphincs-haraka-192f-robust/aesni/haraka.c index 98c46350..2489d3e8 100644 --- a/crypto_sign/sphincs-haraka-192f-robust/aesni/haraka.c +++ b/crypto_sign/sphincs-haraka-192f-robust/aesni/haraka.c @@ -14,7 +14,7 @@ Plain C implementation of the Haraka256 and Haraka512 permutations. #define u64 uint64_t #define u128 __m128i -#define LOAD(src) _mm_load_si128((u128 *)(src)) +#define LOAD(src) _mm_loadu_si128((u128 *)(src)) #define STORE(dest,src) _mm_storeu_si128((u128 *)(dest),src) #define XOR128(a, b) _mm_xor_si128(a, b) diff --git a/crypto_sign/sphincs-haraka-192f-simple/aesni/haraka.c b/crypto_sign/sphincs-haraka-192f-simple/aesni/haraka.c index eef75fda..68b2ce04 100644 --- a/crypto_sign/sphincs-haraka-192f-simple/aesni/haraka.c +++ b/crypto_sign/sphincs-haraka-192f-simple/aesni/haraka.c @@ -14,7 +14,7 @@ Plain C implementation of the Haraka256 and Haraka512 permutations. #define u64 uint64_t #define u128 __m128i -#define LOAD(src) _mm_load_si128((u128 *)(src)) +#define LOAD(src) _mm_loadu_si128((u128 *)(src)) #define STORE(dest,src) _mm_storeu_si128((u128 *)(dest),src) #define XOR128(a, b) _mm_xor_si128(a, b) diff --git a/crypto_sign/sphincs-haraka-192s-robust/aesni/haraka.c b/crypto_sign/sphincs-haraka-192s-robust/aesni/haraka.c index 82660771..6186398b 100644 --- a/crypto_sign/sphincs-haraka-192s-robust/aesni/haraka.c +++ b/crypto_sign/sphincs-haraka-192s-robust/aesni/haraka.c @@ -14,7 +14,7 @@ Plain C implementation of the Haraka256 and Haraka512 permutations. #define u64 uint64_t #define u128 __m128i -#define LOAD(src) _mm_load_si128((u128 *)(src)) +#define LOAD(src) _mm_loadu_si128((u128 *)(src)) #define STORE(dest,src) _mm_storeu_si128((u128 *)(dest),src) #define XOR128(a, b) _mm_xor_si128(a, b) diff --git a/crypto_sign/sphincs-haraka-192s-simple/aesni/haraka.c b/crypto_sign/sphincs-haraka-192s-simple/aesni/haraka.c index 8437e799..27165481 100644 --- a/crypto_sign/sphincs-haraka-192s-simple/aesni/haraka.c +++ b/crypto_sign/sphincs-haraka-192s-simple/aesni/haraka.c @@ -14,7 +14,7 @@ Plain C implementation of the Haraka256 and Haraka512 permutations. #define u64 uint64_t #define u128 __m128i -#define LOAD(src) _mm_load_si128((u128 *)(src)) +#define LOAD(src) _mm_loadu_si128((u128 *)(src)) #define STORE(dest,src) _mm_storeu_si128((u128 *)(dest),src) #define XOR128(a, b) _mm_xor_si128(a, b) diff --git a/crypto_sign/sphincs-haraka-256f-robust/aesni/haraka.c b/crypto_sign/sphincs-haraka-256f-robust/aesni/haraka.c index c7a1a507..52f0b191 100644 --- a/crypto_sign/sphincs-haraka-256f-robust/aesni/haraka.c +++ b/crypto_sign/sphincs-haraka-256f-robust/aesni/haraka.c @@ -14,7 +14,7 @@ Plain C implementation of the Haraka256 and Haraka512 permutations. #define u64 uint64_t #define u128 __m128i -#define LOAD(src) _mm_load_si128((u128 *)(src)) +#define LOAD(src) _mm_loadu_si128((u128 *)(src)) #define STORE(dest,src) _mm_storeu_si128((u128 *)(dest),src) #define XOR128(a, b) _mm_xor_si128(a, b) diff --git a/crypto_sign/sphincs-haraka-256f-simple/aesni/haraka.c b/crypto_sign/sphincs-haraka-256f-simple/aesni/haraka.c index 735e4ab1..46daeef8 100644 --- a/crypto_sign/sphincs-haraka-256f-simple/aesni/haraka.c +++ b/crypto_sign/sphincs-haraka-256f-simple/aesni/haraka.c @@ -14,7 +14,7 @@ Plain C implementation of the Haraka256 and Haraka512 permutations. #define u64 uint64_t #define u128 __m128i -#define LOAD(src) _mm_load_si128((u128 *)(src)) +#define LOAD(src) _mm_loadu_si128((u128 *)(src)) #define STORE(dest,src) _mm_storeu_si128((u128 *)(dest),src) #define XOR128(a, b) _mm_xor_si128(a, b) diff --git a/crypto_sign/sphincs-haraka-256s-robust/aesni/haraka.c b/crypto_sign/sphincs-haraka-256s-robust/aesni/haraka.c index 0b5f9f95..bd6cde24 100644 --- a/crypto_sign/sphincs-haraka-256s-robust/aesni/haraka.c +++ b/crypto_sign/sphincs-haraka-256s-robust/aesni/haraka.c @@ -14,7 +14,7 @@ Plain C implementation of the Haraka256 and Haraka512 permutations. #define u64 uint64_t #define u128 __m128i -#define LOAD(src) _mm_load_si128((u128 *)(src)) +#define LOAD(src) _mm_loadu_si128((u128 *)(src)) #define STORE(dest,src) _mm_storeu_si128((u128 *)(dest),src) #define XOR128(a, b) _mm_xor_si128(a, b) diff --git a/crypto_sign/sphincs-haraka-256s-simple/aesni/haraka.c b/crypto_sign/sphincs-haraka-256s-simple/aesni/haraka.c index ae0e1be4..403f074c 100644 --- a/crypto_sign/sphincs-haraka-256s-simple/aesni/haraka.c +++ b/crypto_sign/sphincs-haraka-256s-simple/aesni/haraka.c @@ -14,7 +14,7 @@ Plain C implementation of the Haraka256 and Haraka512 permutations. #define u64 uint64_t #define u128 __m128i -#define LOAD(src) _mm_load_si128((u128 *)(src)) +#define LOAD(src) _mm_loadu_si128((u128 *)(src)) #define STORE(dest,src) _mm_storeu_si128((u128 *)(dest),src) #define XOR128(a, b) _mm_xor_si128(a, b)