This commit is contained in:
Thom Wiggers 2020-08-27 15:07:34 +02:00
parent 193b4a8064
commit 5fd615dcd8
No known key found for this signature in database
GPG Key ID: 001BB0A7CE26E363
12 changed files with 12 additions and 12 deletions

View File

@ -14,7 +14,7 @@ Plain C implementation of the Haraka256 and Haraka512 permutations.
#define u64 uint64_t #define u64 uint64_t
#define u128 __m128i #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 STORE(dest,src) _mm_storeu_si128((u128 *)(dest),src)
#define XOR128(a, b) _mm_xor_si128(a, b) #define XOR128(a, b) _mm_xor_si128(a, b)

View File

@ -14,7 +14,7 @@ Plain C implementation of the Haraka256 and Haraka512 permutations.
#define u64 uint64_t #define u64 uint64_t
#define u128 __m128i #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 STORE(dest,src) _mm_storeu_si128((u128 *)(dest),src)
#define XOR128(a, b) _mm_xor_si128(a, b) #define XOR128(a, b) _mm_xor_si128(a, b)

View File

@ -14,7 +14,7 @@ Plain C implementation of the Haraka256 and Haraka512 permutations.
#define u64 uint64_t #define u64 uint64_t
#define u128 __m128i #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 STORE(dest,src) _mm_storeu_si128((u128 *)(dest),src)
#define XOR128(a, b) _mm_xor_si128(a, b) #define XOR128(a, b) _mm_xor_si128(a, b)

View File

@ -14,7 +14,7 @@ Plain C implementation of the Haraka256 and Haraka512 permutations.
#define u64 uint64_t #define u64 uint64_t
#define u128 __m128i #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 STORE(dest,src) _mm_storeu_si128((u128 *)(dest),src)
#define XOR128(a, b) _mm_xor_si128(a, b) #define XOR128(a, b) _mm_xor_si128(a, b)

View File

@ -14,7 +14,7 @@ Plain C implementation of the Haraka256 and Haraka512 permutations.
#define u64 uint64_t #define u64 uint64_t
#define u128 __m128i #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 STORE(dest,src) _mm_storeu_si128((u128 *)(dest),src)
#define XOR128(a, b) _mm_xor_si128(a, b) #define XOR128(a, b) _mm_xor_si128(a, b)

View File

@ -14,7 +14,7 @@ Plain C implementation of the Haraka256 and Haraka512 permutations.
#define u64 uint64_t #define u64 uint64_t
#define u128 __m128i #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 STORE(dest,src) _mm_storeu_si128((u128 *)(dest),src)
#define XOR128(a, b) _mm_xor_si128(a, b) #define XOR128(a, b) _mm_xor_si128(a, b)

View File

@ -14,7 +14,7 @@ Plain C implementation of the Haraka256 and Haraka512 permutations.
#define u64 uint64_t #define u64 uint64_t
#define u128 __m128i #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 STORE(dest,src) _mm_storeu_si128((u128 *)(dest),src)
#define XOR128(a, b) _mm_xor_si128(a, b) #define XOR128(a, b) _mm_xor_si128(a, b)

View File

@ -14,7 +14,7 @@ Plain C implementation of the Haraka256 and Haraka512 permutations.
#define u64 uint64_t #define u64 uint64_t
#define u128 __m128i #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 STORE(dest,src) _mm_storeu_si128((u128 *)(dest),src)
#define XOR128(a, b) _mm_xor_si128(a, b) #define XOR128(a, b) _mm_xor_si128(a, b)

View File

@ -14,7 +14,7 @@ Plain C implementation of the Haraka256 and Haraka512 permutations.
#define u64 uint64_t #define u64 uint64_t
#define u128 __m128i #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 STORE(dest,src) _mm_storeu_si128((u128 *)(dest),src)
#define XOR128(a, b) _mm_xor_si128(a, b) #define XOR128(a, b) _mm_xor_si128(a, b)

View File

@ -14,7 +14,7 @@ Plain C implementation of the Haraka256 and Haraka512 permutations.
#define u64 uint64_t #define u64 uint64_t
#define u128 __m128i #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 STORE(dest,src) _mm_storeu_si128((u128 *)(dest),src)
#define XOR128(a, b) _mm_xor_si128(a, b) #define XOR128(a, b) _mm_xor_si128(a, b)

View File

@ -14,7 +14,7 @@ Plain C implementation of the Haraka256 and Haraka512 permutations.
#define u64 uint64_t #define u64 uint64_t
#define u128 __m128i #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 STORE(dest,src) _mm_storeu_si128((u128 *)(dest),src)
#define XOR128(a, b) _mm_xor_si128(a, b) #define XOR128(a, b) _mm_xor_si128(a, b)

View File

@ -14,7 +14,7 @@ Plain C implementation of the Haraka256 and Haraka512 permutations.
#define u64 uint64_t #define u64 uint64_t
#define u128 __m128i #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 STORE(dest,src) _mm_storeu_si128((u128 *)(dest),src)
#define XOR128(a, b) _mm_xor_si128(a, b) #define XOR128(a, b) _mm_xor_si128(a, b)