1
1
mirror of https://github.com/henrydcase/pqc.git synced 2024-11-22 15:39:07 +00:00
This commit is contained in:
Thom Wiggers 2020-08-27 15:07:34 +02:00 committed by Kris Kwiatkowski
parent 97e0aad338
commit c4c16bf0ff
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)