From 53d50fd751ebe6e2feb65de5bdbe3b5a7b725df7 Mon Sep 17 00:00:00 2001 From: Thom Wiggers Date: Fri, 7 Feb 2020 11:13:59 +0100 Subject: [PATCH] Fix alignment problems with vectors in McEliece AVX2 and fix McEliece 8192128f (#267) * Fix alignment problems with vectors * Fix required CPU flags for McEliece * Fix McElice8192128f that was missed in #259 * fixup! Fix McElice8192128f that was missed in #259 * Fix initialization --- crypto_kem/mceliece348864/avx/int32_sort.c | 4 +- crypto_kem/mceliece348864f/META.yml | 2 +- crypto_kem/mceliece348864f/avx/int32_sort.c | 4 +- crypto_kem/mceliece460896/avx/bm.c | 35 +- crypto_kem/mceliece460896/avx/int32_sort.c | 4 +- crypto_kem/mceliece460896f/avx/bm.c | 35 +- crypto_kem/mceliece460896f/avx/int32_sort.c | 4 +- crypto_kem/mceliece6688128/avx/bm.c | 33 +- crypto_kem/mceliece6688128/avx/int32_sort.c | 4 +- crypto_kem/mceliece6688128f/avx/bm.c | 33 +- crypto_kem/mceliece6688128f/avx/int32_sort.c | 4 +- crypto_kem/mceliece6960119/avx/bm.c | 35 +- crypto_kem/mceliece6960119/avx/int32_sort.c | 4 +- crypto_kem/mceliece6960119f/avx/bm.c | 35 +- crypto_kem/mceliece6960119f/avx/int32_sort.c | 4 +- crypto_kem/mceliece8192128/avx/bm.c | 33 +- crypto_kem/mceliece8192128/avx/int32_sort.c | 4 +- crypto_kem/mceliece8192128f/META.yml | 4 +- crypto_kem/mceliece8192128f/avx/bm.c | 67 +- crypto_kem/mceliece8192128f/avx/consts.inc | 858 +++++++++--------- crypto_kem/mceliece8192128f/avx/decrypt.c | 44 +- crypto_kem/mceliece8192128f/avx/fft.c | 140 +-- crypto_kem/mceliece8192128f/avx/fft_tr.c | 328 +++---- crypto_kem/mceliece8192128f/avx/int32_sort.c | 4 +- crypto_kem/mceliece8192128f/avx/pk_gen.c | 42 +- crypto_kem/mceliece8192128f/avx/powers.inc | 832 ++++++++--------- .../mceliece8192128f/avx/scalars_4x.inc | 156 ++-- 27 files changed, 1396 insertions(+), 1356 deletions(-) diff --git a/crypto_kem/mceliece348864/avx/int32_sort.c b/crypto_kem/mceliece348864/avx/int32_sort.c index 3412c64d..daf93da4 100644 --- a/crypto_kem/mceliece348864/avx/int32_sort.c +++ b/crypto_kem/mceliece348864/avx/int32_sort.c @@ -4,8 +4,8 @@ #include typedef __m256i int32x8; -#define int32x8_load(z) _mm256_loadu_si256((__m256i *) (z)) -#define int32x8_store(z,i) _mm256_storeu_si256((__m256i *) (z),(i)) +#define int32x8_load(z) _mm256_loadu_si256((__m256i_u *) (z)) +#define int32x8_store(z,i) _mm256_storeu_si256((__m256i_u *) (z),(i)) #define int32x8_min _mm256_min_epi32 #define int32x8_max _mm256_max_epi32 diff --git a/crypto_kem/mceliece348864f/META.yml b/crypto_kem/mceliece348864f/META.yml index 88c290a9..686155d8 100644 --- a/crypto_kem/mceliece348864f/META.yml +++ b/crypto_kem/mceliece348864f/META.yml @@ -47,4 +47,4 @@ implementations: required_flags: - avx2 - popcnt - - bmi2 + - bmi1 diff --git a/crypto_kem/mceliece348864f/avx/int32_sort.c b/crypto_kem/mceliece348864f/avx/int32_sort.c index 6ab02550..4284a598 100644 --- a/crypto_kem/mceliece348864f/avx/int32_sort.c +++ b/crypto_kem/mceliece348864f/avx/int32_sort.c @@ -4,8 +4,8 @@ #include typedef __m256i int32x8; -#define int32x8_load(z) _mm256_loadu_si256((__m256i *) (z)) -#define int32x8_store(z,i) _mm256_storeu_si256((__m256i *) (z),(i)) +#define int32x8_load(z) _mm256_loadu_si256((__m256i_u *) (z)) +#define int32x8_store(z,i) _mm256_storeu_si256((__m256i_u *) (z),(i)) #define int32x8_min _mm256_min_epi32 #define int32x8_max _mm256_max_epi32 diff --git a/crypto_kem/mceliece460896/avx/bm.c b/crypto_kem/mceliece460896/avx/bm.c index 687be14c..de2999f0 100644 --- a/crypto_kem/mceliece460896/avx/bm.c +++ b/crypto_kem/mceliece460896/avx/bm.c @@ -135,6 +135,11 @@ static inline void get_coefs(gf *out, vec256 *in) { } } +typedef union { + vec128 as_128[GFBITS][2]; + vec256 as_256[GFBITS]; +} aligned_double_vec128; + /* input: in, sequence of field elements */ /* output: out, minimal polynomial of in */ void PQCLEAN_MCELIECE460896_AVX_bm(vec128 *out, vec256 *in) { @@ -147,9 +152,9 @@ void PQCLEAN_MCELIECE460896_AVX_bm(vec128 *out, vec256 *in) { vec128 prod[ GFBITS ]; vec128 interval[GFBITS]; - vec128 db[ GFBITS ][ 2 ]; - vec128 BC_tmp[ GFBITS ][ 2 ]; - vec128 BC[ GFBITS ][ 2 ]; + aligned_double_vec128 db; + aligned_double_vec128 BC_tmp; + aligned_double_vec128 BC; gf d, b; gf coefs[256]; @@ -158,11 +163,11 @@ void PQCLEAN_MCELIECE460896_AVX_bm(vec128 *out, vec256 *in) { get_coefs(coefs, in); - BC[0][0] = PQCLEAN_MCELIECE460896_AVX_vec128_set2x(0, one << 62); - BC[0][1] = PQCLEAN_MCELIECE460896_AVX_vec128_set2x(0, one << 63); + BC.as_128[0][0] = PQCLEAN_MCELIECE460896_AVX_vec128_set2x(0, one << 62); + BC.as_128[0][1] = PQCLEAN_MCELIECE460896_AVX_vec128_set2x(0, one << 63); for (i = 1; i < GFBITS; i++) { - BC[i][0] = BC[i][1] = PQCLEAN_MCELIECE460896_AVX_vec128_setzero(); + BC.as_128[i][0] = BC.as_128[i][1] = PQCLEAN_MCELIECE460896_AVX_vec128_setzero(); } b = 1; @@ -176,24 +181,24 @@ void PQCLEAN_MCELIECE460896_AVX_bm(vec128 *out, vec256 *in) { for (N = 0; N < SYS_T * 2; N++) { PQCLEAN_MCELIECE460896_AVX_update_asm(interval, coefs[N], 16); - PQCLEAN_MCELIECE460896_AVX_vec128_mul_asm(prod, interval, BC[0] + 1, 32); + PQCLEAN_MCELIECE460896_AVX_vec128_mul_asm(prod, interval, BC.as_128[0] + 1, 32); d = PQCLEAN_MCELIECE460896_AVX_vec_reduce_asm(prod); mask = mask_nonzero(d) & mask_leq(L * 2, N); for (i = 0; i < GFBITS; i++) { - db[i][0] = PQCLEAN_MCELIECE460896_AVX_vec128_setbits((d >> i) & 1); - db[i][1] = PQCLEAN_MCELIECE460896_AVX_vec128_setbits((b >> i) & 1); + db.as_128[i][0] = PQCLEAN_MCELIECE460896_AVX_vec128_setbits((d >> i) & 1); + db.as_128[i][1] = PQCLEAN_MCELIECE460896_AVX_vec128_setbits((b >> i) & 1); } - PQCLEAN_MCELIECE460896_AVX_vec256_mul((vec256 *) BC_tmp, (vec256 *) db, (vec256 *) BC); + PQCLEAN_MCELIECE460896_AVX_vec256_mul(BC_tmp.as_256, db.as_256, BC.as_256); - vec128_cmov(BC, mask); - PQCLEAN_MCELIECE460896_AVX_update_asm(BC, 0, 32); + vec128_cmov(BC.as_128, mask); + PQCLEAN_MCELIECE460896_AVX_update_asm(BC.as_128, 0, 32); for (i = 0; i < GFBITS; i++) { - BC[i][1] = PQCLEAN_MCELIECE460896_AVX_vec128_xor(BC_tmp[i][0], BC_tmp[i][1]); + BC.as_128[i][1] = PQCLEAN_MCELIECE460896_AVX_vec128_xor(BC_tmp.as_128[i][0], BC_tmp.as_128[i][1]); } b = (d & mask) | (b & ~mask); @@ -201,8 +206,8 @@ void PQCLEAN_MCELIECE460896_AVX_bm(vec128 *out, vec256 *in) { } for (i = 0; i < GFBITS; i++) { - v[0] = PQCLEAN_MCELIECE460896_AVX_vec128_extract(BC[i][1], 0); - v[1] = PQCLEAN_MCELIECE460896_AVX_vec128_extract(BC[i][1], 1); + v[0] = PQCLEAN_MCELIECE460896_AVX_vec128_extract(BC.as_128[i][1], 0); + v[1] = PQCLEAN_MCELIECE460896_AVX_vec128_extract(BC.as_128[i][1], 1); out[i] = PQCLEAN_MCELIECE460896_AVX_vec128_set2x((v[0] >> 31) | (v[1] << 33), v[1] >> 31); } diff --git a/crypto_kem/mceliece460896/avx/int32_sort.c b/crypto_kem/mceliece460896/avx/int32_sort.c index 6b71b048..d9577389 100644 --- a/crypto_kem/mceliece460896/avx/int32_sort.c +++ b/crypto_kem/mceliece460896/avx/int32_sort.c @@ -4,8 +4,8 @@ #include typedef __m256i int32x8; -#define int32x8_load(z) _mm256_loadu_si256((__m256i *) (z)) -#define int32x8_store(z,i) _mm256_storeu_si256((__m256i *) (z),(i)) +#define int32x8_load(z) _mm256_loadu_si256((__m256i_u *) (z)) +#define int32x8_store(z,i) _mm256_storeu_si256((__m256i_u *) (z),(i)) #define int32x8_min _mm256_min_epi32 #define int32x8_max _mm256_max_epi32 diff --git a/crypto_kem/mceliece460896f/avx/bm.c b/crypto_kem/mceliece460896f/avx/bm.c index e71ee94b..fa18f8f0 100644 --- a/crypto_kem/mceliece460896f/avx/bm.c +++ b/crypto_kem/mceliece460896f/avx/bm.c @@ -135,6 +135,11 @@ static inline void get_coefs(gf *out, vec256 *in) { } } +typedef union { + vec128 as_128[GFBITS][2]; + vec256 as_256[GFBITS]; +} aligned_double_vec128; + /* input: in, sequence of field elements */ /* output: out, minimal polynomial of in */ void PQCLEAN_MCELIECE460896F_AVX_bm(vec128 *out, vec256 *in) { @@ -147,9 +152,9 @@ void PQCLEAN_MCELIECE460896F_AVX_bm(vec128 *out, vec256 *in) { vec128 prod[ GFBITS ]; vec128 interval[GFBITS]; - vec128 db[ GFBITS ][ 2 ]; - vec128 BC_tmp[ GFBITS ][ 2 ]; - vec128 BC[ GFBITS ][ 2 ]; + aligned_double_vec128 db; + aligned_double_vec128 BC_tmp; + aligned_double_vec128 BC; gf d, b; gf coefs[256]; @@ -158,11 +163,11 @@ void PQCLEAN_MCELIECE460896F_AVX_bm(vec128 *out, vec256 *in) { get_coefs(coefs, in); - BC[0][0] = PQCLEAN_MCELIECE460896F_AVX_vec128_set2x(0, one << 62); - BC[0][1] = PQCLEAN_MCELIECE460896F_AVX_vec128_set2x(0, one << 63); + BC.as_128[0][0] = PQCLEAN_MCELIECE460896F_AVX_vec128_set2x(0, one << 62); + BC.as_128[0][1] = PQCLEAN_MCELIECE460896F_AVX_vec128_set2x(0, one << 63); for (i = 1; i < GFBITS; i++) { - BC[i][0] = BC[i][1] = PQCLEAN_MCELIECE460896F_AVX_vec128_setzero(); + BC.as_128[i][0] = BC.as_128[i][1] = PQCLEAN_MCELIECE460896F_AVX_vec128_setzero(); } b = 1; @@ -176,24 +181,24 @@ void PQCLEAN_MCELIECE460896F_AVX_bm(vec128 *out, vec256 *in) { for (N = 0; N < SYS_T * 2; N++) { PQCLEAN_MCELIECE460896F_AVX_update_asm(interval, coefs[N], 16); - PQCLEAN_MCELIECE460896F_AVX_vec128_mul_asm(prod, interval, BC[0] + 1, 32); + PQCLEAN_MCELIECE460896F_AVX_vec128_mul_asm(prod, interval, BC.as_128[0] + 1, 32); d = PQCLEAN_MCELIECE460896F_AVX_vec_reduce_asm(prod); mask = mask_nonzero(d) & mask_leq(L * 2, N); for (i = 0; i < GFBITS; i++) { - db[i][0] = PQCLEAN_MCELIECE460896F_AVX_vec128_setbits((d >> i) & 1); - db[i][1] = PQCLEAN_MCELIECE460896F_AVX_vec128_setbits((b >> i) & 1); + db.as_128[i][0] = PQCLEAN_MCELIECE460896F_AVX_vec128_setbits((d >> i) & 1); + db.as_128[i][1] = PQCLEAN_MCELIECE460896F_AVX_vec128_setbits((b >> i) & 1); } - PQCLEAN_MCELIECE460896F_AVX_vec256_mul((vec256 *) BC_tmp, (vec256 *) db, (vec256 *) BC); + PQCLEAN_MCELIECE460896F_AVX_vec256_mul(BC_tmp.as_256, db.as_256, BC.as_256); - vec128_cmov(BC, mask); - PQCLEAN_MCELIECE460896F_AVX_update_asm(BC, 0, 32); + vec128_cmov(BC.as_128, mask); + PQCLEAN_MCELIECE460896F_AVX_update_asm(BC.as_128, 0, 32); for (i = 0; i < GFBITS; i++) { - BC[i][1] = PQCLEAN_MCELIECE460896F_AVX_vec128_xor(BC_tmp[i][0], BC_tmp[i][1]); + BC.as_128[i][1] = PQCLEAN_MCELIECE460896F_AVX_vec128_xor(BC_tmp.as_128[i][0], BC_tmp.as_128[i][1]); } b = (d & mask) | (b & ~mask); @@ -201,8 +206,8 @@ void PQCLEAN_MCELIECE460896F_AVX_bm(vec128 *out, vec256 *in) { } for (i = 0; i < GFBITS; i++) { - v[0] = PQCLEAN_MCELIECE460896F_AVX_vec128_extract(BC[i][1], 0); - v[1] = PQCLEAN_MCELIECE460896F_AVX_vec128_extract(BC[i][1], 1); + v[0] = PQCLEAN_MCELIECE460896F_AVX_vec128_extract(BC.as_128[i][1], 0); + v[1] = PQCLEAN_MCELIECE460896F_AVX_vec128_extract(BC.as_128[i][1], 1); out[i] = PQCLEAN_MCELIECE460896F_AVX_vec128_set2x((v[0] >> 31) | (v[1] << 33), v[1] >> 31); } diff --git a/crypto_kem/mceliece460896f/avx/int32_sort.c b/crypto_kem/mceliece460896f/avx/int32_sort.c index fbae1dd7..f88bfc74 100644 --- a/crypto_kem/mceliece460896f/avx/int32_sort.c +++ b/crypto_kem/mceliece460896f/avx/int32_sort.c @@ -4,8 +4,8 @@ #include typedef __m256i int32x8; -#define int32x8_load(z) _mm256_loadu_si256((__m256i *) (z)) -#define int32x8_store(z,i) _mm256_storeu_si256((__m256i *) (z),(i)) +#define int32x8_load(z) _mm256_loadu_si256((__m256i_u *) (z)) +#define int32x8_store(z,i) _mm256_storeu_si256((__m256i_u *) (z),(i)) #define int32x8_min _mm256_min_epi32 #define int32x8_max _mm256_max_epi32 diff --git a/crypto_kem/mceliece6688128/avx/bm.c b/crypto_kem/mceliece6688128/avx/bm.c index 86366224..e06a27be 100644 --- a/crypto_kem/mceliece6688128/avx/bm.c +++ b/crypto_kem/mceliece6688128/avx/bm.c @@ -135,6 +135,11 @@ static inline void get_coefs(gf *out, vec256 *in) { } } +typedef union { + vec128 as_128[GFBITS][2]; + vec256 as_256[GFBITS]; +} aligned_double_vec128; + /* input: in, sequence of field elements */ /* output: out, minimal polynomial of in */ void PQCLEAN_MCELIECE6688128_AVX_bm(vec128 *out, vec256 *in) { @@ -146,9 +151,9 @@ void PQCLEAN_MCELIECE6688128_AVX_bm(vec128 *out, vec256 *in) { vec128 prod[ GFBITS ]; vec128 interval[GFBITS]; - vec128 db[ GFBITS ][ 2 ]; - vec128 BC_tmp[ GFBITS ][ 2 ]; - vec128 BC[ GFBITS ][ 2 ]; + aligned_double_vec128 db; + aligned_double_vec128 BC_tmp; + aligned_double_vec128 BC; gf d, b, c0 = 1; gf coefs[256]; @@ -157,11 +162,11 @@ void PQCLEAN_MCELIECE6688128_AVX_bm(vec128 *out, vec256 *in) { get_coefs(coefs, in); - BC[0][0] = PQCLEAN_MCELIECE6688128_AVX_vec128_set2x(0, one << 63); - BC[0][1] = PQCLEAN_MCELIECE6688128_AVX_vec128_setzero(); + BC.as_128[0][0] = PQCLEAN_MCELIECE6688128_AVX_vec128_set2x(0, one << 63); + BC.as_128[0][1] = PQCLEAN_MCELIECE6688128_AVX_vec128_setzero(); for (i = 1; i < GFBITS; i++) { - BC[i][0] = BC[i][1] = PQCLEAN_MCELIECE6688128_AVX_vec128_setzero(); + BC.as_128[i][0] = BC.as_128[i][1] = PQCLEAN_MCELIECE6688128_AVX_vec128_setzero(); } b = 1; @@ -174,7 +179,7 @@ void PQCLEAN_MCELIECE6688128_AVX_bm(vec128 *out, vec256 *in) { } for (N = 0; N < 256; N++) { - PQCLEAN_MCELIECE6688128_AVX_vec128_mul_asm(prod, interval, BC[0] + 1, 32); + PQCLEAN_MCELIECE6688128_AVX_vec128_mul_asm(prod, interval, BC.as_128[0] + 1, 32); PQCLEAN_MCELIECE6688128_AVX_update_asm(interval, coefs[N], 16); d = PQCLEAN_MCELIECE6688128_AVX_vec_reduce_asm(prod); @@ -185,17 +190,17 @@ void PQCLEAN_MCELIECE6688128_AVX_bm(vec128 *out, vec256 *in) { mask = mask_nonzero(d) & mask_leq(L * 2, N); for (i = 0; i < GFBITS; i++) { - db[i][0] = PQCLEAN_MCELIECE6688128_AVX_vec128_setbits((d >> i) & 1); - db[i][1] = PQCLEAN_MCELIECE6688128_AVX_vec128_setbits((b >> i) & 1); + db.as_128[i][0] = PQCLEAN_MCELIECE6688128_AVX_vec128_setbits((d >> i) & 1); + db.as_128[i][1] = PQCLEAN_MCELIECE6688128_AVX_vec128_setbits((b >> i) & 1); } - PQCLEAN_MCELIECE6688128_AVX_vec256_mul((vec256 *) BC_tmp, (vec256 *) db, (vec256 *) BC); + PQCLEAN_MCELIECE6688128_AVX_vec256_mul(BC_tmp.as_256, db.as_256, BC.as_256); - vec128_cmov(BC, mask); - PQCLEAN_MCELIECE6688128_AVX_update_asm(BC, c0 & mask, 32); + vec128_cmov(BC.as_128, mask); + PQCLEAN_MCELIECE6688128_AVX_update_asm(BC.as_128, c0 & mask, 32); for (i = 0; i < GFBITS; i++) { - BC[i][1] = PQCLEAN_MCELIECE6688128_AVX_vec128_xor(BC_tmp[i][0], BC_tmp[i][1]); + BC.as_128[i][1] = PQCLEAN_MCELIECE6688128_AVX_vec128_xor(BC_tmp.as_128[i][0], BC_tmp.as_128[i][1]); } c0 = t >> 32; @@ -209,6 +214,6 @@ void PQCLEAN_MCELIECE6688128_AVX_bm(vec128 *out, vec256 *in) { prod[i] = PQCLEAN_MCELIECE6688128_AVX_vec128_setbits((c0 >> i) & 1); } - PQCLEAN_MCELIECE6688128_AVX_vec128_mul_asm(out, prod, BC[0] + 1, 32); + PQCLEAN_MCELIECE6688128_AVX_vec128_mul_asm(out, prod, BC.as_128[0] + 1, 32); } diff --git a/crypto_kem/mceliece6688128/avx/int32_sort.c b/crypto_kem/mceliece6688128/avx/int32_sort.c index 0a844783..4421fdf1 100644 --- a/crypto_kem/mceliece6688128/avx/int32_sort.c +++ b/crypto_kem/mceliece6688128/avx/int32_sort.c @@ -4,8 +4,8 @@ #include typedef __m256i int32x8; -#define int32x8_load(z) _mm256_loadu_si256((__m256i *) (z)) -#define int32x8_store(z,i) _mm256_storeu_si256((__m256i *) (z),(i)) +#define int32x8_load(z) _mm256_loadu_si256((__m256i_u *) (z)) +#define int32x8_store(z,i) _mm256_storeu_si256((__m256i_u *) (z),(i)) #define int32x8_min _mm256_min_epi32 #define int32x8_max _mm256_max_epi32 diff --git a/crypto_kem/mceliece6688128f/avx/bm.c b/crypto_kem/mceliece6688128f/avx/bm.c index c9a95286..20b8d808 100644 --- a/crypto_kem/mceliece6688128f/avx/bm.c +++ b/crypto_kem/mceliece6688128f/avx/bm.c @@ -135,6 +135,11 @@ static inline void get_coefs(gf *out, vec256 *in) { } } +typedef union { + vec128 as_128[GFBITS][2]; + vec256 as_256[GFBITS]; +} aligned_double_vec128; + /* input: in, sequence of field elements */ /* output: out, minimal polynomial of in */ void PQCLEAN_MCELIECE6688128F_AVX_bm(vec128 *out, vec256 *in) { @@ -146,9 +151,9 @@ void PQCLEAN_MCELIECE6688128F_AVX_bm(vec128 *out, vec256 *in) { vec128 prod[ GFBITS ]; vec128 interval[GFBITS]; - vec128 db[ GFBITS ][ 2 ]; - vec128 BC_tmp[ GFBITS ][ 2 ]; - vec128 BC[ GFBITS ][ 2 ]; + aligned_double_vec128 db; + aligned_double_vec128 BC_tmp; + aligned_double_vec128 BC; gf d, b, c0 = 1; gf coefs[256]; @@ -157,11 +162,11 @@ void PQCLEAN_MCELIECE6688128F_AVX_bm(vec128 *out, vec256 *in) { get_coefs(coefs, in); - BC[0][0] = PQCLEAN_MCELIECE6688128F_AVX_vec128_set2x(0, one << 63); - BC[0][1] = PQCLEAN_MCELIECE6688128F_AVX_vec128_setzero(); + BC.as_128[0][0] = PQCLEAN_MCELIECE6688128F_AVX_vec128_set2x(0, one << 63); + BC.as_128[0][1] = PQCLEAN_MCELIECE6688128F_AVX_vec128_setzero(); for (i = 1; i < GFBITS; i++) { - BC[i][0] = BC[i][1] = PQCLEAN_MCELIECE6688128F_AVX_vec128_setzero(); + BC.as_128[i][0] = BC.as_128[i][1] = PQCLEAN_MCELIECE6688128F_AVX_vec128_setzero(); } b = 1; @@ -174,7 +179,7 @@ void PQCLEAN_MCELIECE6688128F_AVX_bm(vec128 *out, vec256 *in) { } for (N = 0; N < 256; N++) { - PQCLEAN_MCELIECE6688128F_AVX_vec128_mul_asm(prod, interval, BC[0] + 1, 32); + PQCLEAN_MCELIECE6688128F_AVX_vec128_mul_asm(prod, interval, BC.as_128[0] + 1, 32); PQCLEAN_MCELIECE6688128F_AVX_update_asm(interval, coefs[N], 16); d = PQCLEAN_MCELIECE6688128F_AVX_vec_reduce_asm(prod); @@ -185,17 +190,17 @@ void PQCLEAN_MCELIECE6688128F_AVX_bm(vec128 *out, vec256 *in) { mask = mask_nonzero(d) & mask_leq(L * 2, N); for (i = 0; i < GFBITS; i++) { - db[i][0] = PQCLEAN_MCELIECE6688128F_AVX_vec128_setbits((d >> i) & 1); - db[i][1] = PQCLEAN_MCELIECE6688128F_AVX_vec128_setbits((b >> i) & 1); + db.as_128[i][0] = PQCLEAN_MCELIECE6688128F_AVX_vec128_setbits((d >> i) & 1); + db.as_128[i][1] = PQCLEAN_MCELIECE6688128F_AVX_vec128_setbits((b >> i) & 1); } - PQCLEAN_MCELIECE6688128F_AVX_vec256_mul((vec256 *) BC_tmp, (vec256 *) db, (vec256 *) BC); + PQCLEAN_MCELIECE6688128F_AVX_vec256_mul(BC_tmp.as_256, db.as_256, BC.as_256); - vec128_cmov(BC, mask); - PQCLEAN_MCELIECE6688128F_AVX_update_asm(BC, c0 & mask, 32); + vec128_cmov(BC.as_128, mask); + PQCLEAN_MCELIECE6688128F_AVX_update_asm(BC.as_128, c0 & mask, 32); for (i = 0; i < GFBITS; i++) { - BC[i][1] = PQCLEAN_MCELIECE6688128F_AVX_vec128_xor(BC_tmp[i][0], BC_tmp[i][1]); + BC.as_128[i][1] = PQCLEAN_MCELIECE6688128F_AVX_vec128_xor(BC_tmp.as_128[i][0], BC_tmp.as_128[i][1]); } c0 = t >> 32; @@ -209,6 +214,6 @@ void PQCLEAN_MCELIECE6688128F_AVX_bm(vec128 *out, vec256 *in) { prod[i] = PQCLEAN_MCELIECE6688128F_AVX_vec128_setbits((c0 >> i) & 1); } - PQCLEAN_MCELIECE6688128F_AVX_vec128_mul_asm(out, prod, BC[0] + 1, 32); + PQCLEAN_MCELIECE6688128F_AVX_vec128_mul_asm(out, prod, BC.as_128[0] + 1, 32); } diff --git a/crypto_kem/mceliece6688128f/avx/int32_sort.c b/crypto_kem/mceliece6688128f/avx/int32_sort.c index f01b002e..4be2b525 100644 --- a/crypto_kem/mceliece6688128f/avx/int32_sort.c +++ b/crypto_kem/mceliece6688128f/avx/int32_sort.c @@ -4,8 +4,8 @@ #include typedef __m256i int32x8; -#define int32x8_load(z) _mm256_loadu_si256((__m256i *) (z)) -#define int32x8_store(z,i) _mm256_storeu_si256((__m256i *) (z),(i)) +#define int32x8_load(z) _mm256_loadu_si256((__m256i_u *) (z)) +#define int32x8_store(z,i) _mm256_storeu_si256((__m256i_u *) (z),(i)) #define int32x8_min _mm256_min_epi32 #define int32x8_max _mm256_max_epi32 diff --git a/crypto_kem/mceliece6960119/avx/bm.c b/crypto_kem/mceliece6960119/avx/bm.c index f80259ab..ea7e6bd0 100644 --- a/crypto_kem/mceliece6960119/avx/bm.c +++ b/crypto_kem/mceliece6960119/avx/bm.c @@ -135,6 +135,11 @@ static inline void get_coefs(gf *out, vec256 *in) { } } +typedef union { + vec128 as_128[GFBITS][2]; + vec256 as_256[GFBITS]; +} aligned_double_vec128; + /* input: in, sequence of field elements */ /* output: out, minimal polynomial of in */ void PQCLEAN_MCELIECE6960119_AVX_bm(vec128 *out, vec256 *in) { @@ -147,9 +152,9 @@ void PQCLEAN_MCELIECE6960119_AVX_bm(vec128 *out, vec256 *in) { vec128 prod[ GFBITS ]; vec128 interval[GFBITS]; - vec128 db[ GFBITS ][ 2 ]; - vec128 BC_tmp[ GFBITS ][ 2 ]; - vec128 BC[ GFBITS ][ 2 ]; + aligned_double_vec128 db; + aligned_double_vec128 BC_tmp; + aligned_double_vec128 BC; gf d, b; gf coefs[256]; @@ -158,11 +163,11 @@ void PQCLEAN_MCELIECE6960119_AVX_bm(vec128 *out, vec256 *in) { get_coefs(coefs, in); - BC[0][0] = PQCLEAN_MCELIECE6960119_AVX_vec128_set2x(0, one << 62); - BC[0][1] = PQCLEAN_MCELIECE6960119_AVX_vec128_set2x(0, one << 63); + BC.as_128[0][0] = PQCLEAN_MCELIECE6960119_AVX_vec128_set2x(0, one << 62); + BC.as_128[0][1] = PQCLEAN_MCELIECE6960119_AVX_vec128_set2x(0, one << 63); for (i = 1; i < GFBITS; i++) { - BC[i][0] = BC[i][1] = PQCLEAN_MCELIECE6960119_AVX_vec128_setzero(); + BC.as_128[i][0] = BC.as_128[i][1] = PQCLEAN_MCELIECE6960119_AVX_vec128_setzero(); } b = 1; @@ -176,24 +181,24 @@ void PQCLEAN_MCELIECE6960119_AVX_bm(vec128 *out, vec256 *in) { for (N = 0; N < SYS_T * 2; N++) { PQCLEAN_MCELIECE6960119_AVX_update_asm(interval, coefs[N], 16); - PQCLEAN_MCELIECE6960119_AVX_vec128_mul_asm(prod, interval, BC[0] + 1, 32); + PQCLEAN_MCELIECE6960119_AVX_vec128_mul_asm(prod, interval, BC.as_128[0] + 1, 32); d = PQCLEAN_MCELIECE6960119_AVX_vec_reduce_asm(prod); mask = mask_nonzero(d) & mask_leq(L * 2, N); for (i = 0; i < GFBITS; i++) { - db[i][0] = PQCLEAN_MCELIECE6960119_AVX_vec128_setbits((d >> i) & 1); - db[i][1] = PQCLEAN_MCELIECE6960119_AVX_vec128_setbits((b >> i) & 1); + db.as_128[i][0] = PQCLEAN_MCELIECE6960119_AVX_vec128_setbits((d >> i) & 1); + db.as_128[i][1] = PQCLEAN_MCELIECE6960119_AVX_vec128_setbits((b >> i) & 1); } - PQCLEAN_MCELIECE6960119_AVX_vec256_mul((vec256 *) BC_tmp, (vec256 *) db, (vec256 *) BC); + PQCLEAN_MCELIECE6960119_AVX_vec256_mul(BC_tmp.as_256, db.as_256, BC.as_256); - vec128_cmov(BC, mask); - PQCLEAN_MCELIECE6960119_AVX_update_asm(BC, 0, 32); + vec128_cmov(BC.as_128, mask); + PQCLEAN_MCELIECE6960119_AVX_update_asm(BC.as_128, 0, 32); for (i = 0; i < GFBITS; i++) { - BC[i][1] = PQCLEAN_MCELIECE6960119_AVX_vec128_xor(BC_tmp[i][0], BC_tmp[i][1]); + BC.as_128[i][1] = PQCLEAN_MCELIECE6960119_AVX_vec128_xor(BC_tmp.as_128[i][0], BC_tmp.as_128[i][1]); } b = (d & mask) | (b & ~mask); @@ -201,8 +206,8 @@ void PQCLEAN_MCELIECE6960119_AVX_bm(vec128 *out, vec256 *in) { } for (i = 0; i < GFBITS; i++) { - v[0] = PQCLEAN_MCELIECE6960119_AVX_vec128_extract(BC[i][1], 0); - v[1] = PQCLEAN_MCELIECE6960119_AVX_vec128_extract(BC[i][1], 1); + v[0] = PQCLEAN_MCELIECE6960119_AVX_vec128_extract(BC.as_128[i][1], 0); + v[1] = PQCLEAN_MCELIECE6960119_AVX_vec128_extract(BC.as_128[i][1], 1); out[i] = PQCLEAN_MCELIECE6960119_AVX_vec128_set2x((v[0] >> 8) | (v[1] << 56), v[1] >> 8); } diff --git a/crypto_kem/mceliece6960119/avx/int32_sort.c b/crypto_kem/mceliece6960119/avx/int32_sort.c index 30ffeb17..39785008 100644 --- a/crypto_kem/mceliece6960119/avx/int32_sort.c +++ b/crypto_kem/mceliece6960119/avx/int32_sort.c @@ -4,8 +4,8 @@ #include typedef __m256i int32x8; -#define int32x8_load(z) _mm256_loadu_si256((__m256i *) (z)) -#define int32x8_store(z,i) _mm256_storeu_si256((__m256i *) (z),(i)) +#define int32x8_load(z) _mm256_loadu_si256((__m256i_u *) (z)) +#define int32x8_store(z,i) _mm256_storeu_si256((__m256i_u *) (z),(i)) #define int32x8_min _mm256_min_epi32 #define int32x8_max _mm256_max_epi32 diff --git a/crypto_kem/mceliece6960119f/avx/bm.c b/crypto_kem/mceliece6960119f/avx/bm.c index 47cfa558..a5d56e09 100644 --- a/crypto_kem/mceliece6960119f/avx/bm.c +++ b/crypto_kem/mceliece6960119f/avx/bm.c @@ -135,6 +135,11 @@ static inline void get_coefs(gf *out, vec256 *in) { } } +typedef union { + vec128 as_128[GFBITS][2]; + vec256 as_256[GFBITS]; +} aligned_double_vec128; + /* input: in, sequence of field elements */ /* output: out, minimal polynomial of in */ void PQCLEAN_MCELIECE6960119F_AVX_bm(vec128 *out, vec256 *in) { @@ -147,9 +152,9 @@ void PQCLEAN_MCELIECE6960119F_AVX_bm(vec128 *out, vec256 *in) { vec128 prod[ GFBITS ]; vec128 interval[GFBITS]; - vec128 db[ GFBITS ][ 2 ]; - vec128 BC_tmp[ GFBITS ][ 2 ]; - vec128 BC[ GFBITS ][ 2 ]; + aligned_double_vec128 db; + aligned_double_vec128 BC_tmp; + aligned_double_vec128 BC; gf d, b; gf coefs[256]; @@ -158,11 +163,11 @@ void PQCLEAN_MCELIECE6960119F_AVX_bm(vec128 *out, vec256 *in) { get_coefs(coefs, in); - BC[0][0] = PQCLEAN_MCELIECE6960119F_AVX_vec128_set2x(0, one << 62); - BC[0][1] = PQCLEAN_MCELIECE6960119F_AVX_vec128_set2x(0, one << 63); + BC.as_128[0][0] = PQCLEAN_MCELIECE6960119F_AVX_vec128_set2x(0, one << 62); + BC.as_128[0][1] = PQCLEAN_MCELIECE6960119F_AVX_vec128_set2x(0, one << 63); for (i = 1; i < GFBITS; i++) { - BC[i][0] = BC[i][1] = PQCLEAN_MCELIECE6960119F_AVX_vec128_setzero(); + BC.as_128[i][0] = BC.as_128[i][1] = PQCLEAN_MCELIECE6960119F_AVX_vec128_setzero(); } b = 1; @@ -176,24 +181,24 @@ void PQCLEAN_MCELIECE6960119F_AVX_bm(vec128 *out, vec256 *in) { for (N = 0; N < SYS_T * 2; N++) { PQCLEAN_MCELIECE6960119F_AVX_update_asm(interval, coefs[N], 16); - PQCLEAN_MCELIECE6960119F_AVX_vec128_mul_asm(prod, interval, BC[0] + 1, 32); + PQCLEAN_MCELIECE6960119F_AVX_vec128_mul_asm(prod, interval, BC.as_128[0] + 1, 32); d = PQCLEAN_MCELIECE6960119F_AVX_vec_reduce_asm(prod); mask = mask_nonzero(d) & mask_leq(L * 2, N); for (i = 0; i < GFBITS; i++) { - db[i][0] = PQCLEAN_MCELIECE6960119F_AVX_vec128_setbits((d >> i) & 1); - db[i][1] = PQCLEAN_MCELIECE6960119F_AVX_vec128_setbits((b >> i) & 1); + db.as_128[i][0] = PQCLEAN_MCELIECE6960119F_AVX_vec128_setbits((d >> i) & 1); + db.as_128[i][1] = PQCLEAN_MCELIECE6960119F_AVX_vec128_setbits((b >> i) & 1); } - PQCLEAN_MCELIECE6960119F_AVX_vec256_mul((vec256 *) BC_tmp, (vec256 *) db, (vec256 *) BC); + PQCLEAN_MCELIECE6960119F_AVX_vec256_mul(BC_tmp.as_256, db.as_256, BC.as_256); - vec128_cmov(BC, mask); - PQCLEAN_MCELIECE6960119F_AVX_update_asm(BC, 0, 32); + vec128_cmov(BC.as_128, mask); + PQCLEAN_MCELIECE6960119F_AVX_update_asm(BC.as_128, 0, 32); for (i = 0; i < GFBITS; i++) { - BC[i][1] = PQCLEAN_MCELIECE6960119F_AVX_vec128_xor(BC_tmp[i][0], BC_tmp[i][1]); + BC.as_128[i][1] = PQCLEAN_MCELIECE6960119F_AVX_vec128_xor(BC_tmp.as_128[i][0], BC_tmp.as_128[i][1]); } b = (d & mask) | (b & ~mask); @@ -201,8 +206,8 @@ void PQCLEAN_MCELIECE6960119F_AVX_bm(vec128 *out, vec256 *in) { } for (i = 0; i < GFBITS; i++) { - v[0] = PQCLEAN_MCELIECE6960119F_AVX_vec128_extract(BC[i][1], 0); - v[1] = PQCLEAN_MCELIECE6960119F_AVX_vec128_extract(BC[i][1], 1); + v[0] = PQCLEAN_MCELIECE6960119F_AVX_vec128_extract(BC.as_128[i][1], 0); + v[1] = PQCLEAN_MCELIECE6960119F_AVX_vec128_extract(BC.as_128[i][1], 1); out[i] = PQCLEAN_MCELIECE6960119F_AVX_vec128_set2x((v[0] >> 8) | (v[1] << 56), v[1] >> 8); } diff --git a/crypto_kem/mceliece6960119f/avx/int32_sort.c b/crypto_kem/mceliece6960119f/avx/int32_sort.c index e8e6dd0b..9c38802a 100644 --- a/crypto_kem/mceliece6960119f/avx/int32_sort.c +++ b/crypto_kem/mceliece6960119f/avx/int32_sort.c @@ -4,8 +4,8 @@ #include typedef __m256i int32x8; -#define int32x8_load(z) _mm256_loadu_si256((__m256i *) (z)) -#define int32x8_store(z,i) _mm256_storeu_si256((__m256i *) (z),(i)) +#define int32x8_load(z) _mm256_loadu_si256((__m256i_u *) (z)) +#define int32x8_store(z,i) _mm256_storeu_si256((__m256i_u *) (z),(i)) #define int32x8_min _mm256_min_epi32 #define int32x8_max _mm256_max_epi32 diff --git a/crypto_kem/mceliece8192128/avx/bm.c b/crypto_kem/mceliece8192128/avx/bm.c index 3bbd29fb..30172e3d 100644 --- a/crypto_kem/mceliece8192128/avx/bm.c +++ b/crypto_kem/mceliece8192128/avx/bm.c @@ -135,6 +135,11 @@ static inline void get_coefs(gf *out, vec256 *in) { } } +typedef union { + vec128 as_128[GFBITS][2]; + vec256 as_256[GFBITS]; +} aligned_double_vec128; + /* input: in, sequence of field elements */ /* output: out, minimal polynomial of in */ void PQCLEAN_MCELIECE8192128_AVX_bm(vec128 *out, vec256 *in) { @@ -146,9 +151,9 @@ void PQCLEAN_MCELIECE8192128_AVX_bm(vec128 *out, vec256 *in) { vec128 prod[ GFBITS ]; vec128 interval[GFBITS]; - vec128 db[ GFBITS ][ 2 ]; - vec128 BC_tmp[ GFBITS ][ 2 ]; - vec128 BC[ GFBITS ][ 2 ]; + aligned_double_vec128 db; + aligned_double_vec128 BC_tmp; + aligned_double_vec128 BC; gf d, b, c0 = 1; gf coefs[256]; @@ -157,11 +162,11 @@ void PQCLEAN_MCELIECE8192128_AVX_bm(vec128 *out, vec256 *in) { get_coefs(coefs, in); - BC[0][0] = PQCLEAN_MCELIECE8192128_AVX_vec128_set2x(0, one << 63); - BC[0][1] = PQCLEAN_MCELIECE8192128_AVX_vec128_setzero(); + BC.as_128[0][0] = PQCLEAN_MCELIECE8192128_AVX_vec128_set2x(0, one << 63); + BC.as_128[0][1] = PQCLEAN_MCELIECE8192128_AVX_vec128_setzero(); for (i = 1; i < GFBITS; i++) { - BC[i][0] = BC[i][1] = PQCLEAN_MCELIECE8192128_AVX_vec128_setzero(); + BC.as_128[i][0] = BC.as_128[i][1] = PQCLEAN_MCELIECE8192128_AVX_vec128_setzero(); } b = 1; @@ -174,7 +179,7 @@ void PQCLEAN_MCELIECE8192128_AVX_bm(vec128 *out, vec256 *in) { } for (N = 0; N < 256; N++) { - PQCLEAN_MCELIECE8192128_AVX_vec128_mul_asm(prod, interval, BC[0] + 1, 32); + PQCLEAN_MCELIECE8192128_AVX_vec128_mul_asm(prod, interval, BC.as_128[0] + 1, 32); PQCLEAN_MCELIECE8192128_AVX_update_asm(interval, coefs[N], 16); d = PQCLEAN_MCELIECE8192128_AVX_vec_reduce_asm(prod); @@ -185,17 +190,17 @@ void PQCLEAN_MCELIECE8192128_AVX_bm(vec128 *out, vec256 *in) { mask = mask_nonzero(d) & mask_leq(L * 2, N); for (i = 0; i < GFBITS; i++) { - db[i][0] = PQCLEAN_MCELIECE8192128_AVX_vec128_setbits((d >> i) & 1); - db[i][1] = PQCLEAN_MCELIECE8192128_AVX_vec128_setbits((b >> i) & 1); + db.as_128[i][0] = PQCLEAN_MCELIECE8192128_AVX_vec128_setbits((d >> i) & 1); + db.as_128[i][1] = PQCLEAN_MCELIECE8192128_AVX_vec128_setbits((b >> i) & 1); } - PQCLEAN_MCELIECE8192128_AVX_vec256_mul((vec256 *) BC_tmp, (vec256 *) db, (vec256 *) BC); + PQCLEAN_MCELIECE8192128_AVX_vec256_mul(BC_tmp.as_256, db.as_256, BC.as_256); - vec128_cmov(BC, mask); - PQCLEAN_MCELIECE8192128_AVX_update_asm(BC, c0 & mask, 32); + vec128_cmov(BC.as_128, mask); + PQCLEAN_MCELIECE8192128_AVX_update_asm(BC.as_128, c0 & mask, 32); for (i = 0; i < GFBITS; i++) { - BC[i][1] = PQCLEAN_MCELIECE8192128_AVX_vec128_xor(BC_tmp[i][0], BC_tmp[i][1]); + BC.as_128[i][1] = PQCLEAN_MCELIECE8192128_AVX_vec128_xor(BC_tmp.as_128[i][0], BC_tmp.as_128[i][1]); } c0 = t >> 32; @@ -209,6 +214,6 @@ void PQCLEAN_MCELIECE8192128_AVX_bm(vec128 *out, vec256 *in) { prod[i] = PQCLEAN_MCELIECE8192128_AVX_vec128_setbits((c0 >> i) & 1); } - PQCLEAN_MCELIECE8192128_AVX_vec128_mul_asm(out, prod, BC[0] + 1, 32); + PQCLEAN_MCELIECE8192128_AVX_vec128_mul_asm(out, prod, BC.as_128[0] + 1, 32); } diff --git a/crypto_kem/mceliece8192128/avx/int32_sort.c b/crypto_kem/mceliece8192128/avx/int32_sort.c index 448e778b..a7eca2ba 100644 --- a/crypto_kem/mceliece8192128/avx/int32_sort.c +++ b/crypto_kem/mceliece8192128/avx/int32_sort.c @@ -4,8 +4,8 @@ #include typedef __m256i int32x8; -#define int32x8_load(z) _mm256_loadu_si256((__m256i *) (z)) -#define int32x8_store(z,i) _mm256_storeu_si256((__m256i *) (z),(i)) +#define int32x8_load(z) _mm256_loadu_si256((__m256i_u *) (z)) +#define int32x8_store(z,i) _mm256_storeu_si256((__m256i_u *) (z),(i)) #define int32x8_min _mm256_min_epi32 #define int32x8_max _mm256_max_epi32 diff --git a/crypto_kem/mceliece8192128f/META.yml b/crypto_kem/mceliece8192128f/META.yml index 907ade49..e7eba905 100644 --- a/crypto_kem/mceliece8192128f/META.yml +++ b/crypto_kem/mceliece8192128f/META.yml @@ -36,7 +36,7 @@ implementations: required_flags: - sse4_1 - popcnt - - bmi + - bmi1 - name: avx version: SUPERCOP-20191221 supported_platforms: @@ -47,4 +47,4 @@ implementations: required_flags: - avx2 - popcnt - - bmi + - bmi1 diff --git a/crypto_kem/mceliece8192128f/avx/bm.c b/crypto_kem/mceliece8192128f/avx/bm.c index 9595edc4..9b83e11e 100644 --- a/crypto_kem/mceliece8192128f/avx/bm.c +++ b/crypto_kem/mceliece8192128f/avx/bm.c @@ -55,11 +55,11 @@ static inline void interleave(vec256 *in, int idx0, int idx1, vec256 *mask, int vec256 x, y; - x = vec256_or(vec256_and(in[idx0], mask[0]), - vec256_sll_4x(vec256_and(in[idx1], mask[0]), s)); + x = PQCLEAN_MCELIECE8192128F_AVX_vec256_or(PQCLEAN_MCELIECE8192128F_AVX_vec256_and(in[idx0], mask[0]), + PQCLEAN_MCELIECE8192128F_AVX_vec256_sll_4x(PQCLEAN_MCELIECE8192128F_AVX_vec256_and(in[idx1], mask[0]), s)); - y = vec256_or(vec256_srl_4x(vec256_and(in[idx0], mask[1]), s), - vec256_and(in[idx1], mask[1])); + y = PQCLEAN_MCELIECE8192128F_AVX_vec256_or(PQCLEAN_MCELIECE8192128F_AVX_vec256_srl_4x(PQCLEAN_MCELIECE8192128F_AVX_vec256_and(in[idx0], mask[1]), s), + PQCLEAN_MCELIECE8192128F_AVX_vec256_and(in[idx1], mask[1])); in[idx0] = x; in[idx1] = y; @@ -77,17 +77,17 @@ static inline void get_coefs(gf *out, vec256 *in) { buf[i] = in[i]; } for (i = 13; i < 16; i++) { - buf[i] = vec256_setzero(); + buf[i] = PQCLEAN_MCELIECE8192128F_AVX_vec256_setzero(); } - mask[0][0] = vec256_set1_16b(0x5555); - mask[0][1] = vec256_set1_16b(0xAAAA); - mask[1][0] = vec256_set1_16b(0x3333); - mask[1][1] = vec256_set1_16b(0xCCCC); - mask[2][0] = vec256_set1_16b(0x0F0F); - mask[2][1] = vec256_set1_16b(0xF0F0); - mask[3][0] = vec256_set1_16b(0x00FF); - mask[3][1] = vec256_set1_16b(0xFF00); + mask[0][0] = PQCLEAN_MCELIECE8192128F_AVX_vec256_set1_16b(0x5555); + mask[0][1] = PQCLEAN_MCELIECE8192128F_AVX_vec256_set1_16b(0xAAAA); + mask[1][0] = PQCLEAN_MCELIECE8192128F_AVX_vec256_set1_16b(0x3333); + mask[1][1] = PQCLEAN_MCELIECE8192128F_AVX_vec256_set1_16b(0xCCCC); + mask[2][0] = PQCLEAN_MCELIECE8192128F_AVX_vec256_set1_16b(0x0F0F); + mask[2][1] = PQCLEAN_MCELIECE8192128F_AVX_vec256_set1_16b(0xF0F0); + mask[3][0] = PQCLEAN_MCELIECE8192128F_AVX_vec256_set1_16b(0x00FF); + mask[3][1] = PQCLEAN_MCELIECE8192128F_AVX_vec256_set1_16b(0xFF00); interleave(buf, 0, 8, mask[3], 3); interleave(buf, 1, 9, mask[3], 3); @@ -127,14 +127,19 @@ static inline void get_coefs(gf *out, vec256 *in) { for (i = 0; i < 16; i++) { for (k = 0; k < 4; k++) { - out[ (4 * 0 + k) * 16 + i ] = (vec256_extract(buf[i], 0) >> (k * 16)) & GFMASK; - out[ (4 * 1 + k) * 16 + i ] = (vec256_extract(buf[i], 1) >> (k * 16)) & GFMASK; - out[ (4 * 2 + k) * 16 + i ] = (vec256_extract(buf[i], 2) >> (k * 16)) & GFMASK; - out[ (4 * 3 + k) * 16 + i ] = (vec256_extract(buf[i], 3) >> (k * 16)) & GFMASK; + out[ (4 * 0 + k) * 16 + i ] = (PQCLEAN_MCELIECE8192128F_AVX_vec256_extract(buf[i], 0) >> (k * 16)) & GFMASK; + out[ (4 * 1 + k) * 16 + i ] = (PQCLEAN_MCELIECE8192128F_AVX_vec256_extract(buf[i], 1) >> (k * 16)) & GFMASK; + out[ (4 * 2 + k) * 16 + i ] = (PQCLEAN_MCELIECE8192128F_AVX_vec256_extract(buf[i], 2) >> (k * 16)) & GFMASK; + out[ (4 * 3 + k) * 16 + i ] = (PQCLEAN_MCELIECE8192128F_AVX_vec256_extract(buf[i], 3) >> (k * 16)) & GFMASK; } } } +typedef union { + vec128 as_128[GFBITS][2]; + vec256 as_256[GFBITS]; +} aligned_double_vec128; + /* input: in, sequence of field elements */ /* output: out, minimal polynomial of in */ void PQCLEAN_MCELIECE8192128F_AVX_bm(vec128 *out, vec256 *in) { @@ -146,9 +151,9 @@ void PQCLEAN_MCELIECE8192128F_AVX_bm(vec128 *out, vec256 *in) { vec128 prod[ GFBITS ]; vec128 interval[GFBITS]; - vec128 db[ GFBITS ][ 2 ]; - vec128 BC_tmp[ GFBITS ][ 2 ]; - vec128 BC[ GFBITS ][ 2 ]; + aligned_double_vec128 db; + aligned_double_vec128 BC_tmp; + aligned_double_vec128 BC; gf d, b, c0 = 1; gf coefs[256]; @@ -157,11 +162,11 @@ void PQCLEAN_MCELIECE8192128F_AVX_bm(vec128 *out, vec256 *in) { get_coefs(coefs, in); - BC[0][0] = PQCLEAN_MCELIECE8192128F_AVX_vec128_set2x(0, one << 63); - BC[0][1] = PQCLEAN_MCELIECE8192128F_AVX_vec128_setzero(); + BC.as_128[0][0] = PQCLEAN_MCELIECE8192128F_AVX_vec128_set2x(0, one << 63); + BC.as_128[0][1] = PQCLEAN_MCELIECE8192128F_AVX_vec128_setzero(); for (i = 1; i < GFBITS; i++) { - BC[i][0] = BC[i][1] = PQCLEAN_MCELIECE8192128F_AVX_vec128_setzero(); + BC.as_128[i][0] = BC.as_128[i][1] = PQCLEAN_MCELIECE8192128F_AVX_vec128_setzero(); } b = 1; @@ -174,7 +179,7 @@ void PQCLEAN_MCELIECE8192128F_AVX_bm(vec128 *out, vec256 *in) { } for (N = 0; N < 256; N++) { - PQCLEAN_MCELIECE8192128F_AVX_vec128_mul_asm(prod, interval, BC[0] + 1, 32); + PQCLEAN_MCELIECE8192128F_AVX_vec128_mul_asm(prod, interval, BC.as_128[0] + 1, 32); PQCLEAN_MCELIECE8192128F_AVX_update_asm(interval, coefs[N], 16); d = PQCLEAN_MCELIECE8192128F_AVX_vec_reduce_asm(prod); @@ -185,17 +190,17 @@ void PQCLEAN_MCELIECE8192128F_AVX_bm(vec128 *out, vec256 *in) { mask = mask_nonzero(d) & mask_leq(L * 2, N); for (i = 0; i < GFBITS; i++) { - db[i][0] = PQCLEAN_MCELIECE8192128F_AVX_vec128_setbits((d >> i) & 1); - db[i][1] = PQCLEAN_MCELIECE8192128F_AVX_vec128_setbits((b >> i) & 1); + db.as_128[i][0] = PQCLEAN_MCELIECE8192128F_AVX_vec128_setbits((d >> i) & 1); + db.as_128[i][1] = PQCLEAN_MCELIECE8192128F_AVX_vec128_setbits((b >> i) & 1); } - vec256_mul((vec256 *) BC_tmp, (vec256 *) db, (vec256 *) BC); + PQCLEAN_MCELIECE8192128F_AVX_vec256_mul(BC_tmp.as_256, db.as_256, BC.as_256); - vec128_cmov(BC, mask); - PQCLEAN_MCELIECE8192128F_AVX_update_asm(BC, c0 & mask, 32); + vec128_cmov(BC.as_128, mask); + PQCLEAN_MCELIECE8192128F_AVX_update_asm(BC.as_128, c0 & mask, 32); for (i = 0; i < GFBITS; i++) { - BC[i][1] = PQCLEAN_MCELIECE8192128F_AVX_vec128_xor(BC_tmp[i][0], BC_tmp[i][1]); + BC.as_128[i][1] = PQCLEAN_MCELIECE8192128F_AVX_vec128_xor(BC_tmp.as_128[i][0], BC_tmp.as_128[i][1]); } c0 = t >> 32; @@ -209,6 +214,6 @@ void PQCLEAN_MCELIECE8192128F_AVX_bm(vec128 *out, vec256 *in) { prod[i] = PQCLEAN_MCELIECE8192128F_AVX_vec128_setbits((c0 >> i) & 1); } - PQCLEAN_MCELIECE8192128F_AVX_vec128_mul_asm(out, prod, BC[0] + 1, 32); + PQCLEAN_MCELIECE8192128F_AVX_vec128_mul_asm(out, prod, BC.as_128[0] + 1, 32); } diff --git a/crypto_kem/mceliece8192128f/avx/consts.inc b/crypto_kem/mceliece8192128f/avx/consts.inc index bfbba9dd..fabf20e2 100644 --- a/crypto_kem/mceliece8192128f/avx/consts.inc +++ b/crypto_kem/mceliece8192128f/avx/consts.inc @@ -1,502 +1,502 @@ //64 { - vec256_set4x(0X6969969669699696, 0X6969969669699696, 0X6969969669699696, 0X6969969669699696), - vec256_set4x(0X9966669966999966, 0X9966669966999966, 0X9966669966999966, 0X9966669966999966), - vec256_set4x(0X9966669966999966, 0X9966669966999966, 0X9966669966999966, 0X9966669966999966), - vec256_set4x(0XFF0000FF00FFFF00, 0XFF0000FF00FFFF00, 0XFF0000FF00FFFF00, 0XFF0000FF00FFFF00), - vec256_set4x(0XCC3333CCCC3333CC, 0XCC3333CCCC3333CC, 0XCC3333CCCC3333CC, 0XCC3333CCCC3333CC), - vec256_set4x(0X9966669966999966, 0X9966669966999966, 0X9966669966999966, 0X9966669966999966), - vec256_set4x(0X6666666666666666, 0X6666666666666666, 0X6666666666666666, 0X6666666666666666), - vec256_set4x(0XA55AA55AA55AA55A, 0XA55AA55AA55AA55A, 0XA55AA55AA55AA55A, 0XA55AA55AA55AA55A), - vec256_set4x(0XCCCC33333333CCCC, 0XCCCC33333333CCCC, 0XCCCC33333333CCCC, 0XCCCC33333333CCCC), - vec256_set4x(0X5A5A5A5A5A5A5A5A, 0X5A5A5A5A5A5A5A5A, 0X5A5A5A5A5A5A5A5A, 0X5A5A5A5A5A5A5A5A), - vec256_set4x(0X55AAAA55AA5555AA, 0X55AAAA55AA5555AA, 0X55AAAA55AA5555AA, 0X55AAAA55AA5555AA), - vec256_set4x(0X0FF0F00FF00F0FF0, 0X0FF0F00FF00F0FF0, 0X0FF0F00FF00F0FF0, 0X0FF0F00FF00F0FF0), - vec256_set4x(0X5AA55AA5A55AA55A, 0X5AA55AA5A55AA55A, 0X5AA55AA5A55AA55A, 0X5AA55AA5A55AA55A) + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X6969969669699696, 0X6969969669699696, 0X6969969669699696, 0X6969969669699696), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X9966669966999966, 0X9966669966999966, 0X9966669966999966, 0X9966669966999966), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X9966669966999966, 0X9966669966999966, 0X9966669966999966, 0X9966669966999966), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XFF0000FF00FFFF00, 0XFF0000FF00FFFF00, 0XFF0000FF00FFFF00, 0XFF0000FF00FFFF00), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XCC3333CCCC3333CC, 0XCC3333CCCC3333CC, 0XCC3333CCCC3333CC, 0XCC3333CCCC3333CC), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X9966669966999966, 0X9966669966999966, 0X9966669966999966, 0X9966669966999966), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X6666666666666666, 0X6666666666666666, 0X6666666666666666, 0X6666666666666666), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XA55AA55AA55AA55A, 0XA55AA55AA55AA55A, 0XA55AA55AA55AA55A, 0XA55AA55AA55AA55A), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XCCCC33333333CCCC, 0XCCCC33333333CCCC, 0XCCCC33333333CCCC, 0XCCCC33333333CCCC), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X5A5A5A5A5A5A5A5A, 0X5A5A5A5A5A5A5A5A, 0X5A5A5A5A5A5A5A5A, 0X5A5A5A5A5A5A5A5A), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X55AAAA55AA5555AA, 0X55AAAA55AA5555AA, 0X55AAAA55AA5555AA, 0X55AAAA55AA5555AA), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X0FF0F00FF00F0FF0, 0X0FF0F00FF00F0FF0, 0X0FF0F00FF00F0FF0, 0X0FF0F00FF00F0FF0), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X5AA55AA5A55AA55A, 0X5AA55AA5A55AA55A, 0X5AA55AA5A55AA55A, 0X5AA55AA5A55AA55A) }, //128 { - vec256_set4x(0XA55A5AA55AA5A55A, 0XA55A5AA55AA5A55A, 0XA55A5AA55AA5A55A, 0XA55A5AA55AA5A55A), - vec256_set4x(0X6969696996969696, 0X6969696996969696, 0X6969696996969696, 0X6969696996969696), - vec256_set4x(0X5AA55AA5A55AA55A, 0X5AA55AA5A55AA55A, 0X5AA55AA5A55AA55A, 0X5AA55AA5A55AA55A), - vec256_set4x(0X9999999966666666, 0X6666666699999999, 0X9999999966666666, 0X6666666699999999), - vec256_set4x(0X3C3CC3C3C3C33C3C, 0XC3C33C3C3C3CC3C3, 0X3C3CC3C3C3C33C3C, 0XC3C33C3C3C3CC3C3), - vec256_set4x(0XFFFF0000FFFF0000, 0X0000FFFF0000FFFF, 0XFFFF0000FFFF0000, 0X0000FFFF0000FFFF), - vec256_set4x(0X0000000000000000, 0X0000000000000000, 0X0000000000000000, 0X0000000000000000), - vec256_set4x(0XCC33CC3333CC33CC, 0X33CC33CCCC33CC33, 0XCC33CC3333CC33CC, 0X33CC33CCCC33CC33), - vec256_set4x(0X0000000000000000, 0X0000000000000000, 0X0000000000000000, 0X0000000000000000), - vec256_set4x(0X3C3C3C3C3C3C3C3C, 0X3C3C3C3C3C3C3C3C, 0X3C3C3C3C3C3C3C3C, 0X3C3C3C3C3C3C3C3C), - vec256_set4x(0XAA5555AAAA5555AA, 0XAA5555AAAA5555AA, 0XAA5555AAAA5555AA, 0XAA5555AAAA5555AA), - vec256_set4x(0XC33C3CC33CC3C33C, 0XC33C3CC33CC3C33C, 0XC33C3CC33CC3C33C, 0XC33C3CC33CC3C33C), - vec256_set4x(0X00FFFF0000FFFF00, 0XFF0000FFFF0000FF, 0X00FFFF0000FFFF00, 0XFF0000FFFF0000FF) + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XA55A5AA55AA5A55A, 0XA55A5AA55AA5A55A, 0XA55A5AA55AA5A55A, 0XA55A5AA55AA5A55A), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X6969696996969696, 0X6969696996969696, 0X6969696996969696, 0X6969696996969696), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X5AA55AA5A55AA55A, 0X5AA55AA5A55AA55A, 0X5AA55AA5A55AA55A, 0X5AA55AA5A55AA55A), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X9999999966666666, 0X6666666699999999, 0X9999999966666666, 0X6666666699999999), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X3C3CC3C3C3C33C3C, 0XC3C33C3C3C3CC3C3, 0X3C3CC3C3C3C33C3C, 0XC3C33C3C3C3CC3C3), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XFFFF0000FFFF0000, 0X0000FFFF0000FFFF, 0XFFFF0000FFFF0000, 0X0000FFFF0000FFFF), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X0000000000000000, 0X0000000000000000, 0X0000000000000000, 0X0000000000000000), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XCC33CC3333CC33CC, 0X33CC33CCCC33CC33, 0XCC33CC3333CC33CC, 0X33CC33CCCC33CC33), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X0000000000000000, 0X0000000000000000, 0X0000000000000000, 0X0000000000000000), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X3C3C3C3C3C3C3C3C, 0X3C3C3C3C3C3C3C3C, 0X3C3C3C3C3C3C3C3C, 0X3C3C3C3C3C3C3C3C), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XAA5555AAAA5555AA, 0XAA5555AAAA5555AA, 0XAA5555AAAA5555AA, 0XAA5555AAAA5555AA), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XC33C3CC33CC3C33C, 0XC33C3CC33CC3C33C, 0XC33C3CC33CC3C33C, 0XC33C3CC33CC3C33C), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X00FFFF0000FFFF00, 0XFF0000FFFF0000FF, 0X00FFFF0000FFFF00, 0XFF0000FFFF0000FF) }, //256 { - vec256_set4x(0XFFFFFFFF00000000, 0XFFFFFFFF00000000, 0XFFFFFFFF00000000, 0XFFFFFFFF00000000), - vec256_set4x(0XA5A5A5A55A5A5A5A, 0XA5A5A5A55A5A5A5A, 0X5A5A5A5AA5A5A5A5, 0X5A5A5A5AA5A5A5A5), - vec256_set4x(0X0FF0F00FF00F0FF0, 0X0FF0F00FF00F0FF0, 0XF00F0FF00FF0F00F, 0XF00F0FF00FF0F00F), - vec256_set4x(0X9669966969966996, 0X6996699696699669, 0X6996699696699669, 0X9669966969966996), - vec256_set4x(0X0000FFFFFFFF0000, 0XFFFF00000000FFFF, 0X0000FFFFFFFF0000, 0XFFFF00000000FFFF), - vec256_set4x(0X33333333CCCCCCCC, 0X33333333CCCCCCCC, 0X33333333CCCCCCCC, 0X33333333CCCCCCCC), - vec256_set4x(0XA55A5AA55AA5A55A, 0X5AA5A55AA55A5AA5, 0X5AA5A55AA55A5AA5, 0XA55A5AA55AA5A55A), - vec256_set4x(0X00FFFF0000FFFF00, 0XFF0000FFFF0000FF, 0XFF0000FFFF0000FF, 0X00FFFF0000FFFF00), - vec256_set4x(0X0000000000000000, 0XFFFFFFFFFFFFFFFF, 0XFFFFFFFFFFFFFFFF, 0X0000000000000000), - vec256_set4x(0XC33CC33CC33CC33C, 0XC33CC33CC33CC33C, 0XC33CC33CC33CC33C, 0XC33CC33CC33CC33C), - vec256_set4x(0X0F0FF0F00F0FF0F0, 0X0F0FF0F00F0FF0F0, 0X0F0FF0F00F0FF0F0, 0X0F0FF0F00F0FF0F0), - vec256_set4x(0XCCCCCCCCCCCCCCCC, 0XCCCCCCCCCCCCCCCC, 0XCCCCCCCCCCCCCCCC, 0XCCCCCCCCCCCCCCCC), - vec256_set4x(0XAAAA55555555AAAA, 0X5555AAAAAAAA5555, 0XAAAA55555555AAAA, 0X5555AAAAAAAA5555) + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XFFFFFFFF00000000, 0XFFFFFFFF00000000, 0XFFFFFFFF00000000, 0XFFFFFFFF00000000), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XA5A5A5A55A5A5A5A, 0XA5A5A5A55A5A5A5A, 0X5A5A5A5AA5A5A5A5, 0X5A5A5A5AA5A5A5A5), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X0FF0F00FF00F0FF0, 0X0FF0F00FF00F0FF0, 0XF00F0FF00FF0F00F, 0XF00F0FF00FF0F00F), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X9669966969966996, 0X6996699696699669, 0X6996699696699669, 0X9669966969966996), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X0000FFFFFFFF0000, 0XFFFF00000000FFFF, 0X0000FFFFFFFF0000, 0XFFFF00000000FFFF), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X33333333CCCCCCCC, 0X33333333CCCCCCCC, 0X33333333CCCCCCCC, 0X33333333CCCCCCCC), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XA55A5AA55AA5A55A, 0X5AA5A55AA55A5AA5, 0X5AA5A55AA55A5AA5, 0XA55A5AA55AA5A55A), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X00FFFF0000FFFF00, 0XFF0000FFFF0000FF, 0XFF0000FFFF0000FF, 0X00FFFF0000FFFF00), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X0000000000000000, 0XFFFFFFFFFFFFFFFF, 0XFFFFFFFFFFFFFFFF, 0X0000000000000000), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XC33CC33CC33CC33C, 0XC33CC33CC33CC33C, 0XC33CC33CC33CC33C, 0XC33CC33CC33CC33C), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X0F0FF0F00F0FF0F0, 0X0F0FF0F00F0FF0F0, 0X0F0FF0F00F0FF0F0, 0X0F0FF0F00F0FF0F0), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XCCCCCCCCCCCCCCCC, 0XCCCCCCCCCCCCCCCC, 0XCCCCCCCCCCCCCCCC, 0XCCCCCCCCCCCCCCCC), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XAAAA55555555AAAA, 0X5555AAAAAAAA5555, 0XAAAA55555555AAAA, 0X5555AAAAAAAA5555) }, //512 { - vec256_set4x(0XC33C3CC33CC3C33C, 0X3CC3C33CC33C3CC3, 0XC33C3CC33CC3C33C, 0X3CC3C33CC33C3CC3), - vec256_set4x(0X9966669966999966, 0X6699996699666699, 0X9966669966999966, 0X6699996699666699), - vec256_set4x(0X9966996699669966, 0X6699669966996699, 0X6699669966996699, 0X9966996699669966), - vec256_set4x(0X6969969669699696, 0X6969969669699696, 0X6969969669699696, 0X6969969669699696), - vec256_set4x(0XAA55AA5555AA55AA, 0XAA55AA5555AA55AA, 0XAA55AA5555AA55AA, 0XAA55AA5555AA55AA), - vec256_set4x(0X9966996699669966, 0X9966996699669966, 0X6699669966996699, 0X6699669966996699), - vec256_set4x(0X5AA5A55A5AA5A55A, 0XA55A5AA5A55A5AA5, 0X5AA5A55A5AA5A55A, 0XA55A5AA5A55A5AA5), - vec256_set4x(0XC3C3C3C33C3C3C3C, 0XC3C3C3C33C3C3C3C, 0X3C3C3C3CC3C3C3C3, 0X3C3C3C3CC3C3C3C3), - vec256_set4x(0X3CC33CC3C33CC33C, 0X3CC33CC3C33CC33C, 0XC33CC33C3CC33CC3, 0XC33CC33C3CC33CC3), - vec256_set4x(0X3333CCCC3333CCCC, 0X3333CCCC3333CCCC, 0XCCCC3333CCCC3333, 0XCCCC3333CCCC3333), - vec256_set4x(0X9999999966666666, 0X6666666699999999, 0X6666666699999999, 0X9999999966666666), - vec256_set4x(0XC33CC33CC33CC33C, 0X3CC33CC33CC33CC3, 0XC33CC33CC33CC33C, 0X3CC33CC33CC33CC3), - vec256_set4x(0X6666999999996666, 0X9999666666669999, 0X9999666666669999, 0X6666999999996666) + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XC33C3CC33CC3C33C, 0X3CC3C33CC33C3CC3, 0XC33C3CC33CC3C33C, 0X3CC3C33CC33C3CC3), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X9966669966999966, 0X6699996699666699, 0X9966669966999966, 0X6699996699666699), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X9966996699669966, 0X6699669966996699, 0X6699669966996699, 0X9966996699669966), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X6969969669699696, 0X6969969669699696, 0X6969969669699696, 0X6969969669699696), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XAA55AA5555AA55AA, 0XAA55AA5555AA55AA, 0XAA55AA5555AA55AA, 0XAA55AA5555AA55AA), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X9966996699669966, 0X9966996699669966, 0X6699669966996699, 0X6699669966996699), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X5AA5A55A5AA5A55A, 0XA55A5AA5A55A5AA5, 0X5AA5A55A5AA5A55A, 0XA55A5AA5A55A5AA5), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XC3C3C3C33C3C3C3C, 0XC3C3C3C33C3C3C3C, 0X3C3C3C3CC3C3C3C3, 0X3C3C3C3CC3C3C3C3), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X3CC33CC3C33CC33C, 0X3CC33CC3C33CC33C, 0XC33CC33C3CC33CC3, 0XC33CC33C3CC33CC3), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X3333CCCC3333CCCC, 0X3333CCCC3333CCCC, 0XCCCC3333CCCC3333, 0XCCCC3333CCCC3333), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X9999999966666666, 0X6666666699999999, 0X6666666699999999, 0X9999999966666666), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XC33CC33CC33CC33C, 0X3CC33CC33CC33CC3, 0XC33CC33CC33CC33C, 0X3CC33CC33CC33CC3), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X6666999999996666, 0X9999666666669999, 0X9999666666669999, 0X6666999999996666) }, { - vec256_set4x(0XC33C3CC33CC3C33C, 0X3CC3C33CC33C3CC3, 0XC33C3CC33CC3C33C, 0X3CC3C33CC33C3CC3), - vec256_set4x(0X6699996699666699, 0X9966669966999966, 0X6699996699666699, 0X9966669966999966), - vec256_set4x(0X6699669966996699, 0X9966996699669966, 0X9966996699669966, 0X6699669966996699), - vec256_set4x(0X6969969669699696, 0X6969969669699696, 0X6969969669699696, 0X6969969669699696), - vec256_set4x(0X55AA55AAAA55AA55, 0X55AA55AAAA55AA55, 0X55AA55AAAA55AA55, 0X55AA55AAAA55AA55), - vec256_set4x(0X9966996699669966, 0X9966996699669966, 0X6699669966996699, 0X6699669966996699), - vec256_set4x(0X5AA5A55A5AA5A55A, 0XA55A5AA5A55A5AA5, 0X5AA5A55A5AA5A55A, 0XA55A5AA5A55A5AA5), - vec256_set4x(0XC3C3C3C33C3C3C3C, 0XC3C3C3C33C3C3C3C, 0X3C3C3C3CC3C3C3C3, 0X3C3C3C3CC3C3C3C3), - vec256_set4x(0XC33CC33C3CC33CC3, 0XC33CC33C3CC33CC3, 0X3CC33CC3C33CC33C, 0X3CC33CC3C33CC33C), - vec256_set4x(0X3333CCCC3333CCCC, 0X3333CCCC3333CCCC, 0XCCCC3333CCCC3333, 0XCCCC3333CCCC3333), - vec256_set4x(0X9999999966666666, 0X6666666699999999, 0X6666666699999999, 0X9999999966666666), - vec256_set4x(0XC33CC33CC33CC33C, 0X3CC33CC33CC33CC3, 0XC33CC33CC33CC33C, 0X3CC33CC33CC33CC3), - vec256_set4x(0X6666999999996666, 0X9999666666669999, 0X9999666666669999, 0X6666999999996666) + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XC33C3CC33CC3C33C, 0X3CC3C33CC33C3CC3, 0XC33C3CC33CC3C33C, 0X3CC3C33CC33C3CC3), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X6699996699666699, 0X9966669966999966, 0X6699996699666699, 0X9966669966999966), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X6699669966996699, 0X9966996699669966, 0X9966996699669966, 0X6699669966996699), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X6969969669699696, 0X6969969669699696, 0X6969969669699696, 0X6969969669699696), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X55AA55AAAA55AA55, 0X55AA55AAAA55AA55, 0X55AA55AAAA55AA55, 0X55AA55AAAA55AA55), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X9966996699669966, 0X9966996699669966, 0X6699669966996699, 0X6699669966996699), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X5AA5A55A5AA5A55A, 0XA55A5AA5A55A5AA5, 0X5AA5A55A5AA5A55A, 0XA55A5AA5A55A5AA5), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XC3C3C3C33C3C3C3C, 0XC3C3C3C33C3C3C3C, 0X3C3C3C3CC3C3C3C3, 0X3C3C3C3CC3C3C3C3), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XC33CC33C3CC33CC3, 0XC33CC33C3CC33CC3, 0X3CC33CC3C33CC33C, 0X3CC33CC3C33CC33C), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X3333CCCC3333CCCC, 0X3333CCCC3333CCCC, 0XCCCC3333CCCC3333, 0XCCCC3333CCCC3333), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X9999999966666666, 0X6666666699999999, 0X6666666699999999, 0X9999999966666666), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XC33CC33CC33CC33C, 0X3CC33CC33CC33CC3, 0XC33CC33CC33CC33C, 0X3CC33CC33CC33CC3), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X6666999999996666, 0X9999666666669999, 0X9999666666669999, 0X6666999999996666) }, //1024 { - vec256_set4x(0X3C3CC3C3C3C33C3C, 0XC3C33C3C3C3CC3C3, 0X3C3CC3C3C3C33C3C, 0XC3C33C3C3C3CC3C3), - vec256_set4x(0X55555555AAAAAAAA, 0X55555555AAAAAAAA, 0X55555555AAAAAAAA, 0X55555555AAAAAAAA), - vec256_set4x(0XF00FF00F0FF00FF0, 0X0FF00FF0F00FF00F, 0XF00FF00F0FF00FF0, 0X0FF00FF0F00FF00F), - vec256_set4x(0X5AA55AA5A55AA55A, 0X5AA55AA5A55AA55A, 0XA55AA55A5AA55AA5, 0XA55AA55A5AA55AA5), - vec256_set4x(0X55AAAA55AA5555AA, 0X55AAAA55AA5555AA, 0XAA5555AA55AAAA55, 0XAA5555AA55AAAA55), - vec256_set4x(0XF00F0FF0F00F0FF0, 0XF00F0FF0F00F0FF0, 0X0FF0F00F0FF0F00F, 0X0FF0F00F0FF0F00F), - vec256_set4x(0X9669699696696996, 0X9669699696696996, 0X9669699696696996, 0X9669699696696996), - vec256_set4x(0XA55AA55AA55AA55A, 0X5AA55AA55AA55AA5, 0X5AA55AA55AA55AA5, 0XA55AA55AA55AA55A), - vec256_set4x(0X55555555AAAAAAAA, 0X55555555AAAAAAAA, 0XAAAAAAAA55555555, 0XAAAAAAAA55555555), - vec256_set4x(0XCCCC33333333CCCC, 0X3333CCCCCCCC3333, 0X3333CCCCCCCC3333, 0XCCCC33333333CCCC), - vec256_set4x(0X0000FFFFFFFF0000, 0X0000FFFFFFFF0000, 0XFFFF00000000FFFF, 0XFFFF00000000FFFF), - vec256_set4x(0XFF0000FF00FFFF00, 0X00FFFF00FF0000FF, 0XFF0000FF00FFFF00, 0X00FFFF00FF0000FF), - vec256_set4x(0X6996699669966996, 0X9669966996699669, 0X9669966996699669, 0X6996699669966996) + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X3C3CC3C3C3C33C3C, 0XC3C33C3C3C3CC3C3, 0X3C3CC3C3C3C33C3C, 0XC3C33C3C3C3CC3C3), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X55555555AAAAAAAA, 0X55555555AAAAAAAA, 0X55555555AAAAAAAA, 0X55555555AAAAAAAA), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XF00FF00F0FF00FF0, 0X0FF00FF0F00FF00F, 0XF00FF00F0FF00FF0, 0X0FF00FF0F00FF00F), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X5AA55AA5A55AA55A, 0X5AA55AA5A55AA55A, 0XA55AA55A5AA55AA5, 0XA55AA55A5AA55AA5), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X55AAAA55AA5555AA, 0X55AAAA55AA5555AA, 0XAA5555AA55AAAA55, 0XAA5555AA55AAAA55), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XF00F0FF0F00F0FF0, 0XF00F0FF0F00F0FF0, 0X0FF0F00F0FF0F00F, 0X0FF0F00F0FF0F00F), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X9669699696696996, 0X9669699696696996, 0X9669699696696996, 0X9669699696696996), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XA55AA55AA55AA55A, 0X5AA55AA55AA55AA5, 0X5AA55AA55AA55AA5, 0XA55AA55AA55AA55A), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X55555555AAAAAAAA, 0X55555555AAAAAAAA, 0XAAAAAAAA55555555, 0XAAAAAAAA55555555), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XCCCC33333333CCCC, 0X3333CCCCCCCC3333, 0X3333CCCCCCCC3333, 0XCCCC33333333CCCC), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X0000FFFFFFFF0000, 0X0000FFFFFFFF0000, 0XFFFF00000000FFFF, 0XFFFF00000000FFFF), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XFF0000FF00FFFF00, 0X00FFFF00FF0000FF, 0XFF0000FF00FFFF00, 0X00FFFF00FF0000FF), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X6996699669966996, 0X9669966996699669, 0X9669966996699669, 0X6996699669966996) }, { - vec256_set4x(0X3C3CC3C3C3C33C3C, 0XC3C33C3C3C3CC3C3, 0X3C3CC3C3C3C33C3C, 0XC3C33C3C3C3CC3C3), - vec256_set4x(0X55555555AAAAAAAA, 0X55555555AAAAAAAA, 0X55555555AAAAAAAA, 0X55555555AAAAAAAA), - vec256_set4x(0X0FF00FF0F00FF00F, 0XF00FF00F0FF00FF0, 0X0FF00FF0F00FF00F, 0XF00FF00F0FF00FF0), - vec256_set4x(0XA55AA55A5AA55AA5, 0XA55AA55A5AA55AA5, 0X5AA55AA5A55AA55A, 0X5AA55AA5A55AA55A), - vec256_set4x(0XAA5555AA55AAAA55, 0XAA5555AA55AAAA55, 0X55AAAA55AA5555AA, 0X55AAAA55AA5555AA), - vec256_set4x(0X0FF0F00F0FF0F00F, 0X0FF0F00F0FF0F00F, 0XF00F0FF0F00F0FF0, 0XF00F0FF0F00F0FF0), - vec256_set4x(0X6996966969969669, 0X6996966969969669, 0X6996966969969669, 0X6996966969969669), - vec256_set4x(0XA55AA55AA55AA55A, 0X5AA55AA55AA55AA5, 0X5AA55AA55AA55AA5, 0XA55AA55AA55AA55A), - vec256_set4x(0XAAAAAAAA55555555, 0XAAAAAAAA55555555, 0X55555555AAAAAAAA, 0X55555555AAAAAAAA), - vec256_set4x(0XCCCC33333333CCCC, 0X3333CCCCCCCC3333, 0X3333CCCCCCCC3333, 0XCCCC33333333CCCC), - vec256_set4x(0X0000FFFFFFFF0000, 0X0000FFFFFFFF0000, 0XFFFF00000000FFFF, 0XFFFF00000000FFFF), - vec256_set4x(0XFF0000FF00FFFF00, 0X00FFFF00FF0000FF, 0XFF0000FF00FFFF00, 0X00FFFF00FF0000FF), - vec256_set4x(0X6996699669966996, 0X9669966996699669, 0X9669966996699669, 0X6996699669966996) + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X3C3CC3C3C3C33C3C, 0XC3C33C3C3C3CC3C3, 0X3C3CC3C3C3C33C3C, 0XC3C33C3C3C3CC3C3), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X55555555AAAAAAAA, 0X55555555AAAAAAAA, 0X55555555AAAAAAAA, 0X55555555AAAAAAAA), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X0FF00FF0F00FF00F, 0XF00FF00F0FF00FF0, 0X0FF00FF0F00FF00F, 0XF00FF00F0FF00FF0), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XA55AA55A5AA55AA5, 0XA55AA55A5AA55AA5, 0X5AA55AA5A55AA55A, 0X5AA55AA5A55AA55A), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XAA5555AA55AAAA55, 0XAA5555AA55AAAA55, 0X55AAAA55AA5555AA, 0X55AAAA55AA5555AA), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X0FF0F00F0FF0F00F, 0X0FF0F00F0FF0F00F, 0XF00F0FF0F00F0FF0, 0XF00F0FF0F00F0FF0), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X6996966969969669, 0X6996966969969669, 0X6996966969969669, 0X6996966969969669), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XA55AA55AA55AA55A, 0X5AA55AA55AA55AA5, 0X5AA55AA55AA55AA5, 0XA55AA55AA55AA55A), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XAAAAAAAA55555555, 0XAAAAAAAA55555555, 0X55555555AAAAAAAA, 0X55555555AAAAAAAA), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XCCCC33333333CCCC, 0X3333CCCCCCCC3333, 0X3333CCCCCCCC3333, 0XCCCC33333333CCCC), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X0000FFFFFFFF0000, 0X0000FFFFFFFF0000, 0XFFFF00000000FFFF, 0XFFFF00000000FFFF), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XFF0000FF00FFFF00, 0X00FFFF00FF0000FF, 0XFF0000FF00FFFF00, 0X00FFFF00FF0000FF), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X6996699669966996, 0X9669966996699669, 0X9669966996699669, 0X6996699669966996) }, { - vec256_set4x(0X3C3CC3C3C3C33C3C, 0XC3C33C3C3C3CC3C3, 0X3C3CC3C3C3C33C3C, 0XC3C33C3C3C3CC3C3), - vec256_set4x(0XAAAAAAAA55555555, 0XAAAAAAAA55555555, 0XAAAAAAAA55555555, 0XAAAAAAAA55555555), - vec256_set4x(0X0FF00FF0F00FF00F, 0XF00FF00F0FF00FF0, 0X0FF00FF0F00FF00F, 0XF00FF00F0FF00FF0), - vec256_set4x(0X5AA55AA5A55AA55A, 0X5AA55AA5A55AA55A, 0XA55AA55A5AA55AA5, 0XA55AA55A5AA55AA5), - vec256_set4x(0XAA5555AA55AAAA55, 0XAA5555AA55AAAA55, 0X55AAAA55AA5555AA, 0X55AAAA55AA5555AA), - vec256_set4x(0XF00F0FF0F00F0FF0, 0XF00F0FF0F00F0FF0, 0X0FF0F00F0FF0F00F, 0X0FF0F00F0FF0F00F), - vec256_set4x(0X9669699696696996, 0X9669699696696996, 0X9669699696696996, 0X9669699696696996), - vec256_set4x(0XA55AA55AA55AA55A, 0X5AA55AA55AA55AA5, 0X5AA55AA55AA55AA5, 0XA55AA55AA55AA55A), - vec256_set4x(0X55555555AAAAAAAA, 0X55555555AAAAAAAA, 0XAAAAAAAA55555555, 0XAAAAAAAA55555555), - vec256_set4x(0XCCCC33333333CCCC, 0X3333CCCCCCCC3333, 0X3333CCCCCCCC3333, 0XCCCC33333333CCCC), - vec256_set4x(0X0000FFFFFFFF0000, 0X0000FFFFFFFF0000, 0XFFFF00000000FFFF, 0XFFFF00000000FFFF), - vec256_set4x(0XFF0000FF00FFFF00, 0X00FFFF00FF0000FF, 0XFF0000FF00FFFF00, 0X00FFFF00FF0000FF), - vec256_set4x(0X6996699669966996, 0X9669966996699669, 0X9669966996699669, 0X6996699669966996) + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X3C3CC3C3C3C33C3C, 0XC3C33C3C3C3CC3C3, 0X3C3CC3C3C3C33C3C, 0XC3C33C3C3C3CC3C3), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XAAAAAAAA55555555, 0XAAAAAAAA55555555, 0XAAAAAAAA55555555, 0XAAAAAAAA55555555), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X0FF00FF0F00FF00F, 0XF00FF00F0FF00FF0, 0X0FF00FF0F00FF00F, 0XF00FF00F0FF00FF0), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X5AA55AA5A55AA55A, 0X5AA55AA5A55AA55A, 0XA55AA55A5AA55AA5, 0XA55AA55A5AA55AA5), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XAA5555AA55AAAA55, 0XAA5555AA55AAAA55, 0X55AAAA55AA5555AA, 0X55AAAA55AA5555AA), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XF00F0FF0F00F0FF0, 0XF00F0FF0F00F0FF0, 0X0FF0F00F0FF0F00F, 0X0FF0F00F0FF0F00F), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X9669699696696996, 0X9669699696696996, 0X9669699696696996, 0X9669699696696996), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XA55AA55AA55AA55A, 0X5AA55AA55AA55AA5, 0X5AA55AA55AA55AA5, 0XA55AA55AA55AA55A), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X55555555AAAAAAAA, 0X55555555AAAAAAAA, 0XAAAAAAAA55555555, 0XAAAAAAAA55555555), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XCCCC33333333CCCC, 0X3333CCCCCCCC3333, 0X3333CCCCCCCC3333, 0XCCCC33333333CCCC), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X0000FFFFFFFF0000, 0X0000FFFFFFFF0000, 0XFFFF00000000FFFF, 0XFFFF00000000FFFF), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XFF0000FF00FFFF00, 0X00FFFF00FF0000FF, 0XFF0000FF00FFFF00, 0X00FFFF00FF0000FF), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X6996699669966996, 0X9669966996699669, 0X9669966996699669, 0X6996699669966996) }, { - vec256_set4x(0X3C3CC3C3C3C33C3C, 0XC3C33C3C3C3CC3C3, 0X3C3CC3C3C3C33C3C, 0XC3C33C3C3C3CC3C3), - vec256_set4x(0XAAAAAAAA55555555, 0XAAAAAAAA55555555, 0XAAAAAAAA55555555, 0XAAAAAAAA55555555), - vec256_set4x(0XF00FF00F0FF00FF0, 0X0FF00FF0F00FF00F, 0XF00FF00F0FF00FF0, 0X0FF00FF0F00FF00F), - vec256_set4x(0XA55AA55A5AA55AA5, 0XA55AA55A5AA55AA5, 0X5AA55AA5A55AA55A, 0X5AA55AA5A55AA55A), - vec256_set4x(0X55AAAA55AA5555AA, 0X55AAAA55AA5555AA, 0XAA5555AA55AAAA55, 0XAA5555AA55AAAA55), - vec256_set4x(0X0FF0F00F0FF0F00F, 0X0FF0F00F0FF0F00F, 0XF00F0FF0F00F0FF0, 0XF00F0FF0F00F0FF0), - vec256_set4x(0X6996966969969669, 0X6996966969969669, 0X6996966969969669, 0X6996966969969669), - vec256_set4x(0XA55AA55AA55AA55A, 0X5AA55AA55AA55AA5, 0X5AA55AA55AA55AA5, 0XA55AA55AA55AA55A), - vec256_set4x(0XAAAAAAAA55555555, 0XAAAAAAAA55555555, 0X55555555AAAAAAAA, 0X55555555AAAAAAAA), - vec256_set4x(0XCCCC33333333CCCC, 0X3333CCCCCCCC3333, 0X3333CCCCCCCC3333, 0XCCCC33333333CCCC), - vec256_set4x(0X0000FFFFFFFF0000, 0X0000FFFFFFFF0000, 0XFFFF00000000FFFF, 0XFFFF00000000FFFF), - vec256_set4x(0XFF0000FF00FFFF00, 0X00FFFF00FF0000FF, 0XFF0000FF00FFFF00, 0X00FFFF00FF0000FF), - vec256_set4x(0X6996699669966996, 0X9669966996699669, 0X9669966996699669, 0X6996699669966996) + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X3C3CC3C3C3C33C3C, 0XC3C33C3C3C3CC3C3, 0X3C3CC3C3C3C33C3C, 0XC3C33C3C3C3CC3C3), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XAAAAAAAA55555555, 0XAAAAAAAA55555555, 0XAAAAAAAA55555555, 0XAAAAAAAA55555555), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XF00FF00F0FF00FF0, 0X0FF00FF0F00FF00F, 0XF00FF00F0FF00FF0, 0X0FF00FF0F00FF00F), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XA55AA55A5AA55AA5, 0XA55AA55A5AA55AA5, 0X5AA55AA5A55AA55A, 0X5AA55AA5A55AA55A), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X55AAAA55AA5555AA, 0X55AAAA55AA5555AA, 0XAA5555AA55AAAA55, 0XAA5555AA55AAAA55), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X0FF0F00F0FF0F00F, 0X0FF0F00F0FF0F00F, 0XF00F0FF0F00F0FF0, 0XF00F0FF0F00F0FF0), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X6996966969969669, 0X6996966969969669, 0X6996966969969669, 0X6996966969969669), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XA55AA55AA55AA55A, 0X5AA55AA55AA55AA5, 0X5AA55AA55AA55AA5, 0XA55AA55AA55AA55A), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XAAAAAAAA55555555, 0XAAAAAAAA55555555, 0X55555555AAAAAAAA, 0X55555555AAAAAAAA), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XCCCC33333333CCCC, 0X3333CCCCCCCC3333, 0X3333CCCCCCCC3333, 0XCCCC33333333CCCC), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X0000FFFFFFFF0000, 0X0000FFFFFFFF0000, 0XFFFF00000000FFFF, 0XFFFF00000000FFFF), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XFF0000FF00FFFF00, 0X00FFFF00FF0000FF, 0XFF0000FF00FFFF00, 0X00FFFF00FF0000FF), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X6996699669966996, 0X9669966996699669, 0X9669966996699669, 0X6996699669966996) }, //2048 { - vec256_set4x(0X3CC3C33C3CC3C33C, 0X3CC3C33C3CC3C33C, 0X3CC3C33C3CC3C33C, 0X3CC3C33C3CC3C33C), - vec256_set4x(0XAAAAAAAAAAAAAAAA, 0XAAAAAAAAAAAAAAAA, 0XAAAAAAAAAAAAAAAA, 0XAAAAAAAAAAAAAAAA), - vec256_set4x(0XFFFF0000FFFF0000, 0XFFFF0000FFFF0000, 0XFFFF0000FFFF0000, 0XFFFF0000FFFF0000), - vec256_set4x(0X3CC3C33C3CC3C33C, 0X3CC3C33C3CC3C33C, 0X3CC3C33C3CC3C33C, 0X3CC3C33C3CC3C33C), - vec256_set4x(0X55AA55AA55AA55AA, 0X55AA55AA55AA55AA, 0XAA55AA55AA55AA55, 0XAA55AA55AA55AA55), - vec256_set4x(0XFFFF0000FFFF0000, 0X0000FFFF0000FFFF, 0X0000FFFF0000FFFF, 0XFFFF0000FFFF0000), - vec256_set4x(0X0F0F0F0FF0F0F0F0, 0XF0F0F0F00F0F0F0F, 0XF0F0F0F00F0F0F0F, 0X0F0F0F0FF0F0F0F0), - vec256_set4x(0XFF0000FF00FFFF00, 0X00FFFF00FF0000FF, 0X00FFFF00FF0000FF, 0XFF0000FF00FFFF00), - vec256_set4x(0X33CCCC33CC3333CC, 0XCC3333CC33CCCC33, 0XCC3333CC33CCCC33, 0X33CCCC33CC3333CC), - vec256_set4x(0XFF0000FF00FFFF00, 0X00FFFF00FF0000FF, 0XFF0000FF00FFFF00, 0X00FFFF00FF0000FF), - vec256_set4x(0X6996966996696996, 0X9669699669969669, 0X6996966996696996, 0X9669699669969669), - vec256_set4x(0XA55A5AA55AA5A55A, 0XA55A5AA55AA5A55A, 0XA55A5AA55AA5A55A, 0XA55A5AA55AA5A55A), - vec256_set4x(0X6996966996696996, 0X6996966996696996, 0X6996966996696996, 0X6996966996696996) + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X3CC3C33C3CC3C33C, 0X3CC3C33C3CC3C33C, 0X3CC3C33C3CC3C33C, 0X3CC3C33C3CC3C33C), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XAAAAAAAAAAAAAAAA, 0XAAAAAAAAAAAAAAAA, 0XAAAAAAAAAAAAAAAA, 0XAAAAAAAAAAAAAAAA), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XFFFF0000FFFF0000, 0XFFFF0000FFFF0000, 0XFFFF0000FFFF0000, 0XFFFF0000FFFF0000), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X3CC3C33C3CC3C33C, 0X3CC3C33C3CC3C33C, 0X3CC3C33C3CC3C33C, 0X3CC3C33C3CC3C33C), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X55AA55AA55AA55AA, 0X55AA55AA55AA55AA, 0XAA55AA55AA55AA55, 0XAA55AA55AA55AA55), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XFFFF0000FFFF0000, 0X0000FFFF0000FFFF, 0X0000FFFF0000FFFF, 0XFFFF0000FFFF0000), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X0F0F0F0FF0F0F0F0, 0XF0F0F0F00F0F0F0F, 0XF0F0F0F00F0F0F0F, 0X0F0F0F0FF0F0F0F0), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XFF0000FF00FFFF00, 0X00FFFF00FF0000FF, 0X00FFFF00FF0000FF, 0XFF0000FF00FFFF00), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X33CCCC33CC3333CC, 0XCC3333CC33CCCC33, 0XCC3333CC33CCCC33, 0X33CCCC33CC3333CC), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XFF0000FF00FFFF00, 0X00FFFF00FF0000FF, 0XFF0000FF00FFFF00, 0X00FFFF00FF0000FF), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X6996966996696996, 0X9669699669969669, 0X6996966996696996, 0X9669699669969669), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XA55A5AA55AA5A55A, 0XA55A5AA55AA5A55A, 0XA55A5AA55AA5A55A, 0XA55A5AA55AA5A55A), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X6996966996696996, 0X6996966996696996, 0X6996966996696996, 0X6996966996696996) }, { - vec256_set4x(0X3CC3C33C3CC3C33C, 0X3CC3C33C3CC3C33C, 0X3CC3C33C3CC3C33C, 0X3CC3C33C3CC3C33C), - vec256_set4x(0XAAAAAAAAAAAAAAAA, 0XAAAAAAAAAAAAAAAA, 0XAAAAAAAAAAAAAAAA, 0XAAAAAAAAAAAAAAAA), - vec256_set4x(0XFFFF0000FFFF0000, 0XFFFF0000FFFF0000, 0XFFFF0000FFFF0000, 0XFFFF0000FFFF0000), - vec256_set4x(0XC33C3CC3C33C3CC3, 0XC33C3CC3C33C3CC3, 0XC33C3CC3C33C3CC3, 0XC33C3CC3C33C3CC3), - vec256_set4x(0XAA55AA55AA55AA55, 0XAA55AA55AA55AA55, 0X55AA55AA55AA55AA, 0X55AA55AA55AA55AA), - vec256_set4x(0X0000FFFF0000FFFF, 0XFFFF0000FFFF0000, 0XFFFF0000FFFF0000, 0X0000FFFF0000FFFF), - vec256_set4x(0XF0F0F0F00F0F0F0F, 0X0F0F0F0FF0F0F0F0, 0X0F0F0F0FF0F0F0F0, 0XF0F0F0F00F0F0F0F), - vec256_set4x(0XFF0000FF00FFFF00, 0X00FFFF00FF0000FF, 0X00FFFF00FF0000FF, 0XFF0000FF00FFFF00), - vec256_set4x(0X33CCCC33CC3333CC, 0XCC3333CC33CCCC33, 0XCC3333CC33CCCC33, 0X33CCCC33CC3333CC), - vec256_set4x(0XFF0000FF00FFFF00, 0X00FFFF00FF0000FF, 0XFF0000FF00FFFF00, 0X00FFFF00FF0000FF), - vec256_set4x(0X6996966996696996, 0X9669699669969669, 0X6996966996696996, 0X9669699669969669), - vec256_set4x(0XA55A5AA55AA5A55A, 0XA55A5AA55AA5A55A, 0XA55A5AA55AA5A55A, 0XA55A5AA55AA5A55A), - vec256_set4x(0X6996966996696996, 0X6996966996696996, 0X6996966996696996, 0X6996966996696996) + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X3CC3C33C3CC3C33C, 0X3CC3C33C3CC3C33C, 0X3CC3C33C3CC3C33C, 0X3CC3C33C3CC3C33C), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XAAAAAAAAAAAAAAAA, 0XAAAAAAAAAAAAAAAA, 0XAAAAAAAAAAAAAAAA, 0XAAAAAAAAAAAAAAAA), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XFFFF0000FFFF0000, 0XFFFF0000FFFF0000, 0XFFFF0000FFFF0000, 0XFFFF0000FFFF0000), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XC33C3CC3C33C3CC3, 0XC33C3CC3C33C3CC3, 0XC33C3CC3C33C3CC3, 0XC33C3CC3C33C3CC3), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XAA55AA55AA55AA55, 0XAA55AA55AA55AA55, 0X55AA55AA55AA55AA, 0X55AA55AA55AA55AA), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X0000FFFF0000FFFF, 0XFFFF0000FFFF0000, 0XFFFF0000FFFF0000, 0X0000FFFF0000FFFF), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XF0F0F0F00F0F0F0F, 0X0F0F0F0FF0F0F0F0, 0X0F0F0F0FF0F0F0F0, 0XF0F0F0F00F0F0F0F), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XFF0000FF00FFFF00, 0X00FFFF00FF0000FF, 0X00FFFF00FF0000FF, 0XFF0000FF00FFFF00), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X33CCCC33CC3333CC, 0XCC3333CC33CCCC33, 0XCC3333CC33CCCC33, 0X33CCCC33CC3333CC), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XFF0000FF00FFFF00, 0X00FFFF00FF0000FF, 0XFF0000FF00FFFF00, 0X00FFFF00FF0000FF), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X6996966996696996, 0X9669699669969669, 0X6996966996696996, 0X9669699669969669), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XA55A5AA55AA5A55A, 0XA55A5AA55AA5A55A, 0XA55A5AA55AA5A55A, 0XA55A5AA55AA5A55A), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X6996966996696996, 0X6996966996696996, 0X6996966996696996, 0X6996966996696996) }, { - vec256_set4x(0X3CC3C33C3CC3C33C, 0X3CC3C33C3CC3C33C, 0X3CC3C33C3CC3C33C, 0X3CC3C33C3CC3C33C), - vec256_set4x(0XAAAAAAAAAAAAAAAA, 0XAAAAAAAAAAAAAAAA, 0XAAAAAAAAAAAAAAAA, 0XAAAAAAAAAAAAAAAA), - vec256_set4x(0X0000FFFF0000FFFF, 0X0000FFFF0000FFFF, 0X0000FFFF0000FFFF, 0X0000FFFF0000FFFF), - vec256_set4x(0XC33C3CC3C33C3CC3, 0XC33C3CC3C33C3CC3, 0XC33C3CC3C33C3CC3, 0XC33C3CC3C33C3CC3), - vec256_set4x(0XAA55AA55AA55AA55, 0XAA55AA55AA55AA55, 0X55AA55AA55AA55AA, 0X55AA55AA55AA55AA), - vec256_set4x(0XFFFF0000FFFF0000, 0X0000FFFF0000FFFF, 0X0000FFFF0000FFFF, 0XFFFF0000FFFF0000), - vec256_set4x(0X0F0F0F0FF0F0F0F0, 0XF0F0F0F00F0F0F0F, 0XF0F0F0F00F0F0F0F, 0X0F0F0F0FF0F0F0F0), - vec256_set4x(0XFF0000FF00FFFF00, 0X00FFFF00FF0000FF, 0X00FFFF00FF0000FF, 0XFF0000FF00FFFF00), - vec256_set4x(0X33CCCC33CC3333CC, 0XCC3333CC33CCCC33, 0XCC3333CC33CCCC33, 0X33CCCC33CC3333CC), - vec256_set4x(0XFF0000FF00FFFF00, 0X00FFFF00FF0000FF, 0XFF0000FF00FFFF00, 0X00FFFF00FF0000FF), - vec256_set4x(0X6996966996696996, 0X9669699669969669, 0X6996966996696996, 0X9669699669969669), - vec256_set4x(0XA55A5AA55AA5A55A, 0XA55A5AA55AA5A55A, 0XA55A5AA55AA5A55A, 0XA55A5AA55AA5A55A), - vec256_set4x(0X6996966996696996, 0X6996966996696996, 0X6996966996696996, 0X6996966996696996) + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X3CC3C33C3CC3C33C, 0X3CC3C33C3CC3C33C, 0X3CC3C33C3CC3C33C, 0X3CC3C33C3CC3C33C), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XAAAAAAAAAAAAAAAA, 0XAAAAAAAAAAAAAAAA, 0XAAAAAAAAAAAAAAAA, 0XAAAAAAAAAAAAAAAA), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X0000FFFF0000FFFF, 0X0000FFFF0000FFFF, 0X0000FFFF0000FFFF, 0X0000FFFF0000FFFF), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XC33C3CC3C33C3CC3, 0XC33C3CC3C33C3CC3, 0XC33C3CC3C33C3CC3, 0XC33C3CC3C33C3CC3), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XAA55AA55AA55AA55, 0XAA55AA55AA55AA55, 0X55AA55AA55AA55AA, 0X55AA55AA55AA55AA), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XFFFF0000FFFF0000, 0X0000FFFF0000FFFF, 0X0000FFFF0000FFFF, 0XFFFF0000FFFF0000), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X0F0F0F0FF0F0F0F0, 0XF0F0F0F00F0F0F0F, 0XF0F0F0F00F0F0F0F, 0X0F0F0F0FF0F0F0F0), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XFF0000FF00FFFF00, 0X00FFFF00FF0000FF, 0X00FFFF00FF0000FF, 0XFF0000FF00FFFF00), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X33CCCC33CC3333CC, 0XCC3333CC33CCCC33, 0XCC3333CC33CCCC33, 0X33CCCC33CC3333CC), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XFF0000FF00FFFF00, 0X00FFFF00FF0000FF, 0XFF0000FF00FFFF00, 0X00FFFF00FF0000FF), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X6996966996696996, 0X9669699669969669, 0X6996966996696996, 0X9669699669969669), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XA55A5AA55AA5A55A, 0XA55A5AA55AA5A55A, 0XA55A5AA55AA5A55A, 0XA55A5AA55AA5A55A), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X6996966996696996, 0X6996966996696996, 0X6996966996696996, 0X6996966996696996) }, { - vec256_set4x(0X3CC3C33C3CC3C33C, 0X3CC3C33C3CC3C33C, 0X3CC3C33C3CC3C33C, 0X3CC3C33C3CC3C33C), - vec256_set4x(0XAAAAAAAAAAAAAAAA, 0XAAAAAAAAAAAAAAAA, 0XAAAAAAAAAAAAAAAA, 0XAAAAAAAAAAAAAAAA), - vec256_set4x(0X0000FFFF0000FFFF, 0X0000FFFF0000FFFF, 0X0000FFFF0000FFFF, 0X0000FFFF0000FFFF), - vec256_set4x(0X3CC3C33C3CC3C33C, 0X3CC3C33C3CC3C33C, 0X3CC3C33C3CC3C33C, 0X3CC3C33C3CC3C33C), - vec256_set4x(0X55AA55AA55AA55AA, 0X55AA55AA55AA55AA, 0XAA55AA55AA55AA55, 0XAA55AA55AA55AA55), - vec256_set4x(0X0000FFFF0000FFFF, 0XFFFF0000FFFF0000, 0XFFFF0000FFFF0000, 0X0000FFFF0000FFFF), - vec256_set4x(0XF0F0F0F00F0F0F0F, 0X0F0F0F0FF0F0F0F0, 0X0F0F0F0FF0F0F0F0, 0XF0F0F0F00F0F0F0F), - vec256_set4x(0XFF0000FF00FFFF00, 0X00FFFF00FF0000FF, 0X00FFFF00FF0000FF, 0XFF0000FF00FFFF00), - vec256_set4x(0X33CCCC33CC3333CC, 0XCC3333CC33CCCC33, 0XCC3333CC33CCCC33, 0X33CCCC33CC3333CC), - vec256_set4x(0XFF0000FF00FFFF00, 0X00FFFF00FF0000FF, 0XFF0000FF00FFFF00, 0X00FFFF00FF0000FF), - vec256_set4x(0X6996966996696996, 0X9669699669969669, 0X6996966996696996, 0X9669699669969669), - vec256_set4x(0XA55A5AA55AA5A55A, 0XA55A5AA55AA5A55A, 0XA55A5AA55AA5A55A, 0XA55A5AA55AA5A55A), - vec256_set4x(0X6996966996696996, 0X6996966996696996, 0X6996966996696996, 0X6996966996696996) + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X3CC3C33C3CC3C33C, 0X3CC3C33C3CC3C33C, 0X3CC3C33C3CC3C33C, 0X3CC3C33C3CC3C33C), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XAAAAAAAAAAAAAAAA, 0XAAAAAAAAAAAAAAAA, 0XAAAAAAAAAAAAAAAA, 0XAAAAAAAAAAAAAAAA), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X0000FFFF0000FFFF, 0X0000FFFF0000FFFF, 0X0000FFFF0000FFFF, 0X0000FFFF0000FFFF), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X3CC3C33C3CC3C33C, 0X3CC3C33C3CC3C33C, 0X3CC3C33C3CC3C33C, 0X3CC3C33C3CC3C33C), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X55AA55AA55AA55AA, 0X55AA55AA55AA55AA, 0XAA55AA55AA55AA55, 0XAA55AA55AA55AA55), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X0000FFFF0000FFFF, 0XFFFF0000FFFF0000, 0XFFFF0000FFFF0000, 0X0000FFFF0000FFFF), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XF0F0F0F00F0F0F0F, 0X0F0F0F0FF0F0F0F0, 0X0F0F0F0FF0F0F0F0, 0XF0F0F0F00F0F0F0F), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XFF0000FF00FFFF00, 0X00FFFF00FF0000FF, 0X00FFFF00FF0000FF, 0XFF0000FF00FFFF00), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X33CCCC33CC3333CC, 0XCC3333CC33CCCC33, 0XCC3333CC33CCCC33, 0X33CCCC33CC3333CC), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XFF0000FF00FFFF00, 0X00FFFF00FF0000FF, 0XFF0000FF00FFFF00, 0X00FFFF00FF0000FF), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X6996966996696996, 0X9669699669969669, 0X6996966996696996, 0X9669699669969669), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XA55A5AA55AA5A55A, 0XA55A5AA55AA5A55A, 0XA55A5AA55AA5A55A, 0XA55A5AA55AA5A55A), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X6996966996696996, 0X6996966996696996, 0X6996966996696996, 0X6996966996696996) }, { - vec256_set4x(0X3CC3C33C3CC3C33C, 0X3CC3C33C3CC3C33C, 0X3CC3C33C3CC3C33C, 0X3CC3C33C3CC3C33C), - vec256_set4x(0X5555555555555555, 0X5555555555555555, 0X5555555555555555, 0X5555555555555555), - vec256_set4x(0X0000FFFF0000FFFF, 0X0000FFFF0000FFFF, 0X0000FFFF0000FFFF, 0X0000FFFF0000FFFF), - vec256_set4x(0X3CC3C33C3CC3C33C, 0X3CC3C33C3CC3C33C, 0X3CC3C33C3CC3C33C, 0X3CC3C33C3CC3C33C), - vec256_set4x(0X55AA55AA55AA55AA, 0X55AA55AA55AA55AA, 0XAA55AA55AA55AA55, 0XAA55AA55AA55AA55), - vec256_set4x(0XFFFF0000FFFF0000, 0X0000FFFF0000FFFF, 0X0000FFFF0000FFFF, 0XFFFF0000FFFF0000), - vec256_set4x(0X0F0F0F0FF0F0F0F0, 0XF0F0F0F00F0F0F0F, 0XF0F0F0F00F0F0F0F, 0X0F0F0F0FF0F0F0F0), - vec256_set4x(0XFF0000FF00FFFF00, 0X00FFFF00FF0000FF, 0X00FFFF00FF0000FF, 0XFF0000FF00FFFF00), - vec256_set4x(0X33CCCC33CC3333CC, 0XCC3333CC33CCCC33, 0XCC3333CC33CCCC33, 0X33CCCC33CC3333CC), - vec256_set4x(0XFF0000FF00FFFF00, 0X00FFFF00FF0000FF, 0XFF0000FF00FFFF00, 0X00FFFF00FF0000FF), - vec256_set4x(0X6996966996696996, 0X9669699669969669, 0X6996966996696996, 0X9669699669969669), - vec256_set4x(0XA55A5AA55AA5A55A, 0XA55A5AA55AA5A55A, 0XA55A5AA55AA5A55A, 0XA55A5AA55AA5A55A), - vec256_set4x(0X6996966996696996, 0X6996966996696996, 0X6996966996696996, 0X6996966996696996) + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X3CC3C33C3CC3C33C, 0X3CC3C33C3CC3C33C, 0X3CC3C33C3CC3C33C, 0X3CC3C33C3CC3C33C), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X5555555555555555, 0X5555555555555555, 0X5555555555555555, 0X5555555555555555), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X0000FFFF0000FFFF, 0X0000FFFF0000FFFF, 0X0000FFFF0000FFFF, 0X0000FFFF0000FFFF), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X3CC3C33C3CC3C33C, 0X3CC3C33C3CC3C33C, 0X3CC3C33C3CC3C33C, 0X3CC3C33C3CC3C33C), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X55AA55AA55AA55AA, 0X55AA55AA55AA55AA, 0XAA55AA55AA55AA55, 0XAA55AA55AA55AA55), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XFFFF0000FFFF0000, 0X0000FFFF0000FFFF, 0X0000FFFF0000FFFF, 0XFFFF0000FFFF0000), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X0F0F0F0FF0F0F0F0, 0XF0F0F0F00F0F0F0F, 0XF0F0F0F00F0F0F0F, 0X0F0F0F0FF0F0F0F0), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XFF0000FF00FFFF00, 0X00FFFF00FF0000FF, 0X00FFFF00FF0000FF, 0XFF0000FF00FFFF00), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X33CCCC33CC3333CC, 0XCC3333CC33CCCC33, 0XCC3333CC33CCCC33, 0X33CCCC33CC3333CC), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XFF0000FF00FFFF00, 0X00FFFF00FF0000FF, 0XFF0000FF00FFFF00, 0X00FFFF00FF0000FF), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X6996966996696996, 0X9669699669969669, 0X6996966996696996, 0X9669699669969669), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XA55A5AA55AA5A55A, 0XA55A5AA55AA5A55A, 0XA55A5AA55AA5A55A, 0XA55A5AA55AA5A55A), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X6996966996696996, 0X6996966996696996, 0X6996966996696996, 0X6996966996696996) }, { - vec256_set4x(0X3CC3C33C3CC3C33C, 0X3CC3C33C3CC3C33C, 0X3CC3C33C3CC3C33C, 0X3CC3C33C3CC3C33C), - vec256_set4x(0X5555555555555555, 0X5555555555555555, 0X5555555555555555, 0X5555555555555555), - vec256_set4x(0X0000FFFF0000FFFF, 0X0000FFFF0000FFFF, 0X0000FFFF0000FFFF, 0X0000FFFF0000FFFF), - vec256_set4x(0XC33C3CC3C33C3CC3, 0XC33C3CC3C33C3CC3, 0XC33C3CC3C33C3CC3, 0XC33C3CC3C33C3CC3), - vec256_set4x(0XAA55AA55AA55AA55, 0XAA55AA55AA55AA55, 0X55AA55AA55AA55AA, 0X55AA55AA55AA55AA), - vec256_set4x(0X0000FFFF0000FFFF, 0XFFFF0000FFFF0000, 0XFFFF0000FFFF0000, 0X0000FFFF0000FFFF), - vec256_set4x(0XF0F0F0F00F0F0F0F, 0X0F0F0F0FF0F0F0F0, 0X0F0F0F0FF0F0F0F0, 0XF0F0F0F00F0F0F0F), - vec256_set4x(0XFF0000FF00FFFF00, 0X00FFFF00FF0000FF, 0X00FFFF00FF0000FF, 0XFF0000FF00FFFF00), - vec256_set4x(0X33CCCC33CC3333CC, 0XCC3333CC33CCCC33, 0XCC3333CC33CCCC33, 0X33CCCC33CC3333CC), - vec256_set4x(0XFF0000FF00FFFF00, 0X00FFFF00FF0000FF, 0XFF0000FF00FFFF00, 0X00FFFF00FF0000FF), - vec256_set4x(0X6996966996696996, 0X9669699669969669, 0X6996966996696996, 0X9669699669969669), - vec256_set4x(0XA55A5AA55AA5A55A, 0XA55A5AA55AA5A55A, 0XA55A5AA55AA5A55A, 0XA55A5AA55AA5A55A), - vec256_set4x(0X6996966996696996, 0X6996966996696996, 0X6996966996696996, 0X6996966996696996) + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X3CC3C33C3CC3C33C, 0X3CC3C33C3CC3C33C, 0X3CC3C33C3CC3C33C, 0X3CC3C33C3CC3C33C), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X5555555555555555, 0X5555555555555555, 0X5555555555555555, 0X5555555555555555), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X0000FFFF0000FFFF, 0X0000FFFF0000FFFF, 0X0000FFFF0000FFFF, 0X0000FFFF0000FFFF), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XC33C3CC3C33C3CC3, 0XC33C3CC3C33C3CC3, 0XC33C3CC3C33C3CC3, 0XC33C3CC3C33C3CC3), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XAA55AA55AA55AA55, 0XAA55AA55AA55AA55, 0X55AA55AA55AA55AA, 0X55AA55AA55AA55AA), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X0000FFFF0000FFFF, 0XFFFF0000FFFF0000, 0XFFFF0000FFFF0000, 0X0000FFFF0000FFFF), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XF0F0F0F00F0F0F0F, 0X0F0F0F0FF0F0F0F0, 0X0F0F0F0FF0F0F0F0, 0XF0F0F0F00F0F0F0F), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XFF0000FF00FFFF00, 0X00FFFF00FF0000FF, 0X00FFFF00FF0000FF, 0XFF0000FF00FFFF00), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X33CCCC33CC3333CC, 0XCC3333CC33CCCC33, 0XCC3333CC33CCCC33, 0X33CCCC33CC3333CC), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XFF0000FF00FFFF00, 0X00FFFF00FF0000FF, 0XFF0000FF00FFFF00, 0X00FFFF00FF0000FF), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X6996966996696996, 0X9669699669969669, 0X6996966996696996, 0X9669699669969669), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XA55A5AA55AA5A55A, 0XA55A5AA55AA5A55A, 0XA55A5AA55AA5A55A, 0XA55A5AA55AA5A55A), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X6996966996696996, 0X6996966996696996, 0X6996966996696996, 0X6996966996696996) }, { - vec256_set4x(0X3CC3C33C3CC3C33C, 0X3CC3C33C3CC3C33C, 0X3CC3C33C3CC3C33C, 0X3CC3C33C3CC3C33C), - vec256_set4x(0X5555555555555555, 0X5555555555555555, 0X5555555555555555, 0X5555555555555555), - vec256_set4x(0XFFFF0000FFFF0000, 0XFFFF0000FFFF0000, 0XFFFF0000FFFF0000, 0XFFFF0000FFFF0000), - vec256_set4x(0XC33C3CC3C33C3CC3, 0XC33C3CC3C33C3CC3, 0XC33C3CC3C33C3CC3, 0XC33C3CC3C33C3CC3), - vec256_set4x(0XAA55AA55AA55AA55, 0XAA55AA55AA55AA55, 0X55AA55AA55AA55AA, 0X55AA55AA55AA55AA), - vec256_set4x(0XFFFF0000FFFF0000, 0X0000FFFF0000FFFF, 0X0000FFFF0000FFFF, 0XFFFF0000FFFF0000), - vec256_set4x(0X0F0F0F0FF0F0F0F0, 0XF0F0F0F00F0F0F0F, 0XF0F0F0F00F0F0F0F, 0X0F0F0F0FF0F0F0F0), - vec256_set4x(0XFF0000FF00FFFF00, 0X00FFFF00FF0000FF, 0X00FFFF00FF0000FF, 0XFF0000FF00FFFF00), - vec256_set4x(0X33CCCC33CC3333CC, 0XCC3333CC33CCCC33, 0XCC3333CC33CCCC33, 0X33CCCC33CC3333CC), - vec256_set4x(0XFF0000FF00FFFF00, 0X00FFFF00FF0000FF, 0XFF0000FF00FFFF00, 0X00FFFF00FF0000FF), - vec256_set4x(0X6996966996696996, 0X9669699669969669, 0X6996966996696996, 0X9669699669969669), - vec256_set4x(0XA55A5AA55AA5A55A, 0XA55A5AA55AA5A55A, 0XA55A5AA55AA5A55A, 0XA55A5AA55AA5A55A), - vec256_set4x(0X6996966996696996, 0X6996966996696996, 0X6996966996696996, 0X6996966996696996) + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X3CC3C33C3CC3C33C, 0X3CC3C33C3CC3C33C, 0X3CC3C33C3CC3C33C, 0X3CC3C33C3CC3C33C), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X5555555555555555, 0X5555555555555555, 0X5555555555555555, 0X5555555555555555), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XFFFF0000FFFF0000, 0XFFFF0000FFFF0000, 0XFFFF0000FFFF0000, 0XFFFF0000FFFF0000), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XC33C3CC3C33C3CC3, 0XC33C3CC3C33C3CC3, 0XC33C3CC3C33C3CC3, 0XC33C3CC3C33C3CC3), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XAA55AA55AA55AA55, 0XAA55AA55AA55AA55, 0X55AA55AA55AA55AA, 0X55AA55AA55AA55AA), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XFFFF0000FFFF0000, 0X0000FFFF0000FFFF, 0X0000FFFF0000FFFF, 0XFFFF0000FFFF0000), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X0F0F0F0FF0F0F0F0, 0XF0F0F0F00F0F0F0F, 0XF0F0F0F00F0F0F0F, 0X0F0F0F0FF0F0F0F0), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XFF0000FF00FFFF00, 0X00FFFF00FF0000FF, 0X00FFFF00FF0000FF, 0XFF0000FF00FFFF00), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X33CCCC33CC3333CC, 0XCC3333CC33CCCC33, 0XCC3333CC33CCCC33, 0X33CCCC33CC3333CC), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XFF0000FF00FFFF00, 0X00FFFF00FF0000FF, 0XFF0000FF00FFFF00, 0X00FFFF00FF0000FF), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X6996966996696996, 0X9669699669969669, 0X6996966996696996, 0X9669699669969669), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XA55A5AA55AA5A55A, 0XA55A5AA55AA5A55A, 0XA55A5AA55AA5A55A, 0XA55A5AA55AA5A55A), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X6996966996696996, 0X6996966996696996, 0X6996966996696996, 0X6996966996696996) }, { - vec256_set4x(0X3CC3C33C3CC3C33C, 0X3CC3C33C3CC3C33C, 0X3CC3C33C3CC3C33C, 0X3CC3C33C3CC3C33C), - vec256_set4x(0X5555555555555555, 0X5555555555555555, 0X5555555555555555, 0X5555555555555555), - vec256_set4x(0XFFFF0000FFFF0000, 0XFFFF0000FFFF0000, 0XFFFF0000FFFF0000, 0XFFFF0000FFFF0000), - vec256_set4x(0X3CC3C33C3CC3C33C, 0X3CC3C33C3CC3C33C, 0X3CC3C33C3CC3C33C, 0X3CC3C33C3CC3C33C), - vec256_set4x(0X55AA55AA55AA55AA, 0X55AA55AA55AA55AA, 0XAA55AA55AA55AA55, 0XAA55AA55AA55AA55), - vec256_set4x(0X0000FFFF0000FFFF, 0XFFFF0000FFFF0000, 0XFFFF0000FFFF0000, 0X0000FFFF0000FFFF), - vec256_set4x(0XF0F0F0F00F0F0F0F, 0X0F0F0F0FF0F0F0F0, 0X0F0F0F0FF0F0F0F0, 0XF0F0F0F00F0F0F0F), - vec256_set4x(0XFF0000FF00FFFF00, 0X00FFFF00FF0000FF, 0X00FFFF00FF0000FF, 0XFF0000FF00FFFF00), - vec256_set4x(0X33CCCC33CC3333CC, 0XCC3333CC33CCCC33, 0XCC3333CC33CCCC33, 0X33CCCC33CC3333CC), - vec256_set4x(0XFF0000FF00FFFF00, 0X00FFFF00FF0000FF, 0XFF0000FF00FFFF00, 0X00FFFF00FF0000FF), - vec256_set4x(0X6996966996696996, 0X9669699669969669, 0X6996966996696996, 0X9669699669969669), - vec256_set4x(0XA55A5AA55AA5A55A, 0XA55A5AA55AA5A55A, 0XA55A5AA55AA5A55A, 0XA55A5AA55AA5A55A), - vec256_set4x(0X6996966996696996, 0X6996966996696996, 0X6996966996696996, 0X6996966996696996) + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X3CC3C33C3CC3C33C, 0X3CC3C33C3CC3C33C, 0X3CC3C33C3CC3C33C, 0X3CC3C33C3CC3C33C), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X5555555555555555, 0X5555555555555555, 0X5555555555555555, 0X5555555555555555), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XFFFF0000FFFF0000, 0XFFFF0000FFFF0000, 0XFFFF0000FFFF0000, 0XFFFF0000FFFF0000), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X3CC3C33C3CC3C33C, 0X3CC3C33C3CC3C33C, 0X3CC3C33C3CC3C33C, 0X3CC3C33C3CC3C33C), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X55AA55AA55AA55AA, 0X55AA55AA55AA55AA, 0XAA55AA55AA55AA55, 0XAA55AA55AA55AA55), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X0000FFFF0000FFFF, 0XFFFF0000FFFF0000, 0XFFFF0000FFFF0000, 0X0000FFFF0000FFFF), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XF0F0F0F00F0F0F0F, 0X0F0F0F0FF0F0F0F0, 0X0F0F0F0FF0F0F0F0, 0XF0F0F0F00F0F0F0F), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XFF0000FF00FFFF00, 0X00FFFF00FF0000FF, 0X00FFFF00FF0000FF, 0XFF0000FF00FFFF00), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X33CCCC33CC3333CC, 0XCC3333CC33CCCC33, 0XCC3333CC33CCCC33, 0X33CCCC33CC3333CC), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XFF0000FF00FFFF00, 0X00FFFF00FF0000FF, 0XFF0000FF00FFFF00, 0X00FFFF00FF0000FF), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X6996966996696996, 0X9669699669969669, 0X6996966996696996, 0X9669699669969669), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XA55A5AA55AA5A55A, 0XA55A5AA55AA5A55A, 0XA55A5AA55AA5A55A, 0XA55A5AA55AA5A55A), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X6996966996696996, 0X6996966996696996, 0X6996966996696996, 0X6996966996696996) }, //4096 { - vec256_set4x(0X0000000000000000, 0X0000000000000000, 0X0000000000000000, 0X0000000000000000), - vec256_set4x(0X0000000000000000, 0X0000000000000000, 0X0000000000000000, 0X0000000000000000), - vec256_set4x(0X0000000000000000, 0X0000000000000000, 0X0000000000000000, 0X0000000000000000), - vec256_set4x(0X0000000000000000, 0X0000000000000000, 0X0000000000000000, 0X0000000000000000), - vec256_set4x(0X0000000000000000, 0X0000000000000000, 0X0000000000000000, 0X0000000000000000), - vec256_set4x(0X0000000000000000, 0X0000000000000000, 0XFFFFFFFFFFFFFFFF, 0XFFFFFFFFFFFFFFFF), - vec256_set4x(0X0000000000000000, 0XFFFFFFFFFFFFFFFF, 0X0000000000000000, 0XFFFFFFFFFFFFFFFF), - vec256_set4x(0XFFFFFFFF00000000, 0XFFFFFFFF00000000, 0XFFFFFFFF00000000, 0XFFFFFFFF00000000), - vec256_set4x(0XFFFF0000FFFF0000, 0XFFFF0000FFFF0000, 0XFFFF0000FFFF0000, 0XFFFF0000FFFF0000), - vec256_set4x(0XFF00FF00FF00FF00, 0XFF00FF00FF00FF00, 0XFF00FF00FF00FF00, 0XFF00FF00FF00FF00), - vec256_set4x(0XF0F0F0F0F0F0F0F0, 0XF0F0F0F0F0F0F0F0, 0XF0F0F0F0F0F0F0F0, 0XF0F0F0F0F0F0F0F0), - vec256_set4x(0XCCCCCCCCCCCCCCCC, 0XCCCCCCCCCCCCCCCC, 0XCCCCCCCCCCCCCCCC, 0XCCCCCCCCCCCCCCCC), - vec256_set4x(0XAAAAAAAAAAAAAAAA, 0XAAAAAAAAAAAAAAAA, 0XAAAAAAAAAAAAAAAA, 0XAAAAAAAAAAAAAAAA) + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X0000000000000000, 0X0000000000000000, 0X0000000000000000, 0X0000000000000000), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X0000000000000000, 0X0000000000000000, 0X0000000000000000, 0X0000000000000000), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X0000000000000000, 0X0000000000000000, 0X0000000000000000, 0X0000000000000000), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X0000000000000000, 0X0000000000000000, 0X0000000000000000, 0X0000000000000000), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X0000000000000000, 0X0000000000000000, 0X0000000000000000, 0X0000000000000000), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X0000000000000000, 0X0000000000000000, 0XFFFFFFFFFFFFFFFF, 0XFFFFFFFFFFFFFFFF), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X0000000000000000, 0XFFFFFFFFFFFFFFFF, 0X0000000000000000, 0XFFFFFFFFFFFFFFFF), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XFFFFFFFF00000000, 0XFFFFFFFF00000000, 0XFFFFFFFF00000000, 0XFFFFFFFF00000000), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XFFFF0000FFFF0000, 0XFFFF0000FFFF0000, 0XFFFF0000FFFF0000, 0XFFFF0000FFFF0000), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XFF00FF00FF00FF00, 0XFF00FF00FF00FF00, 0XFF00FF00FF00FF00, 0XFF00FF00FF00FF00), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XF0F0F0F0F0F0F0F0, 0XF0F0F0F0F0F0F0F0, 0XF0F0F0F0F0F0F0F0, 0XF0F0F0F0F0F0F0F0), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XCCCCCCCCCCCCCCCC, 0XCCCCCCCCCCCCCCCC, 0XCCCCCCCCCCCCCCCC, 0XCCCCCCCCCCCCCCCC), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XAAAAAAAAAAAAAAAA, 0XAAAAAAAAAAAAAAAA, 0XAAAAAAAAAAAAAAAA, 0XAAAAAAAAAAAAAAAA) }, { - vec256_set4x(0X0000000000000000, 0X0000000000000000, 0X0000000000000000, 0X0000000000000000), - vec256_set4x(0X0000000000000000, 0X0000000000000000, 0X0000000000000000, 0X0000000000000000), - vec256_set4x(0X0000000000000000, 0X0000000000000000, 0X0000000000000000, 0X0000000000000000), - vec256_set4x(0X0000000000000000, 0X0000000000000000, 0X0000000000000000, 0X0000000000000000), - vec256_set4x(0XFFFFFFFFFFFFFFFF, 0XFFFFFFFFFFFFFFFF, 0XFFFFFFFFFFFFFFFF, 0XFFFFFFFFFFFFFFFF), - vec256_set4x(0X0000000000000000, 0X0000000000000000, 0XFFFFFFFFFFFFFFFF, 0XFFFFFFFFFFFFFFFF), - vec256_set4x(0X0000000000000000, 0XFFFFFFFFFFFFFFFF, 0X0000000000000000, 0XFFFFFFFFFFFFFFFF), - vec256_set4x(0XFFFFFFFF00000000, 0XFFFFFFFF00000000, 0XFFFFFFFF00000000, 0XFFFFFFFF00000000), - vec256_set4x(0XFFFF0000FFFF0000, 0XFFFF0000FFFF0000, 0XFFFF0000FFFF0000, 0XFFFF0000FFFF0000), - vec256_set4x(0XFF00FF00FF00FF00, 0XFF00FF00FF00FF00, 0XFF00FF00FF00FF00, 0XFF00FF00FF00FF00), - vec256_set4x(0XF0F0F0F0F0F0F0F0, 0XF0F0F0F0F0F0F0F0, 0XF0F0F0F0F0F0F0F0, 0XF0F0F0F0F0F0F0F0), - vec256_set4x(0XCCCCCCCCCCCCCCCC, 0XCCCCCCCCCCCCCCCC, 0XCCCCCCCCCCCCCCCC, 0XCCCCCCCCCCCCCCCC), - vec256_set4x(0XAAAAAAAAAAAAAAAA, 0XAAAAAAAAAAAAAAAA, 0XAAAAAAAAAAAAAAAA, 0XAAAAAAAAAAAAAAAA) + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X0000000000000000, 0X0000000000000000, 0X0000000000000000, 0X0000000000000000), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X0000000000000000, 0X0000000000000000, 0X0000000000000000, 0X0000000000000000), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X0000000000000000, 0X0000000000000000, 0X0000000000000000, 0X0000000000000000), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X0000000000000000, 0X0000000000000000, 0X0000000000000000, 0X0000000000000000), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XFFFFFFFFFFFFFFFF, 0XFFFFFFFFFFFFFFFF, 0XFFFFFFFFFFFFFFFF, 0XFFFFFFFFFFFFFFFF), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X0000000000000000, 0X0000000000000000, 0XFFFFFFFFFFFFFFFF, 0XFFFFFFFFFFFFFFFF), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X0000000000000000, 0XFFFFFFFFFFFFFFFF, 0X0000000000000000, 0XFFFFFFFFFFFFFFFF), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XFFFFFFFF00000000, 0XFFFFFFFF00000000, 0XFFFFFFFF00000000, 0XFFFFFFFF00000000), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XFFFF0000FFFF0000, 0XFFFF0000FFFF0000, 0XFFFF0000FFFF0000, 0XFFFF0000FFFF0000), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XFF00FF00FF00FF00, 0XFF00FF00FF00FF00, 0XFF00FF00FF00FF00, 0XFF00FF00FF00FF00), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XF0F0F0F0F0F0F0F0, 0XF0F0F0F0F0F0F0F0, 0XF0F0F0F0F0F0F0F0, 0XF0F0F0F0F0F0F0F0), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XCCCCCCCCCCCCCCCC, 0XCCCCCCCCCCCCCCCC, 0XCCCCCCCCCCCCCCCC, 0XCCCCCCCCCCCCCCCC), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XAAAAAAAAAAAAAAAA, 0XAAAAAAAAAAAAAAAA, 0XAAAAAAAAAAAAAAAA, 0XAAAAAAAAAAAAAAAA) }, { - vec256_set4x(0X0000000000000000, 0X0000000000000000, 0X0000000000000000, 0X0000000000000000), - vec256_set4x(0X0000000000000000, 0X0000000000000000, 0X0000000000000000, 0X0000000000000000), - vec256_set4x(0X0000000000000000, 0X0000000000000000, 0X0000000000000000, 0X0000000000000000), - vec256_set4x(0XFFFFFFFFFFFFFFFF, 0XFFFFFFFFFFFFFFFF, 0XFFFFFFFFFFFFFFFF, 0XFFFFFFFFFFFFFFFF), - vec256_set4x(0X0000000000000000, 0X0000000000000000, 0X0000000000000000, 0X0000000000000000), - vec256_set4x(0X0000000000000000, 0X0000000000000000, 0XFFFFFFFFFFFFFFFF, 0XFFFFFFFFFFFFFFFF), - vec256_set4x(0X0000000000000000, 0XFFFFFFFFFFFFFFFF, 0X0000000000000000, 0XFFFFFFFFFFFFFFFF), - vec256_set4x(0XFFFFFFFF00000000, 0XFFFFFFFF00000000, 0XFFFFFFFF00000000, 0XFFFFFFFF00000000), - vec256_set4x(0XFFFF0000FFFF0000, 0XFFFF0000FFFF0000, 0XFFFF0000FFFF0000, 0XFFFF0000FFFF0000), - vec256_set4x(0XFF00FF00FF00FF00, 0XFF00FF00FF00FF00, 0XFF00FF00FF00FF00, 0XFF00FF00FF00FF00), - vec256_set4x(0XF0F0F0F0F0F0F0F0, 0XF0F0F0F0F0F0F0F0, 0XF0F0F0F0F0F0F0F0, 0XF0F0F0F0F0F0F0F0), - vec256_set4x(0XCCCCCCCCCCCCCCCC, 0XCCCCCCCCCCCCCCCC, 0XCCCCCCCCCCCCCCCC, 0XCCCCCCCCCCCCCCCC), - vec256_set4x(0XAAAAAAAAAAAAAAAA, 0XAAAAAAAAAAAAAAAA, 0XAAAAAAAAAAAAAAAA, 0XAAAAAAAAAAAAAAAA) + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X0000000000000000, 0X0000000000000000, 0X0000000000000000, 0X0000000000000000), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X0000000000000000, 0X0000000000000000, 0X0000000000000000, 0X0000000000000000), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X0000000000000000, 0X0000000000000000, 0X0000000000000000, 0X0000000000000000), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XFFFFFFFFFFFFFFFF, 0XFFFFFFFFFFFFFFFF, 0XFFFFFFFFFFFFFFFF, 0XFFFFFFFFFFFFFFFF), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X0000000000000000, 0X0000000000000000, 0X0000000000000000, 0X0000000000000000), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X0000000000000000, 0X0000000000000000, 0XFFFFFFFFFFFFFFFF, 0XFFFFFFFFFFFFFFFF), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X0000000000000000, 0XFFFFFFFFFFFFFFFF, 0X0000000000000000, 0XFFFFFFFFFFFFFFFF), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XFFFFFFFF00000000, 0XFFFFFFFF00000000, 0XFFFFFFFF00000000, 0XFFFFFFFF00000000), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XFFFF0000FFFF0000, 0XFFFF0000FFFF0000, 0XFFFF0000FFFF0000, 0XFFFF0000FFFF0000), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XFF00FF00FF00FF00, 0XFF00FF00FF00FF00, 0XFF00FF00FF00FF00, 0XFF00FF00FF00FF00), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XF0F0F0F0F0F0F0F0, 0XF0F0F0F0F0F0F0F0, 0XF0F0F0F0F0F0F0F0, 0XF0F0F0F0F0F0F0F0), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XCCCCCCCCCCCCCCCC, 0XCCCCCCCCCCCCCCCC, 0XCCCCCCCCCCCCCCCC, 0XCCCCCCCCCCCCCCCC), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XAAAAAAAAAAAAAAAA, 0XAAAAAAAAAAAAAAAA, 0XAAAAAAAAAAAAAAAA, 0XAAAAAAAAAAAAAAAA) }, { - vec256_set4x(0X0000000000000000, 0X0000000000000000, 0X0000000000000000, 0X0000000000000000), - vec256_set4x(0X0000000000000000, 0X0000000000000000, 0X0000000000000000, 0X0000000000000000), - vec256_set4x(0X0000000000000000, 0X0000000000000000, 0X0000000000000000, 0X0000000000000000), - vec256_set4x(0XFFFFFFFFFFFFFFFF, 0XFFFFFFFFFFFFFFFF, 0XFFFFFFFFFFFFFFFF, 0XFFFFFFFFFFFFFFFF), - vec256_set4x(0XFFFFFFFFFFFFFFFF, 0XFFFFFFFFFFFFFFFF, 0XFFFFFFFFFFFFFFFF, 0XFFFFFFFFFFFFFFFF), - vec256_set4x(0X0000000000000000, 0X0000000000000000, 0XFFFFFFFFFFFFFFFF, 0XFFFFFFFFFFFFFFFF), - vec256_set4x(0X0000000000000000, 0XFFFFFFFFFFFFFFFF, 0X0000000000000000, 0XFFFFFFFFFFFFFFFF), - vec256_set4x(0XFFFFFFFF00000000, 0XFFFFFFFF00000000, 0XFFFFFFFF00000000, 0XFFFFFFFF00000000), - vec256_set4x(0XFFFF0000FFFF0000, 0XFFFF0000FFFF0000, 0XFFFF0000FFFF0000, 0XFFFF0000FFFF0000), - vec256_set4x(0XFF00FF00FF00FF00, 0XFF00FF00FF00FF00, 0XFF00FF00FF00FF00, 0XFF00FF00FF00FF00), - vec256_set4x(0XF0F0F0F0F0F0F0F0, 0XF0F0F0F0F0F0F0F0, 0XF0F0F0F0F0F0F0F0, 0XF0F0F0F0F0F0F0F0), - vec256_set4x(0XCCCCCCCCCCCCCCCC, 0XCCCCCCCCCCCCCCCC, 0XCCCCCCCCCCCCCCCC, 0XCCCCCCCCCCCCCCCC), - vec256_set4x(0XAAAAAAAAAAAAAAAA, 0XAAAAAAAAAAAAAAAA, 0XAAAAAAAAAAAAAAAA, 0XAAAAAAAAAAAAAAAA) + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X0000000000000000, 0X0000000000000000, 0X0000000000000000, 0X0000000000000000), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X0000000000000000, 0X0000000000000000, 0X0000000000000000, 0X0000000000000000), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X0000000000000000, 0X0000000000000000, 0X0000000000000000, 0X0000000000000000), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XFFFFFFFFFFFFFFFF, 0XFFFFFFFFFFFFFFFF, 0XFFFFFFFFFFFFFFFF, 0XFFFFFFFFFFFFFFFF), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XFFFFFFFFFFFFFFFF, 0XFFFFFFFFFFFFFFFF, 0XFFFFFFFFFFFFFFFF, 0XFFFFFFFFFFFFFFFF), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X0000000000000000, 0X0000000000000000, 0XFFFFFFFFFFFFFFFF, 0XFFFFFFFFFFFFFFFF), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X0000000000000000, 0XFFFFFFFFFFFFFFFF, 0X0000000000000000, 0XFFFFFFFFFFFFFFFF), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XFFFFFFFF00000000, 0XFFFFFFFF00000000, 0XFFFFFFFF00000000, 0XFFFFFFFF00000000), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XFFFF0000FFFF0000, 0XFFFF0000FFFF0000, 0XFFFF0000FFFF0000, 0XFFFF0000FFFF0000), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XFF00FF00FF00FF00, 0XFF00FF00FF00FF00, 0XFF00FF00FF00FF00, 0XFF00FF00FF00FF00), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XF0F0F0F0F0F0F0F0, 0XF0F0F0F0F0F0F0F0, 0XF0F0F0F0F0F0F0F0, 0XF0F0F0F0F0F0F0F0), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XCCCCCCCCCCCCCCCC, 0XCCCCCCCCCCCCCCCC, 0XCCCCCCCCCCCCCCCC, 0XCCCCCCCCCCCCCCCC), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XAAAAAAAAAAAAAAAA, 0XAAAAAAAAAAAAAAAA, 0XAAAAAAAAAAAAAAAA, 0XAAAAAAAAAAAAAAAA) }, { - vec256_set4x(0X0000000000000000, 0X0000000000000000, 0X0000000000000000, 0X0000000000000000), - vec256_set4x(0X0000000000000000, 0X0000000000000000, 0X0000000000000000, 0X0000000000000000), - vec256_set4x(0XFFFFFFFFFFFFFFFF, 0XFFFFFFFFFFFFFFFF, 0XFFFFFFFFFFFFFFFF, 0XFFFFFFFFFFFFFFFF), - vec256_set4x(0X0000000000000000, 0X0000000000000000, 0X0000000000000000, 0X0000000000000000), - vec256_set4x(0X0000000000000000, 0X0000000000000000, 0X0000000000000000, 0X0000000000000000), - vec256_set4x(0X0000000000000000, 0X0000000000000000, 0XFFFFFFFFFFFFFFFF, 0XFFFFFFFFFFFFFFFF), - vec256_set4x(0X0000000000000000, 0XFFFFFFFFFFFFFFFF, 0X0000000000000000, 0XFFFFFFFFFFFFFFFF), - vec256_set4x(0XFFFFFFFF00000000, 0XFFFFFFFF00000000, 0XFFFFFFFF00000000, 0XFFFFFFFF00000000), - vec256_set4x(0XFFFF0000FFFF0000, 0XFFFF0000FFFF0000, 0XFFFF0000FFFF0000, 0XFFFF0000FFFF0000), - vec256_set4x(0XFF00FF00FF00FF00, 0XFF00FF00FF00FF00, 0XFF00FF00FF00FF00, 0XFF00FF00FF00FF00), - vec256_set4x(0XF0F0F0F0F0F0F0F0, 0XF0F0F0F0F0F0F0F0, 0XF0F0F0F0F0F0F0F0, 0XF0F0F0F0F0F0F0F0), - vec256_set4x(0XCCCCCCCCCCCCCCCC, 0XCCCCCCCCCCCCCCCC, 0XCCCCCCCCCCCCCCCC, 0XCCCCCCCCCCCCCCCC), - vec256_set4x(0XAAAAAAAAAAAAAAAA, 0XAAAAAAAAAAAAAAAA, 0XAAAAAAAAAAAAAAAA, 0XAAAAAAAAAAAAAAAA) + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X0000000000000000, 0X0000000000000000, 0X0000000000000000, 0X0000000000000000), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X0000000000000000, 0X0000000000000000, 0X0000000000000000, 0X0000000000000000), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XFFFFFFFFFFFFFFFF, 0XFFFFFFFFFFFFFFFF, 0XFFFFFFFFFFFFFFFF, 0XFFFFFFFFFFFFFFFF), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X0000000000000000, 0X0000000000000000, 0X0000000000000000, 0X0000000000000000), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X0000000000000000, 0X0000000000000000, 0X0000000000000000, 0X0000000000000000), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X0000000000000000, 0X0000000000000000, 0XFFFFFFFFFFFFFFFF, 0XFFFFFFFFFFFFFFFF), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X0000000000000000, 0XFFFFFFFFFFFFFFFF, 0X0000000000000000, 0XFFFFFFFFFFFFFFFF), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XFFFFFFFF00000000, 0XFFFFFFFF00000000, 0XFFFFFFFF00000000, 0XFFFFFFFF00000000), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XFFFF0000FFFF0000, 0XFFFF0000FFFF0000, 0XFFFF0000FFFF0000, 0XFFFF0000FFFF0000), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XFF00FF00FF00FF00, 0XFF00FF00FF00FF00, 0XFF00FF00FF00FF00, 0XFF00FF00FF00FF00), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XF0F0F0F0F0F0F0F0, 0XF0F0F0F0F0F0F0F0, 0XF0F0F0F0F0F0F0F0, 0XF0F0F0F0F0F0F0F0), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XCCCCCCCCCCCCCCCC, 0XCCCCCCCCCCCCCCCC, 0XCCCCCCCCCCCCCCCC, 0XCCCCCCCCCCCCCCCC), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XAAAAAAAAAAAAAAAA, 0XAAAAAAAAAAAAAAAA, 0XAAAAAAAAAAAAAAAA, 0XAAAAAAAAAAAAAAAA) }, { - vec256_set4x(0X0000000000000000, 0X0000000000000000, 0X0000000000000000, 0X0000000000000000), - vec256_set4x(0X0000000000000000, 0X0000000000000000, 0X0000000000000000, 0X0000000000000000), - vec256_set4x(0XFFFFFFFFFFFFFFFF, 0XFFFFFFFFFFFFFFFF, 0XFFFFFFFFFFFFFFFF, 0XFFFFFFFFFFFFFFFF), - vec256_set4x(0X0000000000000000, 0X0000000000000000, 0X0000000000000000, 0X0000000000000000), - vec256_set4x(0XFFFFFFFFFFFFFFFF, 0XFFFFFFFFFFFFFFFF, 0XFFFFFFFFFFFFFFFF, 0XFFFFFFFFFFFFFFFF), - vec256_set4x(0X0000000000000000, 0X0000000000000000, 0XFFFFFFFFFFFFFFFF, 0XFFFFFFFFFFFFFFFF), - vec256_set4x(0X0000000000000000, 0XFFFFFFFFFFFFFFFF, 0X0000000000000000, 0XFFFFFFFFFFFFFFFF), - vec256_set4x(0XFFFFFFFF00000000, 0XFFFFFFFF00000000, 0XFFFFFFFF00000000, 0XFFFFFFFF00000000), - vec256_set4x(0XFFFF0000FFFF0000, 0XFFFF0000FFFF0000, 0XFFFF0000FFFF0000, 0XFFFF0000FFFF0000), - vec256_set4x(0XFF00FF00FF00FF00, 0XFF00FF00FF00FF00, 0XFF00FF00FF00FF00, 0XFF00FF00FF00FF00), - vec256_set4x(0XF0F0F0F0F0F0F0F0, 0XF0F0F0F0F0F0F0F0, 0XF0F0F0F0F0F0F0F0, 0XF0F0F0F0F0F0F0F0), - vec256_set4x(0XCCCCCCCCCCCCCCCC, 0XCCCCCCCCCCCCCCCC, 0XCCCCCCCCCCCCCCCC, 0XCCCCCCCCCCCCCCCC), - vec256_set4x(0XAAAAAAAAAAAAAAAA, 0XAAAAAAAAAAAAAAAA, 0XAAAAAAAAAAAAAAAA, 0XAAAAAAAAAAAAAAAA) + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X0000000000000000, 0X0000000000000000, 0X0000000000000000, 0X0000000000000000), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X0000000000000000, 0X0000000000000000, 0X0000000000000000, 0X0000000000000000), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XFFFFFFFFFFFFFFFF, 0XFFFFFFFFFFFFFFFF, 0XFFFFFFFFFFFFFFFF, 0XFFFFFFFFFFFFFFFF), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X0000000000000000, 0X0000000000000000, 0X0000000000000000, 0X0000000000000000), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XFFFFFFFFFFFFFFFF, 0XFFFFFFFFFFFFFFFF, 0XFFFFFFFFFFFFFFFF, 0XFFFFFFFFFFFFFFFF), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X0000000000000000, 0X0000000000000000, 0XFFFFFFFFFFFFFFFF, 0XFFFFFFFFFFFFFFFF), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X0000000000000000, 0XFFFFFFFFFFFFFFFF, 0X0000000000000000, 0XFFFFFFFFFFFFFFFF), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XFFFFFFFF00000000, 0XFFFFFFFF00000000, 0XFFFFFFFF00000000, 0XFFFFFFFF00000000), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XFFFF0000FFFF0000, 0XFFFF0000FFFF0000, 0XFFFF0000FFFF0000, 0XFFFF0000FFFF0000), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XFF00FF00FF00FF00, 0XFF00FF00FF00FF00, 0XFF00FF00FF00FF00, 0XFF00FF00FF00FF00), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XF0F0F0F0F0F0F0F0, 0XF0F0F0F0F0F0F0F0, 0XF0F0F0F0F0F0F0F0, 0XF0F0F0F0F0F0F0F0), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XCCCCCCCCCCCCCCCC, 0XCCCCCCCCCCCCCCCC, 0XCCCCCCCCCCCCCCCC, 0XCCCCCCCCCCCCCCCC), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XAAAAAAAAAAAAAAAA, 0XAAAAAAAAAAAAAAAA, 0XAAAAAAAAAAAAAAAA, 0XAAAAAAAAAAAAAAAA) }, { - vec256_set4x(0X0000000000000000, 0X0000000000000000, 0X0000000000000000, 0X0000000000000000), - vec256_set4x(0X0000000000000000, 0X0000000000000000, 0X0000000000000000, 0X0000000000000000), - vec256_set4x(0XFFFFFFFFFFFFFFFF, 0XFFFFFFFFFFFFFFFF, 0XFFFFFFFFFFFFFFFF, 0XFFFFFFFFFFFFFFFF), - vec256_set4x(0XFFFFFFFFFFFFFFFF, 0XFFFFFFFFFFFFFFFF, 0XFFFFFFFFFFFFFFFF, 0XFFFFFFFFFFFFFFFF), - vec256_set4x(0X0000000000000000, 0X0000000000000000, 0X0000000000000000, 0X0000000000000000), - vec256_set4x(0X0000000000000000, 0X0000000000000000, 0XFFFFFFFFFFFFFFFF, 0XFFFFFFFFFFFFFFFF), - vec256_set4x(0X0000000000000000, 0XFFFFFFFFFFFFFFFF, 0X0000000000000000, 0XFFFFFFFFFFFFFFFF), - vec256_set4x(0XFFFFFFFF00000000, 0XFFFFFFFF00000000, 0XFFFFFFFF00000000, 0XFFFFFFFF00000000), - vec256_set4x(0XFFFF0000FFFF0000, 0XFFFF0000FFFF0000, 0XFFFF0000FFFF0000, 0XFFFF0000FFFF0000), - vec256_set4x(0XFF00FF00FF00FF00, 0XFF00FF00FF00FF00, 0XFF00FF00FF00FF00, 0XFF00FF00FF00FF00), - vec256_set4x(0XF0F0F0F0F0F0F0F0, 0XF0F0F0F0F0F0F0F0, 0XF0F0F0F0F0F0F0F0, 0XF0F0F0F0F0F0F0F0), - vec256_set4x(0XCCCCCCCCCCCCCCCC, 0XCCCCCCCCCCCCCCCC, 0XCCCCCCCCCCCCCCCC, 0XCCCCCCCCCCCCCCCC), - vec256_set4x(0XAAAAAAAAAAAAAAAA, 0XAAAAAAAAAAAAAAAA, 0XAAAAAAAAAAAAAAAA, 0XAAAAAAAAAAAAAAAA) + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X0000000000000000, 0X0000000000000000, 0X0000000000000000, 0X0000000000000000), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X0000000000000000, 0X0000000000000000, 0X0000000000000000, 0X0000000000000000), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XFFFFFFFFFFFFFFFF, 0XFFFFFFFFFFFFFFFF, 0XFFFFFFFFFFFFFFFF, 0XFFFFFFFFFFFFFFFF), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XFFFFFFFFFFFFFFFF, 0XFFFFFFFFFFFFFFFF, 0XFFFFFFFFFFFFFFFF, 0XFFFFFFFFFFFFFFFF), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X0000000000000000, 0X0000000000000000, 0X0000000000000000, 0X0000000000000000), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X0000000000000000, 0X0000000000000000, 0XFFFFFFFFFFFFFFFF, 0XFFFFFFFFFFFFFFFF), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X0000000000000000, 0XFFFFFFFFFFFFFFFF, 0X0000000000000000, 0XFFFFFFFFFFFFFFFF), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XFFFFFFFF00000000, 0XFFFFFFFF00000000, 0XFFFFFFFF00000000, 0XFFFFFFFF00000000), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XFFFF0000FFFF0000, 0XFFFF0000FFFF0000, 0XFFFF0000FFFF0000, 0XFFFF0000FFFF0000), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XFF00FF00FF00FF00, 0XFF00FF00FF00FF00, 0XFF00FF00FF00FF00, 0XFF00FF00FF00FF00), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XF0F0F0F0F0F0F0F0, 0XF0F0F0F0F0F0F0F0, 0XF0F0F0F0F0F0F0F0, 0XF0F0F0F0F0F0F0F0), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XCCCCCCCCCCCCCCCC, 0XCCCCCCCCCCCCCCCC, 0XCCCCCCCCCCCCCCCC, 0XCCCCCCCCCCCCCCCC), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XAAAAAAAAAAAAAAAA, 0XAAAAAAAAAAAAAAAA, 0XAAAAAAAAAAAAAAAA, 0XAAAAAAAAAAAAAAAA) }, { - vec256_set4x(0X0000000000000000, 0X0000000000000000, 0X0000000000000000, 0X0000000000000000), - vec256_set4x(0X0000000000000000, 0X0000000000000000, 0X0000000000000000, 0X0000000000000000), - vec256_set4x(0XFFFFFFFFFFFFFFFF, 0XFFFFFFFFFFFFFFFF, 0XFFFFFFFFFFFFFFFF, 0XFFFFFFFFFFFFFFFF), - vec256_set4x(0XFFFFFFFFFFFFFFFF, 0XFFFFFFFFFFFFFFFF, 0XFFFFFFFFFFFFFFFF, 0XFFFFFFFFFFFFFFFF), - vec256_set4x(0XFFFFFFFFFFFFFFFF, 0XFFFFFFFFFFFFFFFF, 0XFFFFFFFFFFFFFFFF, 0XFFFFFFFFFFFFFFFF), - vec256_set4x(0X0000000000000000, 0X0000000000000000, 0XFFFFFFFFFFFFFFFF, 0XFFFFFFFFFFFFFFFF), - vec256_set4x(0X0000000000000000, 0XFFFFFFFFFFFFFFFF, 0X0000000000000000, 0XFFFFFFFFFFFFFFFF), - vec256_set4x(0XFFFFFFFF00000000, 0XFFFFFFFF00000000, 0XFFFFFFFF00000000, 0XFFFFFFFF00000000), - vec256_set4x(0XFFFF0000FFFF0000, 0XFFFF0000FFFF0000, 0XFFFF0000FFFF0000, 0XFFFF0000FFFF0000), - vec256_set4x(0XFF00FF00FF00FF00, 0XFF00FF00FF00FF00, 0XFF00FF00FF00FF00, 0XFF00FF00FF00FF00), - vec256_set4x(0XF0F0F0F0F0F0F0F0, 0XF0F0F0F0F0F0F0F0, 0XF0F0F0F0F0F0F0F0, 0XF0F0F0F0F0F0F0F0), - vec256_set4x(0XCCCCCCCCCCCCCCCC, 0XCCCCCCCCCCCCCCCC, 0XCCCCCCCCCCCCCCCC, 0XCCCCCCCCCCCCCCCC), - vec256_set4x(0XAAAAAAAAAAAAAAAA, 0XAAAAAAAAAAAAAAAA, 0XAAAAAAAAAAAAAAAA, 0XAAAAAAAAAAAAAAAA) + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X0000000000000000, 0X0000000000000000, 0X0000000000000000, 0X0000000000000000), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X0000000000000000, 0X0000000000000000, 0X0000000000000000, 0X0000000000000000), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XFFFFFFFFFFFFFFFF, 0XFFFFFFFFFFFFFFFF, 0XFFFFFFFFFFFFFFFF, 0XFFFFFFFFFFFFFFFF), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XFFFFFFFFFFFFFFFF, 0XFFFFFFFFFFFFFFFF, 0XFFFFFFFFFFFFFFFF, 0XFFFFFFFFFFFFFFFF), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XFFFFFFFFFFFFFFFF, 0XFFFFFFFFFFFFFFFF, 0XFFFFFFFFFFFFFFFF, 0XFFFFFFFFFFFFFFFF), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X0000000000000000, 0X0000000000000000, 0XFFFFFFFFFFFFFFFF, 0XFFFFFFFFFFFFFFFF), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X0000000000000000, 0XFFFFFFFFFFFFFFFF, 0X0000000000000000, 0XFFFFFFFFFFFFFFFF), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XFFFFFFFF00000000, 0XFFFFFFFF00000000, 0XFFFFFFFF00000000, 0XFFFFFFFF00000000), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XFFFF0000FFFF0000, 0XFFFF0000FFFF0000, 0XFFFF0000FFFF0000, 0XFFFF0000FFFF0000), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XFF00FF00FF00FF00, 0XFF00FF00FF00FF00, 0XFF00FF00FF00FF00, 0XFF00FF00FF00FF00), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XF0F0F0F0F0F0F0F0, 0XF0F0F0F0F0F0F0F0, 0XF0F0F0F0F0F0F0F0, 0XF0F0F0F0F0F0F0F0), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XCCCCCCCCCCCCCCCC, 0XCCCCCCCCCCCCCCCC, 0XCCCCCCCCCCCCCCCC, 0XCCCCCCCCCCCCCCCC), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XAAAAAAAAAAAAAAAA, 0XAAAAAAAAAAAAAAAA, 0XAAAAAAAAAAAAAAAA, 0XAAAAAAAAAAAAAAAA) }, { - vec256_set4x(0X0000000000000000, 0X0000000000000000, 0X0000000000000000, 0X0000000000000000), - vec256_set4x(0XFFFFFFFFFFFFFFFF, 0XFFFFFFFFFFFFFFFF, 0XFFFFFFFFFFFFFFFF, 0XFFFFFFFFFFFFFFFF), - vec256_set4x(0X0000000000000000, 0X0000000000000000, 0X0000000000000000, 0X0000000000000000), - vec256_set4x(0X0000000000000000, 0X0000000000000000, 0X0000000000000000, 0X0000000000000000), - vec256_set4x(0X0000000000000000, 0X0000000000000000, 0X0000000000000000, 0X0000000000000000), - vec256_set4x(0X0000000000000000, 0X0000000000000000, 0XFFFFFFFFFFFFFFFF, 0XFFFFFFFFFFFFFFFF), - vec256_set4x(0X0000000000000000, 0XFFFFFFFFFFFFFFFF, 0X0000000000000000, 0XFFFFFFFFFFFFFFFF), - vec256_set4x(0XFFFFFFFF00000000, 0XFFFFFFFF00000000, 0XFFFFFFFF00000000, 0XFFFFFFFF00000000), - vec256_set4x(0XFFFF0000FFFF0000, 0XFFFF0000FFFF0000, 0XFFFF0000FFFF0000, 0XFFFF0000FFFF0000), - vec256_set4x(0XFF00FF00FF00FF00, 0XFF00FF00FF00FF00, 0XFF00FF00FF00FF00, 0XFF00FF00FF00FF00), - vec256_set4x(0XF0F0F0F0F0F0F0F0, 0XF0F0F0F0F0F0F0F0, 0XF0F0F0F0F0F0F0F0, 0XF0F0F0F0F0F0F0F0), - vec256_set4x(0XCCCCCCCCCCCCCCCC, 0XCCCCCCCCCCCCCCCC, 0XCCCCCCCCCCCCCCCC, 0XCCCCCCCCCCCCCCCC), - vec256_set4x(0XAAAAAAAAAAAAAAAA, 0XAAAAAAAAAAAAAAAA, 0XAAAAAAAAAAAAAAAA, 0XAAAAAAAAAAAAAAAA) + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X0000000000000000, 0X0000000000000000, 0X0000000000000000, 0X0000000000000000), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XFFFFFFFFFFFFFFFF, 0XFFFFFFFFFFFFFFFF, 0XFFFFFFFFFFFFFFFF, 0XFFFFFFFFFFFFFFFF), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X0000000000000000, 0X0000000000000000, 0X0000000000000000, 0X0000000000000000), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X0000000000000000, 0X0000000000000000, 0X0000000000000000, 0X0000000000000000), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X0000000000000000, 0X0000000000000000, 0X0000000000000000, 0X0000000000000000), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X0000000000000000, 0X0000000000000000, 0XFFFFFFFFFFFFFFFF, 0XFFFFFFFFFFFFFFFF), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X0000000000000000, 0XFFFFFFFFFFFFFFFF, 0X0000000000000000, 0XFFFFFFFFFFFFFFFF), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XFFFFFFFF00000000, 0XFFFFFFFF00000000, 0XFFFFFFFF00000000, 0XFFFFFFFF00000000), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XFFFF0000FFFF0000, 0XFFFF0000FFFF0000, 0XFFFF0000FFFF0000, 0XFFFF0000FFFF0000), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XFF00FF00FF00FF00, 0XFF00FF00FF00FF00, 0XFF00FF00FF00FF00, 0XFF00FF00FF00FF00), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XF0F0F0F0F0F0F0F0, 0XF0F0F0F0F0F0F0F0, 0XF0F0F0F0F0F0F0F0, 0XF0F0F0F0F0F0F0F0), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XCCCCCCCCCCCCCCCC, 0XCCCCCCCCCCCCCCCC, 0XCCCCCCCCCCCCCCCC, 0XCCCCCCCCCCCCCCCC), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XAAAAAAAAAAAAAAAA, 0XAAAAAAAAAAAAAAAA, 0XAAAAAAAAAAAAAAAA, 0XAAAAAAAAAAAAAAAA) }, { - vec256_set4x(0X0000000000000000, 0X0000000000000000, 0X0000000000000000, 0X0000000000000000), - vec256_set4x(0XFFFFFFFFFFFFFFFF, 0XFFFFFFFFFFFFFFFF, 0XFFFFFFFFFFFFFFFF, 0XFFFFFFFFFFFFFFFF), - vec256_set4x(0X0000000000000000, 0X0000000000000000, 0X0000000000000000, 0X0000000000000000), - vec256_set4x(0X0000000000000000, 0X0000000000000000, 0X0000000000000000, 0X0000000000000000), - vec256_set4x(0XFFFFFFFFFFFFFFFF, 0XFFFFFFFFFFFFFFFF, 0XFFFFFFFFFFFFFFFF, 0XFFFFFFFFFFFFFFFF), - vec256_set4x(0X0000000000000000, 0X0000000000000000, 0XFFFFFFFFFFFFFFFF, 0XFFFFFFFFFFFFFFFF), - vec256_set4x(0X0000000000000000, 0XFFFFFFFFFFFFFFFF, 0X0000000000000000, 0XFFFFFFFFFFFFFFFF), - vec256_set4x(0XFFFFFFFF00000000, 0XFFFFFFFF00000000, 0XFFFFFFFF00000000, 0XFFFFFFFF00000000), - vec256_set4x(0XFFFF0000FFFF0000, 0XFFFF0000FFFF0000, 0XFFFF0000FFFF0000, 0XFFFF0000FFFF0000), - vec256_set4x(0XFF00FF00FF00FF00, 0XFF00FF00FF00FF00, 0XFF00FF00FF00FF00, 0XFF00FF00FF00FF00), - vec256_set4x(0XF0F0F0F0F0F0F0F0, 0XF0F0F0F0F0F0F0F0, 0XF0F0F0F0F0F0F0F0, 0XF0F0F0F0F0F0F0F0), - vec256_set4x(0XCCCCCCCCCCCCCCCC, 0XCCCCCCCCCCCCCCCC, 0XCCCCCCCCCCCCCCCC, 0XCCCCCCCCCCCCCCCC), - vec256_set4x(0XAAAAAAAAAAAAAAAA, 0XAAAAAAAAAAAAAAAA, 0XAAAAAAAAAAAAAAAA, 0XAAAAAAAAAAAAAAAA) + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X0000000000000000, 0X0000000000000000, 0X0000000000000000, 0X0000000000000000), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XFFFFFFFFFFFFFFFF, 0XFFFFFFFFFFFFFFFF, 0XFFFFFFFFFFFFFFFF, 0XFFFFFFFFFFFFFFFF), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X0000000000000000, 0X0000000000000000, 0X0000000000000000, 0X0000000000000000), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X0000000000000000, 0X0000000000000000, 0X0000000000000000, 0X0000000000000000), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XFFFFFFFFFFFFFFFF, 0XFFFFFFFFFFFFFFFF, 0XFFFFFFFFFFFFFFFF, 0XFFFFFFFFFFFFFFFF), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X0000000000000000, 0X0000000000000000, 0XFFFFFFFFFFFFFFFF, 0XFFFFFFFFFFFFFFFF), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X0000000000000000, 0XFFFFFFFFFFFFFFFF, 0X0000000000000000, 0XFFFFFFFFFFFFFFFF), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XFFFFFFFF00000000, 0XFFFFFFFF00000000, 0XFFFFFFFF00000000, 0XFFFFFFFF00000000), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XFFFF0000FFFF0000, 0XFFFF0000FFFF0000, 0XFFFF0000FFFF0000, 0XFFFF0000FFFF0000), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XFF00FF00FF00FF00, 0XFF00FF00FF00FF00, 0XFF00FF00FF00FF00, 0XFF00FF00FF00FF00), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XF0F0F0F0F0F0F0F0, 0XF0F0F0F0F0F0F0F0, 0XF0F0F0F0F0F0F0F0, 0XF0F0F0F0F0F0F0F0), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XCCCCCCCCCCCCCCCC, 0XCCCCCCCCCCCCCCCC, 0XCCCCCCCCCCCCCCCC, 0XCCCCCCCCCCCCCCCC), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XAAAAAAAAAAAAAAAA, 0XAAAAAAAAAAAAAAAA, 0XAAAAAAAAAAAAAAAA, 0XAAAAAAAAAAAAAAAA) }, { - vec256_set4x(0X0000000000000000, 0X0000000000000000, 0X0000000000000000, 0X0000000000000000), - vec256_set4x(0XFFFFFFFFFFFFFFFF, 0XFFFFFFFFFFFFFFFF, 0XFFFFFFFFFFFFFFFF, 0XFFFFFFFFFFFFFFFF), - vec256_set4x(0X0000000000000000, 0X0000000000000000, 0X0000000000000000, 0X0000000000000000), - vec256_set4x(0XFFFFFFFFFFFFFFFF, 0XFFFFFFFFFFFFFFFF, 0XFFFFFFFFFFFFFFFF, 0XFFFFFFFFFFFFFFFF), - vec256_set4x(0X0000000000000000, 0X0000000000000000, 0X0000000000000000, 0X0000000000000000), - vec256_set4x(0X0000000000000000, 0X0000000000000000, 0XFFFFFFFFFFFFFFFF, 0XFFFFFFFFFFFFFFFF), - vec256_set4x(0X0000000000000000, 0XFFFFFFFFFFFFFFFF, 0X0000000000000000, 0XFFFFFFFFFFFFFFFF), - vec256_set4x(0XFFFFFFFF00000000, 0XFFFFFFFF00000000, 0XFFFFFFFF00000000, 0XFFFFFFFF00000000), - vec256_set4x(0XFFFF0000FFFF0000, 0XFFFF0000FFFF0000, 0XFFFF0000FFFF0000, 0XFFFF0000FFFF0000), - vec256_set4x(0XFF00FF00FF00FF00, 0XFF00FF00FF00FF00, 0XFF00FF00FF00FF00, 0XFF00FF00FF00FF00), - vec256_set4x(0XF0F0F0F0F0F0F0F0, 0XF0F0F0F0F0F0F0F0, 0XF0F0F0F0F0F0F0F0, 0XF0F0F0F0F0F0F0F0), - vec256_set4x(0XCCCCCCCCCCCCCCCC, 0XCCCCCCCCCCCCCCCC, 0XCCCCCCCCCCCCCCCC, 0XCCCCCCCCCCCCCCCC), - vec256_set4x(0XAAAAAAAAAAAAAAAA, 0XAAAAAAAAAAAAAAAA, 0XAAAAAAAAAAAAAAAA, 0XAAAAAAAAAAAAAAAA) + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X0000000000000000, 0X0000000000000000, 0X0000000000000000, 0X0000000000000000), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XFFFFFFFFFFFFFFFF, 0XFFFFFFFFFFFFFFFF, 0XFFFFFFFFFFFFFFFF, 0XFFFFFFFFFFFFFFFF), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X0000000000000000, 0X0000000000000000, 0X0000000000000000, 0X0000000000000000), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XFFFFFFFFFFFFFFFF, 0XFFFFFFFFFFFFFFFF, 0XFFFFFFFFFFFFFFFF, 0XFFFFFFFFFFFFFFFF), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X0000000000000000, 0X0000000000000000, 0X0000000000000000, 0X0000000000000000), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X0000000000000000, 0X0000000000000000, 0XFFFFFFFFFFFFFFFF, 0XFFFFFFFFFFFFFFFF), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X0000000000000000, 0XFFFFFFFFFFFFFFFF, 0X0000000000000000, 0XFFFFFFFFFFFFFFFF), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XFFFFFFFF00000000, 0XFFFFFFFF00000000, 0XFFFFFFFF00000000, 0XFFFFFFFF00000000), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XFFFF0000FFFF0000, 0XFFFF0000FFFF0000, 0XFFFF0000FFFF0000, 0XFFFF0000FFFF0000), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XFF00FF00FF00FF00, 0XFF00FF00FF00FF00, 0XFF00FF00FF00FF00, 0XFF00FF00FF00FF00), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XF0F0F0F0F0F0F0F0, 0XF0F0F0F0F0F0F0F0, 0XF0F0F0F0F0F0F0F0, 0XF0F0F0F0F0F0F0F0), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XCCCCCCCCCCCCCCCC, 0XCCCCCCCCCCCCCCCC, 0XCCCCCCCCCCCCCCCC, 0XCCCCCCCCCCCCCCCC), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XAAAAAAAAAAAAAAAA, 0XAAAAAAAAAAAAAAAA, 0XAAAAAAAAAAAAAAAA, 0XAAAAAAAAAAAAAAAA) }, { - vec256_set4x(0X0000000000000000, 0X0000000000000000, 0X0000000000000000, 0X0000000000000000), - vec256_set4x(0XFFFFFFFFFFFFFFFF, 0XFFFFFFFFFFFFFFFF, 0XFFFFFFFFFFFFFFFF, 0XFFFFFFFFFFFFFFFF), - vec256_set4x(0X0000000000000000, 0X0000000000000000, 0X0000000000000000, 0X0000000000000000), - vec256_set4x(0XFFFFFFFFFFFFFFFF, 0XFFFFFFFFFFFFFFFF, 0XFFFFFFFFFFFFFFFF, 0XFFFFFFFFFFFFFFFF), - vec256_set4x(0XFFFFFFFFFFFFFFFF, 0XFFFFFFFFFFFFFFFF, 0XFFFFFFFFFFFFFFFF, 0XFFFFFFFFFFFFFFFF), - vec256_set4x(0X0000000000000000, 0X0000000000000000, 0XFFFFFFFFFFFFFFFF, 0XFFFFFFFFFFFFFFFF), - vec256_set4x(0X0000000000000000, 0XFFFFFFFFFFFFFFFF, 0X0000000000000000, 0XFFFFFFFFFFFFFFFF), - vec256_set4x(0XFFFFFFFF00000000, 0XFFFFFFFF00000000, 0XFFFFFFFF00000000, 0XFFFFFFFF00000000), - vec256_set4x(0XFFFF0000FFFF0000, 0XFFFF0000FFFF0000, 0XFFFF0000FFFF0000, 0XFFFF0000FFFF0000), - vec256_set4x(0XFF00FF00FF00FF00, 0XFF00FF00FF00FF00, 0XFF00FF00FF00FF00, 0XFF00FF00FF00FF00), - vec256_set4x(0XF0F0F0F0F0F0F0F0, 0XF0F0F0F0F0F0F0F0, 0XF0F0F0F0F0F0F0F0, 0XF0F0F0F0F0F0F0F0), - vec256_set4x(0XCCCCCCCCCCCCCCCC, 0XCCCCCCCCCCCCCCCC, 0XCCCCCCCCCCCCCCCC, 0XCCCCCCCCCCCCCCCC), - vec256_set4x(0XAAAAAAAAAAAAAAAA, 0XAAAAAAAAAAAAAAAA, 0XAAAAAAAAAAAAAAAA, 0XAAAAAAAAAAAAAAAA) + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X0000000000000000, 0X0000000000000000, 0X0000000000000000, 0X0000000000000000), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XFFFFFFFFFFFFFFFF, 0XFFFFFFFFFFFFFFFF, 0XFFFFFFFFFFFFFFFF, 0XFFFFFFFFFFFFFFFF), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X0000000000000000, 0X0000000000000000, 0X0000000000000000, 0X0000000000000000), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XFFFFFFFFFFFFFFFF, 0XFFFFFFFFFFFFFFFF, 0XFFFFFFFFFFFFFFFF, 0XFFFFFFFFFFFFFFFF), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XFFFFFFFFFFFFFFFF, 0XFFFFFFFFFFFFFFFF, 0XFFFFFFFFFFFFFFFF, 0XFFFFFFFFFFFFFFFF), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X0000000000000000, 0X0000000000000000, 0XFFFFFFFFFFFFFFFF, 0XFFFFFFFFFFFFFFFF), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X0000000000000000, 0XFFFFFFFFFFFFFFFF, 0X0000000000000000, 0XFFFFFFFFFFFFFFFF), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XFFFFFFFF00000000, 0XFFFFFFFF00000000, 0XFFFFFFFF00000000, 0XFFFFFFFF00000000), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XFFFF0000FFFF0000, 0XFFFF0000FFFF0000, 0XFFFF0000FFFF0000, 0XFFFF0000FFFF0000), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XFF00FF00FF00FF00, 0XFF00FF00FF00FF00, 0XFF00FF00FF00FF00, 0XFF00FF00FF00FF00), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XF0F0F0F0F0F0F0F0, 0XF0F0F0F0F0F0F0F0, 0XF0F0F0F0F0F0F0F0, 0XF0F0F0F0F0F0F0F0), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XCCCCCCCCCCCCCCCC, 0XCCCCCCCCCCCCCCCC, 0XCCCCCCCCCCCCCCCC, 0XCCCCCCCCCCCCCCCC), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XAAAAAAAAAAAAAAAA, 0XAAAAAAAAAAAAAAAA, 0XAAAAAAAAAAAAAAAA, 0XAAAAAAAAAAAAAAAA) }, { - vec256_set4x(0X0000000000000000, 0X0000000000000000, 0X0000000000000000, 0X0000000000000000), - vec256_set4x(0XFFFFFFFFFFFFFFFF, 0XFFFFFFFFFFFFFFFF, 0XFFFFFFFFFFFFFFFF, 0XFFFFFFFFFFFFFFFF), - vec256_set4x(0XFFFFFFFFFFFFFFFF, 0XFFFFFFFFFFFFFFFF, 0XFFFFFFFFFFFFFFFF, 0XFFFFFFFFFFFFFFFF), - vec256_set4x(0X0000000000000000, 0X0000000000000000, 0X0000000000000000, 0X0000000000000000), - vec256_set4x(0X0000000000000000, 0X0000000000000000, 0X0000000000000000, 0X0000000000000000), - vec256_set4x(0X0000000000000000, 0X0000000000000000, 0XFFFFFFFFFFFFFFFF, 0XFFFFFFFFFFFFFFFF), - vec256_set4x(0X0000000000000000, 0XFFFFFFFFFFFFFFFF, 0X0000000000000000, 0XFFFFFFFFFFFFFFFF), - vec256_set4x(0XFFFFFFFF00000000, 0XFFFFFFFF00000000, 0XFFFFFFFF00000000, 0XFFFFFFFF00000000), - vec256_set4x(0XFFFF0000FFFF0000, 0XFFFF0000FFFF0000, 0XFFFF0000FFFF0000, 0XFFFF0000FFFF0000), - vec256_set4x(0XFF00FF00FF00FF00, 0XFF00FF00FF00FF00, 0XFF00FF00FF00FF00, 0XFF00FF00FF00FF00), - vec256_set4x(0XF0F0F0F0F0F0F0F0, 0XF0F0F0F0F0F0F0F0, 0XF0F0F0F0F0F0F0F0, 0XF0F0F0F0F0F0F0F0), - vec256_set4x(0XCCCCCCCCCCCCCCCC, 0XCCCCCCCCCCCCCCCC, 0XCCCCCCCCCCCCCCCC, 0XCCCCCCCCCCCCCCCC), - vec256_set4x(0XAAAAAAAAAAAAAAAA, 0XAAAAAAAAAAAAAAAA, 0XAAAAAAAAAAAAAAAA, 0XAAAAAAAAAAAAAAAA) + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X0000000000000000, 0X0000000000000000, 0X0000000000000000, 0X0000000000000000), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XFFFFFFFFFFFFFFFF, 0XFFFFFFFFFFFFFFFF, 0XFFFFFFFFFFFFFFFF, 0XFFFFFFFFFFFFFFFF), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XFFFFFFFFFFFFFFFF, 0XFFFFFFFFFFFFFFFF, 0XFFFFFFFFFFFFFFFF, 0XFFFFFFFFFFFFFFFF), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X0000000000000000, 0X0000000000000000, 0X0000000000000000, 0X0000000000000000), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X0000000000000000, 0X0000000000000000, 0X0000000000000000, 0X0000000000000000), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X0000000000000000, 0X0000000000000000, 0XFFFFFFFFFFFFFFFF, 0XFFFFFFFFFFFFFFFF), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X0000000000000000, 0XFFFFFFFFFFFFFFFF, 0X0000000000000000, 0XFFFFFFFFFFFFFFFF), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XFFFFFFFF00000000, 0XFFFFFFFF00000000, 0XFFFFFFFF00000000, 0XFFFFFFFF00000000), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XFFFF0000FFFF0000, 0XFFFF0000FFFF0000, 0XFFFF0000FFFF0000, 0XFFFF0000FFFF0000), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XFF00FF00FF00FF00, 0XFF00FF00FF00FF00, 0XFF00FF00FF00FF00, 0XFF00FF00FF00FF00), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XF0F0F0F0F0F0F0F0, 0XF0F0F0F0F0F0F0F0, 0XF0F0F0F0F0F0F0F0, 0XF0F0F0F0F0F0F0F0), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XCCCCCCCCCCCCCCCC, 0XCCCCCCCCCCCCCCCC, 0XCCCCCCCCCCCCCCCC, 0XCCCCCCCCCCCCCCCC), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XAAAAAAAAAAAAAAAA, 0XAAAAAAAAAAAAAAAA, 0XAAAAAAAAAAAAAAAA, 0XAAAAAAAAAAAAAAAA) }, { - vec256_set4x(0X0000000000000000, 0X0000000000000000, 0X0000000000000000, 0X0000000000000000), - vec256_set4x(0XFFFFFFFFFFFFFFFF, 0XFFFFFFFFFFFFFFFF, 0XFFFFFFFFFFFFFFFF, 0XFFFFFFFFFFFFFFFF), - vec256_set4x(0XFFFFFFFFFFFFFFFF, 0XFFFFFFFFFFFFFFFF, 0XFFFFFFFFFFFFFFFF, 0XFFFFFFFFFFFFFFFF), - vec256_set4x(0X0000000000000000, 0X0000000000000000, 0X0000000000000000, 0X0000000000000000), - vec256_set4x(0XFFFFFFFFFFFFFFFF, 0XFFFFFFFFFFFFFFFF, 0XFFFFFFFFFFFFFFFF, 0XFFFFFFFFFFFFFFFF), - vec256_set4x(0X0000000000000000, 0X0000000000000000, 0XFFFFFFFFFFFFFFFF, 0XFFFFFFFFFFFFFFFF), - vec256_set4x(0X0000000000000000, 0XFFFFFFFFFFFFFFFF, 0X0000000000000000, 0XFFFFFFFFFFFFFFFF), - vec256_set4x(0XFFFFFFFF00000000, 0XFFFFFFFF00000000, 0XFFFFFFFF00000000, 0XFFFFFFFF00000000), - vec256_set4x(0XFFFF0000FFFF0000, 0XFFFF0000FFFF0000, 0XFFFF0000FFFF0000, 0XFFFF0000FFFF0000), - vec256_set4x(0XFF00FF00FF00FF00, 0XFF00FF00FF00FF00, 0XFF00FF00FF00FF00, 0XFF00FF00FF00FF00), - vec256_set4x(0XF0F0F0F0F0F0F0F0, 0XF0F0F0F0F0F0F0F0, 0XF0F0F0F0F0F0F0F0, 0XF0F0F0F0F0F0F0F0), - vec256_set4x(0XCCCCCCCCCCCCCCCC, 0XCCCCCCCCCCCCCCCC, 0XCCCCCCCCCCCCCCCC, 0XCCCCCCCCCCCCCCCC), - vec256_set4x(0XAAAAAAAAAAAAAAAA, 0XAAAAAAAAAAAAAAAA, 0XAAAAAAAAAAAAAAAA, 0XAAAAAAAAAAAAAAAA) + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X0000000000000000, 0X0000000000000000, 0X0000000000000000, 0X0000000000000000), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XFFFFFFFFFFFFFFFF, 0XFFFFFFFFFFFFFFFF, 0XFFFFFFFFFFFFFFFF, 0XFFFFFFFFFFFFFFFF), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XFFFFFFFFFFFFFFFF, 0XFFFFFFFFFFFFFFFF, 0XFFFFFFFFFFFFFFFF, 0XFFFFFFFFFFFFFFFF), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X0000000000000000, 0X0000000000000000, 0X0000000000000000, 0X0000000000000000), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XFFFFFFFFFFFFFFFF, 0XFFFFFFFFFFFFFFFF, 0XFFFFFFFFFFFFFFFF, 0XFFFFFFFFFFFFFFFF), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X0000000000000000, 0X0000000000000000, 0XFFFFFFFFFFFFFFFF, 0XFFFFFFFFFFFFFFFF), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X0000000000000000, 0XFFFFFFFFFFFFFFFF, 0X0000000000000000, 0XFFFFFFFFFFFFFFFF), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XFFFFFFFF00000000, 0XFFFFFFFF00000000, 0XFFFFFFFF00000000, 0XFFFFFFFF00000000), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XFFFF0000FFFF0000, 0XFFFF0000FFFF0000, 0XFFFF0000FFFF0000, 0XFFFF0000FFFF0000), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XFF00FF00FF00FF00, 0XFF00FF00FF00FF00, 0XFF00FF00FF00FF00, 0XFF00FF00FF00FF00), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XF0F0F0F0F0F0F0F0, 0XF0F0F0F0F0F0F0F0, 0XF0F0F0F0F0F0F0F0, 0XF0F0F0F0F0F0F0F0), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XCCCCCCCCCCCCCCCC, 0XCCCCCCCCCCCCCCCC, 0XCCCCCCCCCCCCCCCC, 0XCCCCCCCCCCCCCCCC), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XAAAAAAAAAAAAAAAA, 0XAAAAAAAAAAAAAAAA, 0XAAAAAAAAAAAAAAAA, 0XAAAAAAAAAAAAAAAA) }, { - vec256_set4x(0X0000000000000000, 0X0000000000000000, 0X0000000000000000, 0X0000000000000000), - vec256_set4x(0XFFFFFFFFFFFFFFFF, 0XFFFFFFFFFFFFFFFF, 0XFFFFFFFFFFFFFFFF, 0XFFFFFFFFFFFFFFFF), - vec256_set4x(0XFFFFFFFFFFFFFFFF, 0XFFFFFFFFFFFFFFFF, 0XFFFFFFFFFFFFFFFF, 0XFFFFFFFFFFFFFFFF), - vec256_set4x(0XFFFFFFFFFFFFFFFF, 0XFFFFFFFFFFFFFFFF, 0XFFFFFFFFFFFFFFFF, 0XFFFFFFFFFFFFFFFF), - vec256_set4x(0X0000000000000000, 0X0000000000000000, 0X0000000000000000, 0X0000000000000000), - vec256_set4x(0X0000000000000000, 0X0000000000000000, 0XFFFFFFFFFFFFFFFF, 0XFFFFFFFFFFFFFFFF), - vec256_set4x(0X0000000000000000, 0XFFFFFFFFFFFFFFFF, 0X0000000000000000, 0XFFFFFFFFFFFFFFFF), - vec256_set4x(0XFFFFFFFF00000000, 0XFFFFFFFF00000000, 0XFFFFFFFF00000000, 0XFFFFFFFF00000000), - vec256_set4x(0XFFFF0000FFFF0000, 0XFFFF0000FFFF0000, 0XFFFF0000FFFF0000, 0XFFFF0000FFFF0000), - vec256_set4x(0XFF00FF00FF00FF00, 0XFF00FF00FF00FF00, 0XFF00FF00FF00FF00, 0XFF00FF00FF00FF00), - vec256_set4x(0XF0F0F0F0F0F0F0F0, 0XF0F0F0F0F0F0F0F0, 0XF0F0F0F0F0F0F0F0, 0XF0F0F0F0F0F0F0F0), - vec256_set4x(0XCCCCCCCCCCCCCCCC, 0XCCCCCCCCCCCCCCCC, 0XCCCCCCCCCCCCCCCC, 0XCCCCCCCCCCCCCCCC), - vec256_set4x(0XAAAAAAAAAAAAAAAA, 0XAAAAAAAAAAAAAAAA, 0XAAAAAAAAAAAAAAAA, 0XAAAAAAAAAAAAAAAA) + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X0000000000000000, 0X0000000000000000, 0X0000000000000000, 0X0000000000000000), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XFFFFFFFFFFFFFFFF, 0XFFFFFFFFFFFFFFFF, 0XFFFFFFFFFFFFFFFF, 0XFFFFFFFFFFFFFFFF), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XFFFFFFFFFFFFFFFF, 0XFFFFFFFFFFFFFFFF, 0XFFFFFFFFFFFFFFFF, 0XFFFFFFFFFFFFFFFF), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XFFFFFFFFFFFFFFFF, 0XFFFFFFFFFFFFFFFF, 0XFFFFFFFFFFFFFFFF, 0XFFFFFFFFFFFFFFFF), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X0000000000000000, 0X0000000000000000, 0X0000000000000000, 0X0000000000000000), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X0000000000000000, 0X0000000000000000, 0XFFFFFFFFFFFFFFFF, 0XFFFFFFFFFFFFFFFF), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X0000000000000000, 0XFFFFFFFFFFFFFFFF, 0X0000000000000000, 0XFFFFFFFFFFFFFFFF), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XFFFFFFFF00000000, 0XFFFFFFFF00000000, 0XFFFFFFFF00000000, 0XFFFFFFFF00000000), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XFFFF0000FFFF0000, 0XFFFF0000FFFF0000, 0XFFFF0000FFFF0000, 0XFFFF0000FFFF0000), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XFF00FF00FF00FF00, 0XFF00FF00FF00FF00, 0XFF00FF00FF00FF00, 0XFF00FF00FF00FF00), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XF0F0F0F0F0F0F0F0, 0XF0F0F0F0F0F0F0F0, 0XF0F0F0F0F0F0F0F0, 0XF0F0F0F0F0F0F0F0), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XCCCCCCCCCCCCCCCC, 0XCCCCCCCCCCCCCCCC, 0XCCCCCCCCCCCCCCCC, 0XCCCCCCCCCCCCCCCC), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XAAAAAAAAAAAAAAAA, 0XAAAAAAAAAAAAAAAA, 0XAAAAAAAAAAAAAAAA, 0XAAAAAAAAAAAAAAAA) }, { - vec256_set4x(0X0000000000000000, 0X0000000000000000, 0X0000000000000000, 0X0000000000000000), - vec256_set4x(0XFFFFFFFFFFFFFFFF, 0XFFFFFFFFFFFFFFFF, 0XFFFFFFFFFFFFFFFF, 0XFFFFFFFFFFFFFFFF), - vec256_set4x(0XFFFFFFFFFFFFFFFF, 0XFFFFFFFFFFFFFFFF, 0XFFFFFFFFFFFFFFFF, 0XFFFFFFFFFFFFFFFF), - vec256_set4x(0XFFFFFFFFFFFFFFFF, 0XFFFFFFFFFFFFFFFF, 0XFFFFFFFFFFFFFFFF, 0XFFFFFFFFFFFFFFFF), - vec256_set4x(0XFFFFFFFFFFFFFFFF, 0XFFFFFFFFFFFFFFFF, 0XFFFFFFFFFFFFFFFF, 0XFFFFFFFFFFFFFFFF), - vec256_set4x(0X0000000000000000, 0X0000000000000000, 0XFFFFFFFFFFFFFFFF, 0XFFFFFFFFFFFFFFFF), - vec256_set4x(0X0000000000000000, 0XFFFFFFFFFFFFFFFF, 0X0000000000000000, 0XFFFFFFFFFFFFFFFF), - vec256_set4x(0XFFFFFFFF00000000, 0XFFFFFFFF00000000, 0XFFFFFFFF00000000, 0XFFFFFFFF00000000), - vec256_set4x(0XFFFF0000FFFF0000, 0XFFFF0000FFFF0000, 0XFFFF0000FFFF0000, 0XFFFF0000FFFF0000), - vec256_set4x(0XFF00FF00FF00FF00, 0XFF00FF00FF00FF00, 0XFF00FF00FF00FF00, 0XFF00FF00FF00FF00), - vec256_set4x(0XF0F0F0F0F0F0F0F0, 0XF0F0F0F0F0F0F0F0, 0XF0F0F0F0F0F0F0F0, 0XF0F0F0F0F0F0F0F0), - vec256_set4x(0XCCCCCCCCCCCCCCCC, 0XCCCCCCCCCCCCCCCC, 0XCCCCCCCCCCCCCCCC, 0XCCCCCCCCCCCCCCCC), - vec256_set4x(0XAAAAAAAAAAAAAAAA, 0XAAAAAAAAAAAAAAAA, 0XAAAAAAAAAAAAAAAA, 0XAAAAAAAAAAAAAAAA) + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X0000000000000000, 0X0000000000000000, 0X0000000000000000, 0X0000000000000000), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XFFFFFFFFFFFFFFFF, 0XFFFFFFFFFFFFFFFF, 0XFFFFFFFFFFFFFFFF, 0XFFFFFFFFFFFFFFFF), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XFFFFFFFFFFFFFFFF, 0XFFFFFFFFFFFFFFFF, 0XFFFFFFFFFFFFFFFF, 0XFFFFFFFFFFFFFFFF), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XFFFFFFFFFFFFFFFF, 0XFFFFFFFFFFFFFFFF, 0XFFFFFFFFFFFFFFFF, 0XFFFFFFFFFFFFFFFF), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XFFFFFFFFFFFFFFFF, 0XFFFFFFFFFFFFFFFF, 0XFFFFFFFFFFFFFFFF, 0XFFFFFFFFFFFFFFFF), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X0000000000000000, 0X0000000000000000, 0XFFFFFFFFFFFFFFFF, 0XFFFFFFFFFFFFFFFF), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X0000000000000000, 0XFFFFFFFFFFFFFFFF, 0X0000000000000000, 0XFFFFFFFFFFFFFFFF), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XFFFFFFFF00000000, 0XFFFFFFFF00000000, 0XFFFFFFFF00000000, 0XFFFFFFFF00000000), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XFFFF0000FFFF0000, 0XFFFF0000FFFF0000, 0XFFFF0000FFFF0000, 0XFFFF0000FFFF0000), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XFF00FF00FF00FF00, 0XFF00FF00FF00FF00, 0XFF00FF00FF00FF00, 0XFF00FF00FF00FF00), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XF0F0F0F0F0F0F0F0, 0XF0F0F0F0F0F0F0F0, 0XF0F0F0F0F0F0F0F0, 0XF0F0F0F0F0F0F0F0), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XCCCCCCCCCCCCCCCC, 0XCCCCCCCCCCCCCCCC, 0XCCCCCCCCCCCCCCCC, 0XCCCCCCCCCCCCCCCC), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XAAAAAAAAAAAAAAAA, 0XAAAAAAAAAAAAAAAA, 0XAAAAAAAAAAAAAAAA, 0XAAAAAAAAAAAAAAAA) } diff --git a/crypto_kem/mceliece8192128f/avx/decrypt.c b/crypto_kem/mceliece8192128f/avx/decrypt.c index 8fefd4dd..87a8b7c7 100644 --- a/crypto_kem/mceliece8192128f/avx/decrypt.c +++ b/crypto_kem/mceliece8192128f/avx/decrypt.c @@ -30,26 +30,26 @@ static void scaling(vec256 out[][GFBITS], vec256 inv[][GFBITS], const unsigned c PQCLEAN_MCELIECE8192128F_AVX_vec256_sq(eval[i], eval[i]); } - vec256_copy(inv[0], eval[0]); + PQCLEAN_MCELIECE8192128F_AVX_vec256_copy(inv[0], eval[0]); for (i = 1; i < 32; i++) { - vec256_mul(inv[i], inv[i - 1], eval[i]); + PQCLEAN_MCELIECE8192128F_AVX_vec256_mul(inv[i], inv[i - 1], eval[i]); } PQCLEAN_MCELIECE8192128F_AVX_vec256_inv(tmp, inv[31]); for (i = 30; i >= 0; i--) { - vec256_mul(inv[i + 1], tmp, inv[i]); - vec256_mul(tmp, tmp, eval[i + 1]); + PQCLEAN_MCELIECE8192128F_AVX_vec256_mul(inv[i + 1], tmp, inv[i]); + PQCLEAN_MCELIECE8192128F_AVX_vec256_mul(tmp, tmp, eval[i + 1]); } - vec256_copy(inv[0], tmp); + PQCLEAN_MCELIECE8192128F_AVX_vec256_copy(inv[0], tmp); // for (i = 0; i < 32; i++) { for (j = 0; j < GFBITS; j++) { - out[i][j] = vec256_and(inv[i][j], recv[i]); + out[i][j] = PQCLEAN_MCELIECE8192128F_AVX_vec256_and(inv[i][j], recv[i]); } } } @@ -59,7 +59,7 @@ static void scaling_inv(vec256 out[][GFBITS], vec256 inv[][GFBITS], vec256 *recv for (i = 0; i < 32; i++) { for (j = 0; j < GFBITS; j++) { - out[i][j] = vec256_and(inv[i][j], recv[i]); + out[i][j] = PQCLEAN_MCELIECE8192128F_AVX_vec256_and(inv[i][j], recv[i]); } } } @@ -82,10 +82,10 @@ static int weight(vec256 *v) { int i, w = 0; for (i = 0; i < 32; i++) { - w += (int)_mm_popcnt_u64( vec256_extract(v[i], 0) ); - w += (int)_mm_popcnt_u64( vec256_extract(v[i], 1) ); - w += (int)_mm_popcnt_u64( vec256_extract(v[i], 2) ); - w += (int)_mm_popcnt_u64( vec256_extract(v[i], 3) ); + w += (int)_mm_popcnt_u64( PQCLEAN_MCELIECE8192128F_AVX_vec256_extract(v[i], 0) ); + w += (int)_mm_popcnt_u64( PQCLEAN_MCELIECE8192128F_AVX_vec256_extract(v[i], 1) ); + w += (int)_mm_popcnt_u64( PQCLEAN_MCELIECE8192128F_AVX_vec256_extract(v[i], 2) ); + w += (int)_mm_popcnt_u64( PQCLEAN_MCELIECE8192128F_AVX_vec256_extract(v[i], 3) ); } return w; @@ -95,13 +95,13 @@ static uint16_t synd_cmp(vec256 *s0, vec256 *s1) { int i; vec256 diff; - diff = vec256_xor(s0[0], s1[0]); + diff = PQCLEAN_MCELIECE8192128F_AVX_vec256_xor(s0[0], s1[0]); for (i = 1; i < GFBITS; i++) { - diff = vec256_or(diff, vec256_xor(s0[i], s1[i])); + diff = PQCLEAN_MCELIECE8192128F_AVX_vec256_or(diff, PQCLEAN_MCELIECE8192128F_AVX_vec256_xor(s0[i], s1[i])); } - return vec256_testz(diff); + return PQCLEAN_MCELIECE8192128F_AVX_vec256_testz(diff); } static void reformat_128to256(vec256 *out, vec128 *in) { @@ -114,7 +114,7 @@ static void reformat_128to256(vec256 *out, vec128 *in) { v[2] = PQCLEAN_MCELIECE8192128F_AVX_vec128_extract(in[2 * i + 1], 0); v[3] = PQCLEAN_MCELIECE8192128F_AVX_vec128_extract(in[2 * i + 1], 1); - out[i] = vec256_set4x(v[0], v[1], v[2], v[3]); + out[i] = PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(v[0], v[1], v[2], v[3]); } } @@ -123,10 +123,10 @@ static void reformat_256to128(vec128 *out, vec256 *in) { uint64_t v[4]; for (i = 0; i < 32; i++) { - v[0] = vec256_extract(in[i], 0); - v[1] = vec256_extract(in[i], 1); - v[2] = vec256_extract(in[i], 2); - v[3] = vec256_extract(in[i], 3); + v[0] = PQCLEAN_MCELIECE8192128F_AVX_vec256_extract(in[i], 0); + v[1] = PQCLEAN_MCELIECE8192128F_AVX_vec256_extract(in[i], 1); + v[2] = PQCLEAN_MCELIECE8192128F_AVX_vec256_extract(in[i], 2); + v[3] = PQCLEAN_MCELIECE8192128F_AVX_vec256_extract(in[i], 3); out[2 * i + 0] = PQCLEAN_MCELIECE8192128F_AVX_vec128_set2x(v[0], v[1]); out[2 * i + 1] = PQCLEAN_MCELIECE8192128F_AVX_vec128_set2x(v[2], v[3]); @@ -177,11 +177,11 @@ int PQCLEAN_MCELIECE8192128F_AVX_decrypt(unsigned char *e, const unsigned char * // reencryption and weight check - allone = vec256_set1_16b(0xFFFF); + allone = PQCLEAN_MCELIECE8192128F_AVX_vec256_set1_16b(0xFFFF); for (i = 0; i < 32; i++) { - error256[i] = vec256_or_reduce(eval[i]); - error256[i] = vec256_xor(error256[i], allone); + error256[i] = PQCLEAN_MCELIECE8192128F_AVX_vec256_or_reduce(eval[i]); + error256[i] = PQCLEAN_MCELIECE8192128F_AVX_vec256_xor(error256[i], allone); } check_weight = (uint16_t)(weight(error256) ^ SYS_T); diff --git a/crypto_kem/mceliece8192128f/avx/fft.c b/crypto_kem/mceliece8192128f/avx/fft.c index 0cee28ae..33f13bd6 100644 --- a/crypto_kem/mceliece8192128f/avx/fft.c +++ b/crypto_kem/mceliece8192128f/avx/fft.c @@ -148,69 +148,69 @@ static void butterflies(vec256 out[][ GFBITS ], vec128 *in) { } buf.v[0][0] = PQCLEAN_MCELIECE8192128F_AVX_vec128_unpack_low(in[i + 0], in[i + 0] ^ pre.v[6][i + 0]); - buf.V[1] = vec256_xor(buf.V[0], pre.V[0][i / 2]); - buf.V[16] = vec256_xor(buf.V[0], pre.V[4][i / 2]); - buf.V[3] = vec256_xor(buf.V[1], pre.V[1][i / 2]); - buf.V[48] = vec256_xor(buf.V[16], pre.V[5][i / 2]); - buf.V[49] = vec256_xor(buf.V[48], pre.V[0][i / 2]); - buf.V[2] = vec256_xor(buf.V[0], pre.V[1][i / 2]); - buf.V[51] = vec256_xor(buf.V[49], pre.V[1][i / 2]); - buf.V[6] = vec256_xor(buf.V[2], pre.V[2][i / 2]); - buf.V[50] = vec256_xor(buf.V[51], pre.V[0][i / 2]); - buf.V[7] = vec256_xor(buf.V[6], pre.V[0][i / 2]); - buf.V[54] = vec256_xor(buf.V[50], pre.V[2][i / 2]); - buf.V[5] = vec256_xor(buf.V[7], pre.V[1][i / 2]); - buf.V[55] = vec256_xor(buf.V[54], pre.V[0][i / 2]); - buf.V[53] = vec256_xor(buf.V[55], pre.V[1][i / 2]); - buf.V[4] = vec256_xor(buf.V[0], pre.V[2][i / 2]); - buf.V[52] = vec256_xor(buf.V[53], pre.V[0][i / 2]); - buf.V[12] = vec256_xor(buf.V[4], pre.V[3][i / 2]); - buf.V[60] = vec256_xor(buf.V[52], pre.V[3][i / 2]); - buf.V[13] = vec256_xor(buf.V[12], pre.V[0][i / 2]); - buf.V[61] = vec256_xor(buf.V[60], pre.V[0][i / 2]); - buf.V[15] = vec256_xor(buf.V[13], pre.V[1][i / 2]); - buf.V[63] = vec256_xor(buf.V[61], pre.V[1][i / 2]); - buf.V[14] = vec256_xor(buf.V[15], pre.V[0][i / 2]); - buf.V[62] = vec256_xor(buf.V[63], pre.V[0][i / 2]); - buf.V[10] = vec256_xor(buf.V[14], pre.V[2][i / 2]); - buf.V[58] = vec256_xor(buf.V[62], pre.V[2][i / 2]); - buf.V[11] = vec256_xor(buf.V[10], pre.V[0][i / 2]); - buf.V[59] = vec256_xor(buf.V[58], pre.V[0][i / 2]); - buf.V[9] = vec256_xor(buf.V[11], pre.V[1][i / 2]); - buf.V[57] = vec256_xor(buf.V[59], pre.V[1][i / 2]); - buf.V[56] = vec256_xor(buf.V[57], pre.V[0][i / 2]); - buf.V[8] = vec256_xor(buf.V[0], pre.V[3][i / 2]); - buf.V[40] = vec256_xor(buf.V[56], pre.V[4][i / 2]); - buf.V[24] = vec256_xor(buf.V[8], pre.V[4][i / 2]); - buf.V[41] = vec256_xor(buf.V[40], pre.V[0][i / 2]); - buf.V[25] = vec256_xor(buf.V[24], pre.V[0][i / 2]); - buf.V[43] = vec256_xor(buf.V[41], pre.V[1][i / 2]); - buf.V[27] = vec256_xor(buf.V[25], pre.V[1][i / 2]); - buf.V[42] = vec256_xor(buf.V[43], pre.V[0][i / 2]); - buf.V[26] = vec256_xor(buf.V[27], pre.V[0][i / 2]); - buf.V[46] = vec256_xor(buf.V[42], pre.V[2][i / 2]); - buf.V[30] = vec256_xor(buf.V[26], pre.V[2][i / 2]); - buf.V[47] = vec256_xor(buf.V[46], pre.V[0][i / 2]); - buf.V[31] = vec256_xor(buf.V[30], pre.V[0][i / 2]); - buf.V[45] = vec256_xor(buf.V[47], pre.V[1][i / 2]); - buf.V[29] = vec256_xor(buf.V[31], pre.V[1][i / 2]); - buf.V[44] = vec256_xor(buf.V[45], pre.V[0][i / 2]); - buf.V[28] = vec256_xor(buf.V[29], pre.V[0][i / 2]); - buf.V[36] = vec256_xor(buf.V[44], pre.V[3][i / 2]); - buf.V[20] = vec256_xor(buf.V[28], pre.V[3][i / 2]); - buf.V[37] = vec256_xor(buf.V[36], pre.V[0][i / 2]); - buf.V[21] = vec256_xor(buf.V[20], pre.V[0][i / 2]); - buf.V[39] = vec256_xor(buf.V[37], pre.V[1][i / 2]); - buf.V[23] = vec256_xor(buf.V[21], pre.V[1][i / 2]); - buf.V[38] = vec256_xor(buf.V[39], pre.V[0][i / 2]); - buf.V[22] = vec256_xor(buf.V[23], pre.V[0][i / 2]); - buf.V[34] = vec256_xor(buf.V[38], pre.V[2][i / 2]); - buf.V[18] = vec256_xor(buf.V[22], pre.V[2][i / 2]); - buf.V[35] = vec256_xor(buf.V[34], pre.V[0][i / 2]); - buf.V[19] = vec256_xor(buf.V[18], pre.V[0][i / 2]); - buf.V[33] = vec256_xor(buf.V[35], pre.V[1][i / 2]); - buf.V[17] = vec256_xor(buf.V[19], pre.V[1][i / 2]); - buf.V[32] = vec256_xor(buf.V[33], pre.V[0][i / 2]); + buf.V[1] = PQCLEAN_MCELIECE8192128F_AVX_vec256_xor(buf.V[0], pre.V[0][i / 2]); + buf.V[16] = PQCLEAN_MCELIECE8192128F_AVX_vec256_xor(buf.V[0], pre.V[4][i / 2]); + buf.V[3] = PQCLEAN_MCELIECE8192128F_AVX_vec256_xor(buf.V[1], pre.V[1][i / 2]); + buf.V[48] = PQCLEAN_MCELIECE8192128F_AVX_vec256_xor(buf.V[16], pre.V[5][i / 2]); + buf.V[49] = PQCLEAN_MCELIECE8192128F_AVX_vec256_xor(buf.V[48], pre.V[0][i / 2]); + buf.V[2] = PQCLEAN_MCELIECE8192128F_AVX_vec256_xor(buf.V[0], pre.V[1][i / 2]); + buf.V[51] = PQCLEAN_MCELIECE8192128F_AVX_vec256_xor(buf.V[49], pre.V[1][i / 2]); + buf.V[6] = PQCLEAN_MCELIECE8192128F_AVX_vec256_xor(buf.V[2], pre.V[2][i / 2]); + buf.V[50] = PQCLEAN_MCELIECE8192128F_AVX_vec256_xor(buf.V[51], pre.V[0][i / 2]); + buf.V[7] = PQCLEAN_MCELIECE8192128F_AVX_vec256_xor(buf.V[6], pre.V[0][i / 2]); + buf.V[54] = PQCLEAN_MCELIECE8192128F_AVX_vec256_xor(buf.V[50], pre.V[2][i / 2]); + buf.V[5] = PQCLEAN_MCELIECE8192128F_AVX_vec256_xor(buf.V[7], pre.V[1][i / 2]); + buf.V[55] = PQCLEAN_MCELIECE8192128F_AVX_vec256_xor(buf.V[54], pre.V[0][i / 2]); + buf.V[53] = PQCLEAN_MCELIECE8192128F_AVX_vec256_xor(buf.V[55], pre.V[1][i / 2]); + buf.V[4] = PQCLEAN_MCELIECE8192128F_AVX_vec256_xor(buf.V[0], pre.V[2][i / 2]); + buf.V[52] = PQCLEAN_MCELIECE8192128F_AVX_vec256_xor(buf.V[53], pre.V[0][i / 2]); + buf.V[12] = PQCLEAN_MCELIECE8192128F_AVX_vec256_xor(buf.V[4], pre.V[3][i / 2]); + buf.V[60] = PQCLEAN_MCELIECE8192128F_AVX_vec256_xor(buf.V[52], pre.V[3][i / 2]); + buf.V[13] = PQCLEAN_MCELIECE8192128F_AVX_vec256_xor(buf.V[12], pre.V[0][i / 2]); + buf.V[61] = PQCLEAN_MCELIECE8192128F_AVX_vec256_xor(buf.V[60], pre.V[0][i / 2]); + buf.V[15] = PQCLEAN_MCELIECE8192128F_AVX_vec256_xor(buf.V[13], pre.V[1][i / 2]); + buf.V[63] = PQCLEAN_MCELIECE8192128F_AVX_vec256_xor(buf.V[61], pre.V[1][i / 2]); + buf.V[14] = PQCLEAN_MCELIECE8192128F_AVX_vec256_xor(buf.V[15], pre.V[0][i / 2]); + buf.V[62] = PQCLEAN_MCELIECE8192128F_AVX_vec256_xor(buf.V[63], pre.V[0][i / 2]); + buf.V[10] = PQCLEAN_MCELIECE8192128F_AVX_vec256_xor(buf.V[14], pre.V[2][i / 2]); + buf.V[58] = PQCLEAN_MCELIECE8192128F_AVX_vec256_xor(buf.V[62], pre.V[2][i / 2]); + buf.V[11] = PQCLEAN_MCELIECE8192128F_AVX_vec256_xor(buf.V[10], pre.V[0][i / 2]); + buf.V[59] = PQCLEAN_MCELIECE8192128F_AVX_vec256_xor(buf.V[58], pre.V[0][i / 2]); + buf.V[9] = PQCLEAN_MCELIECE8192128F_AVX_vec256_xor(buf.V[11], pre.V[1][i / 2]); + buf.V[57] = PQCLEAN_MCELIECE8192128F_AVX_vec256_xor(buf.V[59], pre.V[1][i / 2]); + buf.V[56] = PQCLEAN_MCELIECE8192128F_AVX_vec256_xor(buf.V[57], pre.V[0][i / 2]); + buf.V[8] = PQCLEAN_MCELIECE8192128F_AVX_vec256_xor(buf.V[0], pre.V[3][i / 2]); + buf.V[40] = PQCLEAN_MCELIECE8192128F_AVX_vec256_xor(buf.V[56], pre.V[4][i / 2]); + buf.V[24] = PQCLEAN_MCELIECE8192128F_AVX_vec256_xor(buf.V[8], pre.V[4][i / 2]); + buf.V[41] = PQCLEAN_MCELIECE8192128F_AVX_vec256_xor(buf.V[40], pre.V[0][i / 2]); + buf.V[25] = PQCLEAN_MCELIECE8192128F_AVX_vec256_xor(buf.V[24], pre.V[0][i / 2]); + buf.V[43] = PQCLEAN_MCELIECE8192128F_AVX_vec256_xor(buf.V[41], pre.V[1][i / 2]); + buf.V[27] = PQCLEAN_MCELIECE8192128F_AVX_vec256_xor(buf.V[25], pre.V[1][i / 2]); + buf.V[42] = PQCLEAN_MCELIECE8192128F_AVX_vec256_xor(buf.V[43], pre.V[0][i / 2]); + buf.V[26] = PQCLEAN_MCELIECE8192128F_AVX_vec256_xor(buf.V[27], pre.V[0][i / 2]); + buf.V[46] = PQCLEAN_MCELIECE8192128F_AVX_vec256_xor(buf.V[42], pre.V[2][i / 2]); + buf.V[30] = PQCLEAN_MCELIECE8192128F_AVX_vec256_xor(buf.V[26], pre.V[2][i / 2]); + buf.V[47] = PQCLEAN_MCELIECE8192128F_AVX_vec256_xor(buf.V[46], pre.V[0][i / 2]); + buf.V[31] = PQCLEAN_MCELIECE8192128F_AVX_vec256_xor(buf.V[30], pre.V[0][i / 2]); + buf.V[45] = PQCLEAN_MCELIECE8192128F_AVX_vec256_xor(buf.V[47], pre.V[1][i / 2]); + buf.V[29] = PQCLEAN_MCELIECE8192128F_AVX_vec256_xor(buf.V[31], pre.V[1][i / 2]); + buf.V[44] = PQCLEAN_MCELIECE8192128F_AVX_vec256_xor(buf.V[45], pre.V[0][i / 2]); + buf.V[28] = PQCLEAN_MCELIECE8192128F_AVX_vec256_xor(buf.V[29], pre.V[0][i / 2]); + buf.V[36] = PQCLEAN_MCELIECE8192128F_AVX_vec256_xor(buf.V[44], pre.V[3][i / 2]); + buf.V[20] = PQCLEAN_MCELIECE8192128F_AVX_vec256_xor(buf.V[28], pre.V[3][i / 2]); + buf.V[37] = PQCLEAN_MCELIECE8192128F_AVX_vec256_xor(buf.V[36], pre.V[0][i / 2]); + buf.V[21] = PQCLEAN_MCELIECE8192128F_AVX_vec256_xor(buf.V[20], pre.V[0][i / 2]); + buf.V[39] = PQCLEAN_MCELIECE8192128F_AVX_vec256_xor(buf.V[37], pre.V[1][i / 2]); + buf.V[23] = PQCLEAN_MCELIECE8192128F_AVX_vec256_xor(buf.V[21], pre.V[1][i / 2]); + buf.V[38] = PQCLEAN_MCELIECE8192128F_AVX_vec256_xor(buf.V[39], pre.V[0][i / 2]); + buf.V[22] = PQCLEAN_MCELIECE8192128F_AVX_vec256_xor(buf.V[23], pre.V[0][i / 2]); + buf.V[34] = PQCLEAN_MCELIECE8192128F_AVX_vec256_xor(buf.V[38], pre.V[2][i / 2]); + buf.V[18] = PQCLEAN_MCELIECE8192128F_AVX_vec256_xor(buf.V[22], pre.V[2][i / 2]); + buf.V[35] = PQCLEAN_MCELIECE8192128F_AVX_vec256_xor(buf.V[34], pre.V[0][i / 2]); + buf.V[19] = PQCLEAN_MCELIECE8192128F_AVX_vec256_xor(buf.V[18], pre.V[0][i / 2]); + buf.V[33] = PQCLEAN_MCELIECE8192128F_AVX_vec256_xor(buf.V[35], pre.V[1][i / 2]); + buf.V[17] = PQCLEAN_MCELIECE8192128F_AVX_vec256_xor(buf.V[19], pre.V[1][i / 2]); + buf.V[32] = PQCLEAN_MCELIECE8192128F_AVX_vec256_xor(buf.V[33], pre.V[0][i / 2]); // transpose @@ -219,9 +219,9 @@ static void butterflies(vec256 out[][ GFBITS ], vec128 *in) { for (j = 0; j < 32; j++) { if (i != GFBITS - 1) { - out[j][i + 1] = vec256_unpack_high(buf.V[ reversal[2 * j + 0] ], buf.V[ reversal[2 * j + 1] ]); + out[j][i + 1] = PQCLEAN_MCELIECE8192128F_AVX_vec256_unpack_high(buf.V[ reversal[2 * j + 0] ], buf.V[ reversal[2 * j + 1] ]); } - out[j][i + 0] = vec256_unpack_low (buf.V[ reversal[2 * j + 0] ], buf.V[ reversal[2 * j + 1] ]); + out[j][i + 0] = PQCLEAN_MCELIECE8192128F_AVX_vec256_unpack_low (buf.V[ reversal[2 * j + 0] ], buf.V[ reversal[2 * j + 1] ]); } } @@ -229,19 +229,19 @@ static void butterflies(vec256 out[][ GFBITS ], vec128 *in) { for (k = 0; k < 32; k += 2) { for (b = 0; b < GFBITS; b++) { - tmp0[b] = vec256_unpack_low (out[k][b], out[k + 1][b]); + tmp0[b] = PQCLEAN_MCELIECE8192128F_AVX_vec256_unpack_low (out[k][b], out[k + 1][b]); } for (b = 0; b < GFBITS; b++) { - tmp1[b] = vec256_unpack_high (out[k][b], out[k + 1][b]); + tmp1[b] = PQCLEAN_MCELIECE8192128F_AVX_vec256_unpack_high (out[k][b], out[k + 1][b]); } PQCLEAN_MCELIECE8192128F_AVX_vec256_maa_asm(tmp0, tmp1, consts[1]); for (b = 0; b < GFBITS; b++) { - out[k][b] = vec256_unpack_low (tmp0[b], tmp1[b]); + out[k][b] = PQCLEAN_MCELIECE8192128F_AVX_vec256_unpack_low (tmp0[b], tmp1[b]); } for (b = 0; b < GFBITS; b++) { - out[k + 1][b] = vec256_unpack_high (tmp0[b], tmp1[b]); + out[k + 1][b] = PQCLEAN_MCELIECE8192128F_AVX_vec256_unpack_high (tmp0[b], tmp1[b]); } } @@ -261,7 +261,7 @@ static void butterflies(vec256 out[][ GFBITS ], vec128 *in) { for (i = 0; i < 32; i++) { for (b = 0; b < GFBITS; b++) { - out[i][b] = vec256_xor(out[i][b], powers[i][b]); + out[i][b] = PQCLEAN_MCELIECE8192128F_AVX_vec256_xor(out[i][b], powers[i][b]); } } } diff --git a/crypto_kem/mceliece8192128f/avx/fft_tr.c b/crypto_kem/mceliece8192128f/avx/fft_tr.c index ba1e57d0..fe278661 100644 --- a/crypto_kem/mceliece8192128f/avx/fft_tr.c +++ b/crypto_kem/mceliece8192128f/avx/fft_tr.c @@ -16,28 +16,28 @@ static void radix_conversions_tr(vec256 *in) { const vec256 mask[6][2] = { { - vec256_set4x(0x2222222222222222, 0x2222222222222222, 0x2222222222222222, 0x2222222222222222), - vec256_set4x(0x4444444444444444, 0x4444444444444444, 0x4444444444444444, 0x4444444444444444) + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0x2222222222222222, 0x2222222222222222, 0x2222222222222222, 0x2222222222222222), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0x4444444444444444, 0x4444444444444444, 0x4444444444444444, 0x4444444444444444) }, { - vec256_set4x(0x0C0C0C0C0C0C0C0C, 0x0C0C0C0C0C0C0C0C, 0x0C0C0C0C0C0C0C0C, 0x0C0C0C0C0C0C0C0C), - vec256_set4x(0x3030303030303030, 0x3030303030303030, 0x3030303030303030, 0x3030303030303030) + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0x0C0C0C0C0C0C0C0C, 0x0C0C0C0C0C0C0C0C, 0x0C0C0C0C0C0C0C0C, 0x0C0C0C0C0C0C0C0C), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0x3030303030303030, 0x3030303030303030, 0x3030303030303030, 0x3030303030303030) }, { - vec256_set4x(0x00F000F000F000F0, 0x00F000F000F000F0, 0x00F000F000F000F0, 0x00F000F000F000F0), - vec256_set4x(0x0F000F000F000F00, 0x0F000F000F000F00, 0x0F000F000F000F00, 0x0F000F000F000F00) + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0x00F000F000F000F0, 0x00F000F000F000F0, 0x00F000F000F000F0, 0x00F000F000F000F0), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0x0F000F000F000F00, 0x0F000F000F000F00, 0x0F000F000F000F00, 0x0F000F000F000F00) }, { - vec256_set4x(0x0000FF000000FF00, 0x0000FF000000FF00, 0x0000FF000000FF00, 0x0000FF000000FF00), - vec256_set4x(0x00FF000000FF0000, 0x00FF000000FF0000, 0x00FF000000FF0000, 0x00FF000000FF0000) + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0x0000FF000000FF00, 0x0000FF000000FF00, 0x0000FF000000FF00, 0x0000FF000000FF00), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0x00FF000000FF0000, 0x00FF000000FF0000, 0x00FF000000FF0000, 0x00FF000000FF0000) }, { - vec256_set4x(0x00000000FFFF0000, 0x00000000FFFF0000, 0x00000000FFFF0000, 0x00000000FFFF0000), - vec256_set4x(0x0000FFFF00000000, 0x0000FFFF00000000, 0x0000FFFF00000000, 0x0000FFFF00000000) + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0x00000000FFFF0000, 0x00000000FFFF0000, 0x00000000FFFF0000, 0x00000000FFFF0000), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0x0000FFFF00000000, 0x0000FFFF00000000, 0x0000FFFF00000000, 0x0000FFFF00000000) }, { - vec256_set4x(0xFFFFFFFF00000000, 0xFFFFFFFF00000000, 0xFFFFFFFF00000000, 0xFFFFFFFF00000000), - vec256_set4x(0x00000000FFFFFFFF, 0x00000000FFFFFFFF, 0x00000000FFFFFFFF, 0x00000000FFFFFFFF) + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0xFFFFFFFF00000000, 0xFFFFFFFF00000000, 0xFFFFFFFF00000000, 0xFFFFFFFF00000000), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0x00000000FFFFFFFF, 0x00000000FFFFFFFF, 0x00000000FFFFFFFF, 0x00000000FFFFFFFF) } }; @@ -49,47 +49,47 @@ static void radix_conversions_tr(vec256 *in) { for (j = 6; j >= 0; j--) { if (j < 6) { - vec256_mul(in, in, s[j]); // scaling + PQCLEAN_MCELIECE8192128F_AVX_vec256_mul(in, in, s[j]); // scaling } for (k = j; k <= 4; k++) { for (i = 0; i < GFBITS; i++) { - t = vec256_and(in[i], mask[k][0]); - t = vec256_sll_4x(t, 1 << k); - in[i] = vec256_xor(in[i], t); + t = PQCLEAN_MCELIECE8192128F_AVX_vec256_and(in[i], mask[k][0]); + t = PQCLEAN_MCELIECE8192128F_AVX_vec256_sll_4x(t, 1 << k); + in[i] = PQCLEAN_MCELIECE8192128F_AVX_vec256_xor(in[i], t); - t = vec256_and(in[i], mask[k][1]); - t = vec256_sll_4x(t, 1 << k); - in[i] = vec256_xor(in[i], t); + t = PQCLEAN_MCELIECE8192128F_AVX_vec256_and(in[i], mask[k][1]); + t = PQCLEAN_MCELIECE8192128F_AVX_vec256_sll_4x(t, 1 << k); + in[i] = PQCLEAN_MCELIECE8192128F_AVX_vec256_xor(in[i], t); } } if (j <= 5) { for (i = 0; i < GFBITS; i++) { - v[0] = vec256_extract(in[i], 0); - v[1] = vec256_extract(in[i], 1); - v[2] = vec256_extract(in[i], 2); - v[3] = vec256_extract(in[i], 3); + v[0] = PQCLEAN_MCELIECE8192128F_AVX_vec256_extract(in[i], 0); + v[1] = PQCLEAN_MCELIECE8192128F_AVX_vec256_extract(in[i], 1); + v[2] = PQCLEAN_MCELIECE8192128F_AVX_vec256_extract(in[i], 2); + v[3] = PQCLEAN_MCELIECE8192128F_AVX_vec256_extract(in[i], 3); v[1] ^= v[0] >> 32; v[1] ^= v[1] << 32; v[3] ^= v[2] >> 32; v[3] ^= v[3] << 32; - in[i] = vec256_set4x(v[0], v[1], v[2], v[3]); + in[i] = PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(v[0], v[1], v[2], v[3]); } } for (i = 0; i < GFBITS; i++) { - v[0] = vec256_extract(in[i], 0); - v[1] = vec256_extract(in[i], 1); - v[2] = vec256_extract(in[i], 2); - v[3] = vec256_extract(in[i], 3); + v[0] = PQCLEAN_MCELIECE8192128F_AVX_vec256_extract(in[i], 0); + v[1] = PQCLEAN_MCELIECE8192128F_AVX_vec256_extract(in[i], 1); + v[2] = PQCLEAN_MCELIECE8192128F_AVX_vec256_extract(in[i], 2); + v[3] = PQCLEAN_MCELIECE8192128F_AVX_vec256_extract(in[i], 3); v[2] ^= v[1]; v[3] ^= v[2]; - in[i] = vec256_set4x(v[0], v[1], v[2], v[3]); + in[i] = PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(v[0], v[1], v[2], v[3]); } } @@ -151,35 +151,35 @@ static void butterflies_tr(vec256 *out, vec256 in[][ GFBITS ]) { for (k = 0; k < 32; k += 2) { for (b = 0; b < GFBITS; b++) { - t0[b] = vec256_unpack_low(in[k][b], in[k + 1][b]); + t0[b] = PQCLEAN_MCELIECE8192128F_AVX_vec256_unpack_low(in[k][b], in[k + 1][b]); } for (b = 0; b < GFBITS; b++) { - t1[b] = vec256_unpack_high(in[k][b], in[k + 1][b]); + t1[b] = PQCLEAN_MCELIECE8192128F_AVX_vec256_unpack_high(in[k][b], in[k + 1][b]); } PQCLEAN_MCELIECE8192128F_AVX_vec256_ama_asm(t0, t1, consts[1]); for (b = 0; b < GFBITS; b++) { - in[k][b] = vec256_unpack_low(t0[b], t1[b]); + in[k][b] = PQCLEAN_MCELIECE8192128F_AVX_vec256_unpack_low(t0[b], t1[b]); } for (b = 0; b < GFBITS; b++) { - in[k + 1][b] = vec256_unpack_high(t0[b], t1[b]); + in[k + 1][b] = PQCLEAN_MCELIECE8192128F_AVX_vec256_unpack_high(t0[b], t1[b]); } for (b = 0; b < GFBITS; b++) { - t0[b] = vec256_unpack_low_2x(in[k][b], in[k + 1][b]); + t0[b] = PQCLEAN_MCELIECE8192128F_AVX_vec256_unpack_low_2x(in[k][b], in[k + 1][b]); } for (b = 0; b < GFBITS; b++) { - t1[b] = vec256_unpack_high_2x(in[k][b], in[k + 1][b]); + t1[b] = PQCLEAN_MCELIECE8192128F_AVX_vec256_unpack_high_2x(in[k][b], in[k + 1][b]); } PQCLEAN_MCELIECE8192128F_AVX_vec256_ama_asm(t0, t1, consts[0]); for (b = 0; b < GFBITS; b++) { - in[k + 0][b] = vec256_unpack_low_2x(t0[b], t1[b]); + in[k + 0][b] = PQCLEAN_MCELIECE8192128F_AVX_vec256_unpack_low_2x(t0[b], t1[b]); } for (b = 0; b < GFBITS; b++) { - in[k + 1][b] = vec256_unpack_high_2x(t0[b], t1[b]); + in[k + 1][b] = PQCLEAN_MCELIECE8192128F_AVX_vec256_unpack_high_2x(t0[b], t1[b]); } } @@ -191,12 +191,12 @@ static void butterflies_tr(vec256 *out, vec256 in[][ GFBITS ]) { for (k = 0; k < 32; k++) { if (i != GFBITS - 1) { - buf.v[ reversal[2 * k + 0] ][1] = vec256_extract2x(in[ k ][i + 1], 0); - buf.v[ reversal[2 * k + 1] ][1] = vec256_extract2x(in[ k ][i + 1], 1); + buf.v[ reversal[2 * k + 0] ][1] = PQCLEAN_MCELIECE8192128F_AVX_vec256_extract2x(in[ k ][i + 1], 0); + buf.v[ reversal[2 * k + 1] ][1] = PQCLEAN_MCELIECE8192128F_AVX_vec256_extract2x(in[ k ][i + 1], 1); } - buf.v[ reversal[2 * k + 0] ][0] = vec256_extract2x(in[ k ][i + 0], 0); - buf.v[ reversal[2 * k + 1] ][0] = vec256_extract2x(in[ k ][i + 0], 1); + buf.v[ reversal[2 * k + 0] ][0] = PQCLEAN_MCELIECE8192128F_AVX_vec256_extract2x(in[ k ][i + 0], 0); + buf.v[ reversal[2 * k + 1] ][0] = PQCLEAN_MCELIECE8192128F_AVX_vec256_extract2x(in[ k ][i + 0], 1); } PQCLEAN_MCELIECE8192128F_AVX_transpose_64x256_sp(buf.V); @@ -204,137 +204,137 @@ static void butterflies_tr(vec256 *out, vec256 in[][ GFBITS ]) { // pre.V[0][i / 2] = buf.V[32]; - buf.V[33] = vec256_xor(buf.V[33], buf.V[32]); + buf.V[33] = PQCLEAN_MCELIECE8192128F_AVX_vec256_xor(buf.V[33], buf.V[32]); pre.V[1][i / 2] = buf.V[33]; - buf.V[35] = vec256_xor(buf.V[35], buf.V[33]); - pre.V[0][i / 2] = vec256_xor(pre.V[0][i / 2], buf.V[35]); - buf.V[34] = vec256_xor(buf.V[34], buf.V[35]); + buf.V[35] = PQCLEAN_MCELIECE8192128F_AVX_vec256_xor(buf.V[35], buf.V[33]); + pre.V[0][i / 2] = PQCLEAN_MCELIECE8192128F_AVX_vec256_xor(pre.V[0][i / 2], buf.V[35]); + buf.V[34] = PQCLEAN_MCELIECE8192128F_AVX_vec256_xor(buf.V[34], buf.V[35]); pre.V[2][i / 2] = buf.V[34]; - buf.V[38] = vec256_xor(buf.V[38], buf.V[34]); - pre.V[0][i / 2] = vec256_xor(pre.V[0][i / 2], buf.V[38]); - buf.V[39] = vec256_xor(buf.V[39], buf.V[38]); - pre.V[1][i / 2] = vec256_xor(pre.V[1][i / 2], buf.V[39]); - buf.V[37] = vec256_xor(buf.V[37], buf.V[39]); - pre.V[0][i / 2] = vec256_xor(pre.V[0][i / 2], buf.V[37]); - buf.V[36] = vec256_xor(buf.V[36], buf.V[37]); + buf.V[38] = PQCLEAN_MCELIECE8192128F_AVX_vec256_xor(buf.V[38], buf.V[34]); + pre.V[0][i / 2] = PQCLEAN_MCELIECE8192128F_AVX_vec256_xor(pre.V[0][i / 2], buf.V[38]); + buf.V[39] = PQCLEAN_MCELIECE8192128F_AVX_vec256_xor(buf.V[39], buf.V[38]); + pre.V[1][i / 2] = PQCLEAN_MCELIECE8192128F_AVX_vec256_xor(pre.V[1][i / 2], buf.V[39]); + buf.V[37] = PQCLEAN_MCELIECE8192128F_AVX_vec256_xor(buf.V[37], buf.V[39]); + pre.V[0][i / 2] = PQCLEAN_MCELIECE8192128F_AVX_vec256_xor(pre.V[0][i / 2], buf.V[37]); + buf.V[36] = PQCLEAN_MCELIECE8192128F_AVX_vec256_xor(buf.V[36], buf.V[37]); pre.V[3][i / 2] = buf.V[36]; - buf.V[44] = vec256_xor(buf.V[44], buf.V[36]); - pre.V[0][i / 2] = vec256_xor(pre.V[0][i / 2], buf.V[44]); - buf.V[45] = vec256_xor(buf.V[45], buf.V[44]); - pre.V[1][i / 2] = vec256_xor(pre.V[1][i / 2], buf.V[45]); - buf.V[47] = vec256_xor(buf.V[47], buf.V[45]); - pre.V[0][i / 2] = vec256_xor(pre.V[0][i / 2], buf.V[47]); - buf.V[46] = vec256_xor(buf.V[46], buf.V[47]); - pre.V[2][i / 2] = vec256_xor(pre.V[2][i / 2], buf.V[46]); - buf.V[42] = vec256_xor(buf.V[42], buf.V[46]); - pre.V[0][i / 2] = vec256_xor(pre.V[0][i / 2], buf.V[42]); - buf.V[43] = vec256_xor(buf.V[43], buf.V[42]); - pre.V[1][i / 2] = vec256_xor(pre.V[1][i / 2], buf.V[43]); - buf.V[41] = vec256_xor(buf.V[41], buf.V[43]); - pre.V[0][i / 2] = vec256_xor(pre.V[0][i / 2], buf.V[41]); - buf.V[40] = vec256_xor(buf.V[40], buf.V[41]); + buf.V[44] = PQCLEAN_MCELIECE8192128F_AVX_vec256_xor(buf.V[44], buf.V[36]); + pre.V[0][i / 2] = PQCLEAN_MCELIECE8192128F_AVX_vec256_xor(pre.V[0][i / 2], buf.V[44]); + buf.V[45] = PQCLEAN_MCELIECE8192128F_AVX_vec256_xor(buf.V[45], buf.V[44]); + pre.V[1][i / 2] = PQCLEAN_MCELIECE8192128F_AVX_vec256_xor(pre.V[1][i / 2], buf.V[45]); + buf.V[47] = PQCLEAN_MCELIECE8192128F_AVX_vec256_xor(buf.V[47], buf.V[45]); + pre.V[0][i / 2] = PQCLEAN_MCELIECE8192128F_AVX_vec256_xor(pre.V[0][i / 2], buf.V[47]); + buf.V[46] = PQCLEAN_MCELIECE8192128F_AVX_vec256_xor(buf.V[46], buf.V[47]); + pre.V[2][i / 2] = PQCLEAN_MCELIECE8192128F_AVX_vec256_xor(pre.V[2][i / 2], buf.V[46]); + buf.V[42] = PQCLEAN_MCELIECE8192128F_AVX_vec256_xor(buf.V[42], buf.V[46]); + pre.V[0][i / 2] = PQCLEAN_MCELIECE8192128F_AVX_vec256_xor(pre.V[0][i / 2], buf.V[42]); + buf.V[43] = PQCLEAN_MCELIECE8192128F_AVX_vec256_xor(buf.V[43], buf.V[42]); + pre.V[1][i / 2] = PQCLEAN_MCELIECE8192128F_AVX_vec256_xor(pre.V[1][i / 2], buf.V[43]); + buf.V[41] = PQCLEAN_MCELIECE8192128F_AVX_vec256_xor(buf.V[41], buf.V[43]); + pre.V[0][i / 2] = PQCLEAN_MCELIECE8192128F_AVX_vec256_xor(pre.V[0][i / 2], buf.V[41]); + buf.V[40] = PQCLEAN_MCELIECE8192128F_AVX_vec256_xor(buf.V[40], buf.V[41]); pre.V[4][i / 2] = buf.V[40]; - buf.V[56] = vec256_xor(buf.V[56], buf.V[40]); - pre.V[0][i / 2] = vec256_xor(pre.V[0][i / 2], buf.V[56]); - buf.V[57] = vec256_xor(buf.V[57], buf.V[56]); - pre.V[1][i / 2] = vec256_xor(pre.V[1][i / 2], buf.V[57]); - buf.V[59] = vec256_xor(buf.V[59], buf.V[57]); - pre.V[0][i / 2] = vec256_xor(pre.V[0][i / 2], buf.V[59]); - buf.V[58] = vec256_xor(buf.V[58], buf.V[59]); - pre.V[2][i / 2] = vec256_xor(pre.V[2][i / 2], buf.V[58]); - buf.V[62] = vec256_xor(buf.V[62], buf.V[58]); - pre.V[0][i / 2] = vec256_xor(pre.V[0][i / 2], buf.V[62]); - buf.V[63] = vec256_xor(buf.V[63], buf.V[62]); - pre.V[1][i / 2] = vec256_xor(pre.V[1][i / 2], buf.V[63]); - buf.V[61] = vec256_xor(buf.V[61], buf.V[63]); - pre.V[0][i / 2] = vec256_xor(pre.V[0][i / 2], buf.V[61]); - buf.V[60] = vec256_xor(buf.V[60], buf.V[61]); - pre.V[3][i / 2] = vec256_xor(pre.V[3][i / 2], buf.V[60]); - buf.V[52] = vec256_xor(buf.V[52], buf.V[60]); - pre.V[0][i / 2] = vec256_xor(pre.V[0][i / 2], buf.V[52]); - buf.V[53] = vec256_xor(buf.V[53], buf.V[52]); - pre.V[1][i / 2] = vec256_xor(pre.V[1][i / 2], buf.V[53]); - buf.V[55] = vec256_xor(buf.V[55], buf.V[53]); - pre.V[0][i / 2] = vec256_xor(pre.V[0][i / 2], buf.V[55]); - buf.V[54] = vec256_xor(buf.V[54], buf.V[55]); - pre.V[2][i / 2] = vec256_xor(pre.V[2][i / 2], buf.V[54]); - buf.V[50] = vec256_xor(buf.V[50], buf.V[54]); - pre.V[0][i / 2] = vec256_xor(pre.V[0][i / 2], buf.V[50]); - buf.V[51] = vec256_xor(buf.V[51], buf.V[50]); - pre.V[1][i / 2] = vec256_xor(pre.V[1][i / 2], buf.V[51]); - buf.V[49] = vec256_xor(buf.V[49], buf.V[51]); - pre.V[0][i / 2] = vec256_xor(pre.V[0][i / 2], buf.V[49]); - buf.V[48] = vec256_xor(buf.V[48], buf.V[49]); + buf.V[56] = PQCLEAN_MCELIECE8192128F_AVX_vec256_xor(buf.V[56], buf.V[40]); + pre.V[0][i / 2] = PQCLEAN_MCELIECE8192128F_AVX_vec256_xor(pre.V[0][i / 2], buf.V[56]); + buf.V[57] = PQCLEAN_MCELIECE8192128F_AVX_vec256_xor(buf.V[57], buf.V[56]); + pre.V[1][i / 2] = PQCLEAN_MCELIECE8192128F_AVX_vec256_xor(pre.V[1][i / 2], buf.V[57]); + buf.V[59] = PQCLEAN_MCELIECE8192128F_AVX_vec256_xor(buf.V[59], buf.V[57]); + pre.V[0][i / 2] = PQCLEAN_MCELIECE8192128F_AVX_vec256_xor(pre.V[0][i / 2], buf.V[59]); + buf.V[58] = PQCLEAN_MCELIECE8192128F_AVX_vec256_xor(buf.V[58], buf.V[59]); + pre.V[2][i / 2] = PQCLEAN_MCELIECE8192128F_AVX_vec256_xor(pre.V[2][i / 2], buf.V[58]); + buf.V[62] = PQCLEAN_MCELIECE8192128F_AVX_vec256_xor(buf.V[62], buf.V[58]); + pre.V[0][i / 2] = PQCLEAN_MCELIECE8192128F_AVX_vec256_xor(pre.V[0][i / 2], buf.V[62]); + buf.V[63] = PQCLEAN_MCELIECE8192128F_AVX_vec256_xor(buf.V[63], buf.V[62]); + pre.V[1][i / 2] = PQCLEAN_MCELIECE8192128F_AVX_vec256_xor(pre.V[1][i / 2], buf.V[63]); + buf.V[61] = PQCLEAN_MCELIECE8192128F_AVX_vec256_xor(buf.V[61], buf.V[63]); + pre.V[0][i / 2] = PQCLEAN_MCELIECE8192128F_AVX_vec256_xor(pre.V[0][i / 2], buf.V[61]); + buf.V[60] = PQCLEAN_MCELIECE8192128F_AVX_vec256_xor(buf.V[60], buf.V[61]); + pre.V[3][i / 2] = PQCLEAN_MCELIECE8192128F_AVX_vec256_xor(pre.V[3][i / 2], buf.V[60]); + buf.V[52] = PQCLEAN_MCELIECE8192128F_AVX_vec256_xor(buf.V[52], buf.V[60]); + pre.V[0][i / 2] = PQCLEAN_MCELIECE8192128F_AVX_vec256_xor(pre.V[0][i / 2], buf.V[52]); + buf.V[53] = PQCLEAN_MCELIECE8192128F_AVX_vec256_xor(buf.V[53], buf.V[52]); + pre.V[1][i / 2] = PQCLEAN_MCELIECE8192128F_AVX_vec256_xor(pre.V[1][i / 2], buf.V[53]); + buf.V[55] = PQCLEAN_MCELIECE8192128F_AVX_vec256_xor(buf.V[55], buf.V[53]); + pre.V[0][i / 2] = PQCLEAN_MCELIECE8192128F_AVX_vec256_xor(pre.V[0][i / 2], buf.V[55]); + buf.V[54] = PQCLEAN_MCELIECE8192128F_AVX_vec256_xor(buf.V[54], buf.V[55]); + pre.V[2][i / 2] = PQCLEAN_MCELIECE8192128F_AVX_vec256_xor(pre.V[2][i / 2], buf.V[54]); + buf.V[50] = PQCLEAN_MCELIECE8192128F_AVX_vec256_xor(buf.V[50], buf.V[54]); + pre.V[0][i / 2] = PQCLEAN_MCELIECE8192128F_AVX_vec256_xor(pre.V[0][i / 2], buf.V[50]); + buf.V[51] = PQCLEAN_MCELIECE8192128F_AVX_vec256_xor(buf.V[51], buf.V[50]); + pre.V[1][i / 2] = PQCLEAN_MCELIECE8192128F_AVX_vec256_xor(pre.V[1][i / 2], buf.V[51]); + buf.V[49] = PQCLEAN_MCELIECE8192128F_AVX_vec256_xor(buf.V[49], buf.V[51]); + pre.V[0][i / 2] = PQCLEAN_MCELIECE8192128F_AVX_vec256_xor(pre.V[0][i / 2], buf.V[49]); + buf.V[48] = PQCLEAN_MCELIECE8192128F_AVX_vec256_xor(buf.V[48], buf.V[49]); pre.V[5][i / 2] = buf.V[48]; - buf.V[16] = vec256_xor(buf.V[16], buf.V[48]); - pre.V[0][i / 2] = vec256_xor(pre.V[0][i / 2], buf.V[16]); - buf.V[17] = vec256_xor(buf.V[17], buf.V[16]); - pre.V[1][i / 2] = vec256_xor(pre.V[1][i / 2], buf.V[17]); - buf.V[19] = vec256_xor(buf.V[19], buf.V[17]); - pre.V[0][i / 2] = vec256_xor(pre.V[0][i / 2], buf.V[19]); - buf.V[18] = vec256_xor(buf.V[18], buf.V[19]); - pre.V[2][i / 2] = vec256_xor(pre.V[2][i / 2], buf.V[18]); - buf.V[22] = vec256_xor(buf.V[22], buf.V[18]); - pre.V[0][i / 2] = vec256_xor(pre.V[0][i / 2], buf.V[22]); - buf.V[23] = vec256_xor(buf.V[23], buf.V[22]); - pre.V[1][i / 2] = vec256_xor(pre.V[1][i / 2], buf.V[23]); - buf.V[21] = vec256_xor(buf.V[21], buf.V[23]); - pre.V[0][i / 2] = vec256_xor(pre.V[0][i / 2], buf.V[21]); - buf.V[20] = vec256_xor(buf.V[20], buf.V[21]); - pre.V[3][i / 2] = vec256_xor(pre.V[3][i / 2], buf.V[20]); - buf.V[28] = vec256_xor(buf.V[28], buf.V[20]); - pre.V[0][i / 2] = vec256_xor(pre.V[0][i / 2], buf.V[28]); - buf.V[29] = vec256_xor(buf.V[29], buf.V[28]); - pre.V[1][i / 2] = vec256_xor(pre.V[1][i / 2], buf.V[29]); - buf.V[31] = vec256_xor(buf.V[31], buf.V[29]); - pre.V[0][i / 2] = vec256_xor(pre.V[0][i / 2], buf.V[31]); - buf.V[30] = vec256_xor(buf.V[30], buf.V[31]); - pre.V[2][i / 2] = vec256_xor(pre.V[2][i / 2], buf.V[30]); - buf.V[26] = vec256_xor(buf.V[26], buf.V[30]); - pre.V[0][i / 2] = vec256_xor(pre.V[0][i / 2], buf.V[26]); - buf.V[27] = vec256_xor(buf.V[27], buf.V[26]); - pre.V[1][i / 2] = vec256_xor(pre.V[1][i / 2], buf.V[27]); - buf.V[25] = vec256_xor(buf.V[25], buf.V[27]); - pre.V[0][i / 2] = vec256_xor(pre.V[0][i / 2], buf.V[25]); - buf.V[24] = vec256_xor(buf.V[24], buf.V[25]); - pre.V[4][i / 2] = vec256_xor(pre.V[4][i / 2], buf.V[24]); - buf.V[8] = vec256_xor(buf.V[8], buf.V[24]); - pre.V[0][i / 2] = vec256_xor(pre.V[0][i / 2], buf.V[8]); - buf.V[9] = vec256_xor(buf.V[9], buf.V[8]); - pre.V[1][i / 2] = vec256_xor(pre.V[1][i / 2], buf.V[9]); - buf.V[11] = vec256_xor(buf.V[11], buf.V[9]); - pre.V[0][i / 2] = vec256_xor(pre.V[0][i / 2], buf.V[11]); - buf.V[10] = vec256_xor(buf.V[10], buf.V[11]); - pre.V[2][i / 2] = vec256_xor(pre.V[2][i / 2], buf.V[10]); - buf.V[14] = vec256_xor(buf.V[14], buf.V[10]); - pre.V[0][i / 2] = vec256_xor(pre.V[0][i / 2], buf.V[14]); - buf.V[15] = vec256_xor(buf.V[15], buf.V[14]); - pre.V[1][i / 2] = vec256_xor(pre.V[1][i / 2], buf.V[15]); - buf.V[13] = vec256_xor(buf.V[13], buf.V[15]); - pre.V[0][i / 2] = vec256_xor(pre.V[0][i / 2], buf.V[13]); - buf.V[12] = vec256_xor(buf.V[12], buf.V[13]); - pre.V[3][i / 2] = vec256_xor(pre.V[3][i / 2], buf.V[12]); - buf.V[4] = vec256_xor(buf.V[4], buf.V[12]); - pre.V[0][i / 2] = vec256_xor(pre.V[0][i / 2], buf.V[4]); - buf.V[5] = vec256_xor(buf.V[5], buf.V[4]); - pre.V[1][i / 2] = vec256_xor(pre.V[1][i / 2], buf.V[5]); - buf.V[7] = vec256_xor(buf.V[7], buf.V[5]); - pre.V[0][i / 2] = vec256_xor(pre.V[0][i / 2], buf.V[7]); - buf.V[6] = vec256_xor(buf.V[6], buf.V[7]); - pre.V[2][i / 2] = vec256_xor(pre.V[2][i / 2], buf.V[6]); - buf.V[2] = vec256_xor(buf.V[2], buf.V[6]); - pre.V[0][i / 2] = vec256_xor(pre.V[0][i / 2], buf.V[2]); - buf.V[3] = vec256_xor(buf.V[3], buf.V[2]); - pre.V[1][i / 2] = vec256_xor(pre.V[1][i / 2], buf.V[3]); - buf.V[1] = vec256_xor(buf.V[1], buf.V[3]); + buf.V[16] = PQCLEAN_MCELIECE8192128F_AVX_vec256_xor(buf.V[16], buf.V[48]); + pre.V[0][i / 2] = PQCLEAN_MCELIECE8192128F_AVX_vec256_xor(pre.V[0][i / 2], buf.V[16]); + buf.V[17] = PQCLEAN_MCELIECE8192128F_AVX_vec256_xor(buf.V[17], buf.V[16]); + pre.V[1][i / 2] = PQCLEAN_MCELIECE8192128F_AVX_vec256_xor(pre.V[1][i / 2], buf.V[17]); + buf.V[19] = PQCLEAN_MCELIECE8192128F_AVX_vec256_xor(buf.V[19], buf.V[17]); + pre.V[0][i / 2] = PQCLEAN_MCELIECE8192128F_AVX_vec256_xor(pre.V[0][i / 2], buf.V[19]); + buf.V[18] = PQCLEAN_MCELIECE8192128F_AVX_vec256_xor(buf.V[18], buf.V[19]); + pre.V[2][i / 2] = PQCLEAN_MCELIECE8192128F_AVX_vec256_xor(pre.V[2][i / 2], buf.V[18]); + buf.V[22] = PQCLEAN_MCELIECE8192128F_AVX_vec256_xor(buf.V[22], buf.V[18]); + pre.V[0][i / 2] = PQCLEAN_MCELIECE8192128F_AVX_vec256_xor(pre.V[0][i / 2], buf.V[22]); + buf.V[23] = PQCLEAN_MCELIECE8192128F_AVX_vec256_xor(buf.V[23], buf.V[22]); + pre.V[1][i / 2] = PQCLEAN_MCELIECE8192128F_AVX_vec256_xor(pre.V[1][i / 2], buf.V[23]); + buf.V[21] = PQCLEAN_MCELIECE8192128F_AVX_vec256_xor(buf.V[21], buf.V[23]); + pre.V[0][i / 2] = PQCLEAN_MCELIECE8192128F_AVX_vec256_xor(pre.V[0][i / 2], buf.V[21]); + buf.V[20] = PQCLEAN_MCELIECE8192128F_AVX_vec256_xor(buf.V[20], buf.V[21]); + pre.V[3][i / 2] = PQCLEAN_MCELIECE8192128F_AVX_vec256_xor(pre.V[3][i / 2], buf.V[20]); + buf.V[28] = PQCLEAN_MCELIECE8192128F_AVX_vec256_xor(buf.V[28], buf.V[20]); + pre.V[0][i / 2] = PQCLEAN_MCELIECE8192128F_AVX_vec256_xor(pre.V[0][i / 2], buf.V[28]); + buf.V[29] = PQCLEAN_MCELIECE8192128F_AVX_vec256_xor(buf.V[29], buf.V[28]); + pre.V[1][i / 2] = PQCLEAN_MCELIECE8192128F_AVX_vec256_xor(pre.V[1][i / 2], buf.V[29]); + buf.V[31] = PQCLEAN_MCELIECE8192128F_AVX_vec256_xor(buf.V[31], buf.V[29]); + pre.V[0][i / 2] = PQCLEAN_MCELIECE8192128F_AVX_vec256_xor(pre.V[0][i / 2], buf.V[31]); + buf.V[30] = PQCLEAN_MCELIECE8192128F_AVX_vec256_xor(buf.V[30], buf.V[31]); + pre.V[2][i / 2] = PQCLEAN_MCELIECE8192128F_AVX_vec256_xor(pre.V[2][i / 2], buf.V[30]); + buf.V[26] = PQCLEAN_MCELIECE8192128F_AVX_vec256_xor(buf.V[26], buf.V[30]); + pre.V[0][i / 2] = PQCLEAN_MCELIECE8192128F_AVX_vec256_xor(pre.V[0][i / 2], buf.V[26]); + buf.V[27] = PQCLEAN_MCELIECE8192128F_AVX_vec256_xor(buf.V[27], buf.V[26]); + pre.V[1][i / 2] = PQCLEAN_MCELIECE8192128F_AVX_vec256_xor(pre.V[1][i / 2], buf.V[27]); + buf.V[25] = PQCLEAN_MCELIECE8192128F_AVX_vec256_xor(buf.V[25], buf.V[27]); + pre.V[0][i / 2] = PQCLEAN_MCELIECE8192128F_AVX_vec256_xor(pre.V[0][i / 2], buf.V[25]); + buf.V[24] = PQCLEAN_MCELIECE8192128F_AVX_vec256_xor(buf.V[24], buf.V[25]); + pre.V[4][i / 2] = PQCLEAN_MCELIECE8192128F_AVX_vec256_xor(pre.V[4][i / 2], buf.V[24]); + buf.V[8] = PQCLEAN_MCELIECE8192128F_AVX_vec256_xor(buf.V[8], buf.V[24]); + pre.V[0][i / 2] = PQCLEAN_MCELIECE8192128F_AVX_vec256_xor(pre.V[0][i / 2], buf.V[8]); + buf.V[9] = PQCLEAN_MCELIECE8192128F_AVX_vec256_xor(buf.V[9], buf.V[8]); + pre.V[1][i / 2] = PQCLEAN_MCELIECE8192128F_AVX_vec256_xor(pre.V[1][i / 2], buf.V[9]); + buf.V[11] = PQCLEAN_MCELIECE8192128F_AVX_vec256_xor(buf.V[11], buf.V[9]); + pre.V[0][i / 2] = PQCLEAN_MCELIECE8192128F_AVX_vec256_xor(pre.V[0][i / 2], buf.V[11]); + buf.V[10] = PQCLEAN_MCELIECE8192128F_AVX_vec256_xor(buf.V[10], buf.V[11]); + pre.V[2][i / 2] = PQCLEAN_MCELIECE8192128F_AVX_vec256_xor(pre.V[2][i / 2], buf.V[10]); + buf.V[14] = PQCLEAN_MCELIECE8192128F_AVX_vec256_xor(buf.V[14], buf.V[10]); + pre.V[0][i / 2] = PQCLEAN_MCELIECE8192128F_AVX_vec256_xor(pre.V[0][i / 2], buf.V[14]); + buf.V[15] = PQCLEAN_MCELIECE8192128F_AVX_vec256_xor(buf.V[15], buf.V[14]); + pre.V[1][i / 2] = PQCLEAN_MCELIECE8192128F_AVX_vec256_xor(pre.V[1][i / 2], buf.V[15]); + buf.V[13] = PQCLEAN_MCELIECE8192128F_AVX_vec256_xor(buf.V[13], buf.V[15]); + pre.V[0][i / 2] = PQCLEAN_MCELIECE8192128F_AVX_vec256_xor(pre.V[0][i / 2], buf.V[13]); + buf.V[12] = PQCLEAN_MCELIECE8192128F_AVX_vec256_xor(buf.V[12], buf.V[13]); + pre.V[3][i / 2] = PQCLEAN_MCELIECE8192128F_AVX_vec256_xor(pre.V[3][i / 2], buf.V[12]); + buf.V[4] = PQCLEAN_MCELIECE8192128F_AVX_vec256_xor(buf.V[4], buf.V[12]); + pre.V[0][i / 2] = PQCLEAN_MCELIECE8192128F_AVX_vec256_xor(pre.V[0][i / 2], buf.V[4]); + buf.V[5] = PQCLEAN_MCELIECE8192128F_AVX_vec256_xor(buf.V[5], buf.V[4]); + pre.V[1][i / 2] = PQCLEAN_MCELIECE8192128F_AVX_vec256_xor(pre.V[1][i / 2], buf.V[5]); + buf.V[7] = PQCLEAN_MCELIECE8192128F_AVX_vec256_xor(buf.V[7], buf.V[5]); + pre.V[0][i / 2] = PQCLEAN_MCELIECE8192128F_AVX_vec256_xor(pre.V[0][i / 2], buf.V[7]); + buf.V[6] = PQCLEAN_MCELIECE8192128F_AVX_vec256_xor(buf.V[6], buf.V[7]); + pre.V[2][i / 2] = PQCLEAN_MCELIECE8192128F_AVX_vec256_xor(pre.V[2][i / 2], buf.V[6]); + buf.V[2] = PQCLEAN_MCELIECE8192128F_AVX_vec256_xor(buf.V[2], buf.V[6]); + pre.V[0][i / 2] = PQCLEAN_MCELIECE8192128F_AVX_vec256_xor(pre.V[0][i / 2], buf.V[2]); + buf.V[3] = PQCLEAN_MCELIECE8192128F_AVX_vec256_xor(buf.V[3], buf.V[2]); + pre.V[1][i / 2] = PQCLEAN_MCELIECE8192128F_AVX_vec256_xor(pre.V[1][i / 2], buf.V[3]); + buf.V[1] = PQCLEAN_MCELIECE8192128F_AVX_vec256_xor(buf.V[1], buf.V[3]); - pre.V[0][i / 2] = vec256_xor(pre.V[0][i / 2], buf.V[1]); - t = vec256_xor(buf.V[0], buf.V[1]); + pre.V[0][i / 2] = PQCLEAN_MCELIECE8192128F_AVX_vec256_xor(pre.V[0][i / 2], buf.V[1]); + t = PQCLEAN_MCELIECE8192128F_AVX_vec256_xor(buf.V[0], buf.V[1]); if (i != GFBITS - 1) { - out128[i + 1][0] = vec256_extract2x(t, 1); + out128[i + 1][0] = PQCLEAN_MCELIECE8192128F_AVX_vec256_extract2x(t, 1); } - out128[i + 0][0] = vec256_extract2x(t, 0); + out128[i + 0][0] = PQCLEAN_MCELIECE8192128F_AVX_vec256_extract2x(t, 0); } @@ -368,7 +368,7 @@ static void butterflies_tr(vec256 *out, vec256 in[][ GFBITS ]) { v[2] = PQCLEAN_MCELIECE8192128F_AVX_vec128_extract(out128[b][1], 0); v[3] = PQCLEAN_MCELIECE8192128F_AVX_vec128_extract(out128[b][1], 1); - out[b] = vec256_set4x(v[0], v[1], v[2], v[3]); + out[b] = PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(v[0], v[1], v[2], v[3]); } } diff --git a/crypto_kem/mceliece8192128f/avx/int32_sort.c b/crypto_kem/mceliece8192128f/avx/int32_sort.c index 9fd1b766..d18b3a73 100644 --- a/crypto_kem/mceliece8192128f/avx/int32_sort.c +++ b/crypto_kem/mceliece8192128f/avx/int32_sort.c @@ -4,8 +4,8 @@ #include typedef __m256i int32x8; -#define int32x8_load(z) _mm256_loadu_si256((__m256i *) (z)) -#define int32x8_store(z,i) _mm256_storeu_si256((__m256i *) (z),(i)) +#define int32x8_load(z) _mm256_loadu_si256((__m256i_u *) (z)) +#define int32x8_store(z,i) _mm256_storeu_si256((__m256i_u *) (z),(i)) #define int32x8_min _mm256_min_epi32 #define int32x8_max _mm256_max_epi32 diff --git a/crypto_kem/mceliece8192128f/avx/pk_gen.c b/crypto_kem/mceliece8192128f/avx/pk_gen.c index d0317682..9d222aba 100644 --- a/crypto_kem/mceliece8192128f/avx/pk_gen.c +++ b/crypto_kem/mceliece8192128f/avx/pk_gen.c @@ -24,22 +24,22 @@ static void de_bitslicing(uint64_t *out, vec256 in[][GFBITS]) { for (i = 0; i < 32; i++) { for (j = GFBITS - 1; j >= 0; j--) { - u = vec256_extract(in[i][j], 0); + u = PQCLEAN_MCELIECE8192128F_AVX_vec256_extract(in[i][j], 0); for (r = 0; r < 64; r++) { out[i * 256 + 0 * 64 + r] <<= 1; out[i * 256 + 0 * 64 + r] |= (u >> r) & 1; } - u = vec256_extract(in[i][j], 1); + u = PQCLEAN_MCELIECE8192128F_AVX_vec256_extract(in[i][j], 1); for (r = 0; r < 64; r++) { out[i * 256 + 1 * 64 + r] <<= 1; out[i * 256 + 1 * 64 + r] |= (u >> r) & 1; } - u = vec256_extract(in[i][j], 2); + u = PQCLEAN_MCELIECE8192128F_AVX_vec256_extract(in[i][j], 2); for (r = 0; r < 64; r++) { out[i * 256 + 2 * 64 + r] <<= 1; out[i * 256 + 2 * 64 + r] |= (u >> r) & 1; } - u = vec256_extract(in[i][j], 3); + u = PQCLEAN_MCELIECE8192128F_AVX_vec256_extract(in[i][j], 3); for (r = 0; r < 64; r++) { out[i * 256 + 3 * 64 + r] <<= 1; out[i * 256 + 3 * 64 + r] |= (u >> r) & 1; @@ -50,7 +50,7 @@ static void de_bitslicing(uint64_t *out, vec256 in[][GFBITS]) { static void to_bitslicing_2x(vec256 out0[][GFBITS], vec256 out1[][GFBITS], const uint64_t *in) { int i, j, k, r; - uint64_t u[4]; + uint64_t u[4] = {0}; for (i = 0; i < 32; i++) { for (j = GFBITS - 1; j >= 0; j--) { @@ -61,7 +61,7 @@ static void to_bitslicing_2x(vec256 out0[][GFBITS], vec256 out1[][GFBITS], const } } - out1[i][j] = vec256_set4x(u[0], u[1], u[2], u[3]); + out1[i][j] = PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(u[0], u[1], u[2], u[3]); } for (j = GFBITS - 1; j >= 0; j--) { @@ -72,7 +72,7 @@ static void to_bitslicing_2x(vec256 out0[][GFBITS], vec256 out1[][GFBITS], const } } - out0[i][GFBITS - 1 - j] = vec256_set4x(u[0], u[1], u[2], u[3]); + out0[i][GFBITS - 1 - j] = PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(u[0], u[1], u[2], u[3]); } } } @@ -239,20 +239,20 @@ int PQCLEAN_MCELIECE8192128F_AVX_pk_gen(unsigned char *pk, uint32_t *perm, const PQCLEAN_MCELIECE8192128F_AVX_fft(eval, sk_int); - vec256_copy(prod[0], eval[0]); + PQCLEAN_MCELIECE8192128F_AVX_vec256_copy(prod[0], eval[0]); for (i = 1; i < 32; i++) { - vec256_mul(prod[i], prod[i - 1], eval[i]); + PQCLEAN_MCELIECE8192128F_AVX_vec256_mul(prod[i], prod[i - 1], eval[i]); } PQCLEAN_MCELIECE8192128F_AVX_vec256_inv(tmp, prod[31]); for (i = 30; i >= 0; i--) { - vec256_mul(prod[i + 1], prod[i], tmp); - vec256_mul(tmp, tmp, eval[i + 1]); + PQCLEAN_MCELIECE8192128F_AVX_vec256_mul(prod[i + 1], prod[i], tmp); + PQCLEAN_MCELIECE8192128F_AVX_vec256_mul(tmp, tmp, eval[i + 1]); } - vec256_copy(prod[0], tmp); + PQCLEAN_MCELIECE8192128F_AVX_vec256_copy(prod[0], tmp); // fill matrix @@ -274,22 +274,22 @@ int PQCLEAN_MCELIECE8192128F_AVX_pk_gen(unsigned char *pk, uint32_t *perm, const for (j = 0; j < NBLOCKS2_H; j++) { for (k = 0; k < GFBITS; k++) { - mat[ k ][ 4 * j + 0 ] = vec256_extract(prod[ j ][ k ], 0); - mat[ k ][ 4 * j + 1 ] = vec256_extract(prod[ j ][ k ], 1); - mat[ k ][ 4 * j + 2 ] = vec256_extract(prod[ j ][ k ], 2); - mat[ k ][ 4 * j + 3 ] = vec256_extract(prod[ j ][ k ], 3); + mat[ k ][ 4 * j + 0 ] = PQCLEAN_MCELIECE8192128F_AVX_vec256_extract(prod[ j ][ k ], 0); + mat[ k ][ 4 * j + 1 ] = PQCLEAN_MCELIECE8192128F_AVX_vec256_extract(prod[ j ][ k ], 1); + mat[ k ][ 4 * j + 2 ] = PQCLEAN_MCELIECE8192128F_AVX_vec256_extract(prod[ j ][ k ], 2); + mat[ k ][ 4 * j + 3 ] = PQCLEAN_MCELIECE8192128F_AVX_vec256_extract(prod[ j ][ k ], 3); } } for (i = 1; i < SYS_T; i++) { for (j = 0; j < NBLOCKS2_H; j++) { - vec256_mul(prod[j], prod[j], consts[j]); + PQCLEAN_MCELIECE8192128F_AVX_vec256_mul(prod[j], prod[j], consts[j]); for (k = 0; k < GFBITS; k++) { - mat[ i * GFBITS + k ][ 4 * j + 0 ] = vec256_extract(prod[ j ][ k ], 0); - mat[ i * GFBITS + k ][ 4 * j + 1 ] = vec256_extract(prod[ j ][ k ], 1); - mat[ i * GFBITS + k ][ 4 * j + 2 ] = vec256_extract(prod[ j ][ k ], 2); - mat[ i * GFBITS + k ][ 4 * j + 3 ] = vec256_extract(prod[ j ][ k ], 3); + mat[ i * GFBITS + k ][ 4 * j + 0 ] = PQCLEAN_MCELIECE8192128F_AVX_vec256_extract(prod[ j ][ k ], 0); + mat[ i * GFBITS + k ][ 4 * j + 1 ] = PQCLEAN_MCELIECE8192128F_AVX_vec256_extract(prod[ j ][ k ], 1); + mat[ i * GFBITS + k ][ 4 * j + 2 ] = PQCLEAN_MCELIECE8192128F_AVX_vec256_extract(prod[ j ][ k ], 2); + mat[ i * GFBITS + k ][ 4 * j + 3 ] = PQCLEAN_MCELIECE8192128F_AVX_vec256_extract(prod[ j ][ k ], 3); } } } diff --git a/crypto_kem/mceliece8192128f/avx/powers.inc b/crypto_kem/mceliece8192128f/avx/powers.inc index 6469fc4d..33a3a600 100644 --- a/crypto_kem/mceliece8192128f/avx/powers.inc +++ b/crypto_kem/mceliece8192128f/avx/powers.inc @@ -1,480 +1,480 @@ { - vec256_set4x(0X5AA55AA5A55AA55A, 0X5AA55AA5A55AA55A, 0XA55AA55A5AA55AA5, 0XA55AA55A5AA55AA5), - vec256_set4x(0X3CC33CC3C33CC33C, 0XC33CC33C3CC33CC3, 0XC33CC33C3CC33CC3, 0X3CC33CC3C33CC33C), - vec256_set4x(0XA5A55A5AA5A55A5A, 0XA5A55A5AA5A55A5A, 0XA5A55A5AA5A55A5A, 0XA5A55A5AA5A55A5A), - vec256_set4x(0XFFFF0000FFFF0000, 0X0000FFFF0000FFFF, 0X0000FFFF0000FFFF, 0XFFFF0000FFFF0000), - vec256_set4x(0X33CC33CC33CC33CC, 0X33CC33CC33CC33CC, 0X33CC33CC33CC33CC, 0X33CC33CC33CC33CC), - vec256_set4x(0XF00FF00F0FF00FF0, 0X0FF00FF0F00FF00F, 0XF00FF00F0FF00FF0, 0X0FF00FF0F00FF00F), - vec256_set4x(0XFFFFFFFF00000000, 0XFFFFFFFF00000000, 0XFFFFFFFF00000000, 0XFFFFFFFF00000000), - vec256_set4x(0X6969696996969696, 0X6969696996969696, 0X6969696996969696, 0X6969696996969696), - vec256_set4x(0X5A5A5A5A5A5A5A5A, 0X5A5A5A5A5A5A5A5A, 0XA5A5A5A5A5A5A5A5, 0XA5A5A5A5A5A5A5A5), - vec256_set4x(0XA5A5A5A55A5A5A5A, 0XA5A5A5A55A5A5A5A, 0X5A5A5A5AA5A5A5A5, 0X5A5A5A5AA5A5A5A5), - vec256_set4x(0XAAAA55555555AAAA, 0X5555AAAAAAAA5555, 0XAAAA55555555AAAA, 0X5555AAAAAAAA5555), - vec256_set4x(0X0FF00FF00FF00FF0, 0XF00FF00FF00FF00F, 0X0FF00FF00FF00FF0, 0XF00FF00FF00FF00F), - vec256_set4x(0X0F0FF0F00F0FF0F0, 0XF0F00F0FF0F00F0F, 0XF0F00F0FF0F00F0F, 0X0F0FF0F00F0FF0F0) + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X5AA55AA5A55AA55A, 0X5AA55AA5A55AA55A, 0XA55AA55A5AA55AA5, 0XA55AA55A5AA55AA5), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X3CC33CC3C33CC33C, 0XC33CC33C3CC33CC3, 0XC33CC33C3CC33CC3, 0X3CC33CC3C33CC33C), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XA5A55A5AA5A55A5A, 0XA5A55A5AA5A55A5A, 0XA5A55A5AA5A55A5A, 0XA5A55A5AA5A55A5A), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XFFFF0000FFFF0000, 0X0000FFFF0000FFFF, 0X0000FFFF0000FFFF, 0XFFFF0000FFFF0000), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X33CC33CC33CC33CC, 0X33CC33CC33CC33CC, 0X33CC33CC33CC33CC, 0X33CC33CC33CC33CC), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XF00FF00F0FF00FF0, 0X0FF00FF0F00FF00F, 0XF00FF00F0FF00FF0, 0X0FF00FF0F00FF00F), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XFFFFFFFF00000000, 0XFFFFFFFF00000000, 0XFFFFFFFF00000000, 0XFFFFFFFF00000000), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X6969696996969696, 0X6969696996969696, 0X6969696996969696, 0X6969696996969696), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X5A5A5A5A5A5A5A5A, 0X5A5A5A5A5A5A5A5A, 0XA5A5A5A5A5A5A5A5, 0XA5A5A5A5A5A5A5A5), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XA5A5A5A55A5A5A5A, 0XA5A5A5A55A5A5A5A, 0X5A5A5A5AA5A5A5A5, 0X5A5A5A5AA5A5A5A5), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XAAAA55555555AAAA, 0X5555AAAAAAAA5555, 0XAAAA55555555AAAA, 0X5555AAAAAAAA5555), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X0FF00FF00FF00FF0, 0XF00FF00FF00FF00F, 0X0FF00FF00FF00FF0, 0XF00FF00FF00FF00F), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X0F0FF0F00F0FF0F0, 0XF0F00F0FF0F00F0F, 0XF0F00F0FF0F00F0F, 0X0F0FF0F00F0FF0F0) }, { - vec256_set4x(0XA55AA55A5AA55AA5, 0XA55AA55A5AA55AA5, 0X5AA55AA5A55AA55A, 0X5AA55AA5A55AA55A), - vec256_set4x(0X3CC33CC3C33CC33C, 0XC33CC33C3CC33CC3, 0XC33CC33C3CC33CC3, 0X3CC33CC3C33CC33C), - vec256_set4x(0XA5A55A5AA5A55A5A, 0XA5A55A5AA5A55A5A, 0XA5A55A5AA5A55A5A, 0XA5A55A5AA5A55A5A), - vec256_set4x(0X0000FFFF0000FFFF, 0XFFFF0000FFFF0000, 0XFFFF0000FFFF0000, 0X0000FFFF0000FFFF), - vec256_set4x(0XCC33CC33CC33CC33, 0XCC33CC33CC33CC33, 0XCC33CC33CC33CC33, 0XCC33CC33CC33CC33), - vec256_set4x(0XF00FF00F0FF00FF0, 0X0FF00FF0F00FF00F, 0XF00FF00F0FF00FF0, 0X0FF00FF0F00FF00F), - vec256_set4x(0XFFFFFFFF00000000, 0XFFFFFFFF00000000, 0XFFFFFFFF00000000, 0XFFFFFFFF00000000), - vec256_set4x(0X9696969669696969, 0X9696969669696969, 0X9696969669696969, 0X9696969669696969), - vec256_set4x(0X5A5A5A5A5A5A5A5A, 0X5A5A5A5A5A5A5A5A, 0XA5A5A5A5A5A5A5A5, 0XA5A5A5A5A5A5A5A5), - vec256_set4x(0X5A5A5A5AA5A5A5A5, 0X5A5A5A5AA5A5A5A5, 0XA5A5A5A55A5A5A5A, 0XA5A5A5A55A5A5A5A), - vec256_set4x(0XAAAA55555555AAAA, 0X5555AAAAAAAA5555, 0XAAAA55555555AAAA, 0X5555AAAAAAAA5555), - vec256_set4x(0XF00FF00FF00FF00F, 0X0FF00FF00FF00FF0, 0XF00FF00FF00FF00F, 0X0FF00FF00FF00FF0), - vec256_set4x(0X0F0FF0F00F0FF0F0, 0XF0F00F0FF0F00F0F, 0XF0F00F0FF0F00F0F, 0X0F0FF0F00F0FF0F0) + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XA55AA55A5AA55AA5, 0XA55AA55A5AA55AA5, 0X5AA55AA5A55AA55A, 0X5AA55AA5A55AA55A), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X3CC33CC3C33CC33C, 0XC33CC33C3CC33CC3, 0XC33CC33C3CC33CC3, 0X3CC33CC3C33CC33C), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XA5A55A5AA5A55A5A, 0XA5A55A5AA5A55A5A, 0XA5A55A5AA5A55A5A, 0XA5A55A5AA5A55A5A), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X0000FFFF0000FFFF, 0XFFFF0000FFFF0000, 0XFFFF0000FFFF0000, 0X0000FFFF0000FFFF), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XCC33CC33CC33CC33, 0XCC33CC33CC33CC33, 0XCC33CC33CC33CC33, 0XCC33CC33CC33CC33), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XF00FF00F0FF00FF0, 0X0FF00FF0F00FF00F, 0XF00FF00F0FF00FF0, 0X0FF00FF0F00FF00F), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XFFFFFFFF00000000, 0XFFFFFFFF00000000, 0XFFFFFFFF00000000, 0XFFFFFFFF00000000), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X9696969669696969, 0X9696969669696969, 0X9696969669696969, 0X9696969669696969), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X5A5A5A5A5A5A5A5A, 0X5A5A5A5A5A5A5A5A, 0XA5A5A5A5A5A5A5A5, 0XA5A5A5A5A5A5A5A5), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X5A5A5A5AA5A5A5A5, 0X5A5A5A5AA5A5A5A5, 0XA5A5A5A55A5A5A5A, 0XA5A5A5A55A5A5A5A), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XAAAA55555555AAAA, 0X5555AAAAAAAA5555, 0XAAAA55555555AAAA, 0X5555AAAAAAAA5555), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XF00FF00FF00FF00F, 0X0FF00FF00FF00FF0, 0XF00FF00FF00FF00F, 0X0FF00FF00FF00FF0), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X0F0FF0F00F0FF0F0, 0XF0F00F0FF0F00F0F, 0XF0F00F0FF0F00F0F, 0X0F0FF0F00F0FF0F0) }, { - vec256_set4x(0X5AA55AA5A55AA55A, 0X5AA55AA5A55AA55A, 0XA55AA55A5AA55AA5, 0XA55AA55A5AA55AA5), - vec256_set4x(0XC33CC33C3CC33CC3, 0X3CC33CC3C33CC33C, 0X3CC33CC3C33CC33C, 0XC33CC33C3CC33CC3), - vec256_set4x(0XA5A55A5AA5A55A5A, 0XA5A55A5AA5A55A5A, 0XA5A55A5AA5A55A5A, 0XA5A55A5AA5A55A5A), - vec256_set4x(0X0000FFFF0000FFFF, 0XFFFF0000FFFF0000, 0XFFFF0000FFFF0000, 0X0000FFFF0000FFFF), - vec256_set4x(0XCC33CC33CC33CC33, 0XCC33CC33CC33CC33, 0XCC33CC33CC33CC33, 0XCC33CC33CC33CC33), - vec256_set4x(0XF00FF00F0FF00FF0, 0X0FF00FF0F00FF00F, 0XF00FF00F0FF00FF0, 0X0FF00FF0F00FF00F), - vec256_set4x(0X00000000FFFFFFFF, 0X00000000FFFFFFFF, 0X00000000FFFFFFFF, 0X00000000FFFFFFFF), - vec256_set4x(0X9696969669696969, 0X9696969669696969, 0X9696969669696969, 0X9696969669696969), - vec256_set4x(0XA5A5A5A5A5A5A5A5, 0XA5A5A5A5A5A5A5A5, 0X5A5A5A5A5A5A5A5A, 0X5A5A5A5A5A5A5A5A), - vec256_set4x(0XA5A5A5A55A5A5A5A, 0XA5A5A5A55A5A5A5A, 0X5A5A5A5AA5A5A5A5, 0X5A5A5A5AA5A5A5A5), - vec256_set4x(0X5555AAAAAAAA5555, 0XAAAA55555555AAAA, 0X5555AAAAAAAA5555, 0XAAAA55555555AAAA), - vec256_set4x(0X0FF00FF00FF00FF0, 0XF00FF00FF00FF00F, 0X0FF00FF00FF00FF0, 0XF00FF00FF00FF00F), - vec256_set4x(0X0F0FF0F00F0FF0F0, 0XF0F00F0FF0F00F0F, 0XF0F00F0FF0F00F0F, 0X0F0FF0F00F0FF0F0) + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X5AA55AA5A55AA55A, 0X5AA55AA5A55AA55A, 0XA55AA55A5AA55AA5, 0XA55AA55A5AA55AA5), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XC33CC33C3CC33CC3, 0X3CC33CC3C33CC33C, 0X3CC33CC3C33CC33C, 0XC33CC33C3CC33CC3), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XA5A55A5AA5A55A5A, 0XA5A55A5AA5A55A5A, 0XA5A55A5AA5A55A5A, 0XA5A55A5AA5A55A5A), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X0000FFFF0000FFFF, 0XFFFF0000FFFF0000, 0XFFFF0000FFFF0000, 0X0000FFFF0000FFFF), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XCC33CC33CC33CC33, 0XCC33CC33CC33CC33, 0XCC33CC33CC33CC33, 0XCC33CC33CC33CC33), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XF00FF00F0FF00FF0, 0X0FF00FF0F00FF00F, 0XF00FF00F0FF00FF0, 0X0FF00FF0F00FF00F), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X00000000FFFFFFFF, 0X00000000FFFFFFFF, 0X00000000FFFFFFFF, 0X00000000FFFFFFFF), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X9696969669696969, 0X9696969669696969, 0X9696969669696969, 0X9696969669696969), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XA5A5A5A5A5A5A5A5, 0XA5A5A5A5A5A5A5A5, 0X5A5A5A5A5A5A5A5A, 0X5A5A5A5A5A5A5A5A), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XA5A5A5A55A5A5A5A, 0XA5A5A5A55A5A5A5A, 0X5A5A5A5AA5A5A5A5, 0X5A5A5A5AA5A5A5A5), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X5555AAAAAAAA5555, 0XAAAA55555555AAAA, 0X5555AAAAAAAA5555, 0XAAAA55555555AAAA), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X0FF00FF00FF00FF0, 0XF00FF00FF00FF00F, 0X0FF00FF00FF00FF0, 0XF00FF00FF00FF00F), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X0F0FF0F00F0FF0F0, 0XF0F00F0FF0F00F0F, 0XF0F00F0FF0F00F0F, 0X0F0FF0F00F0FF0F0) }, { - vec256_set4x(0XA55AA55A5AA55AA5, 0XA55AA55A5AA55AA5, 0X5AA55AA5A55AA55A, 0X5AA55AA5A55AA55A), - vec256_set4x(0XC33CC33C3CC33CC3, 0X3CC33CC3C33CC33C, 0X3CC33CC3C33CC33C, 0XC33CC33C3CC33CC3), - vec256_set4x(0XA5A55A5AA5A55A5A, 0XA5A55A5AA5A55A5A, 0XA5A55A5AA5A55A5A, 0XA5A55A5AA5A55A5A), - vec256_set4x(0XFFFF0000FFFF0000, 0X0000FFFF0000FFFF, 0X0000FFFF0000FFFF, 0XFFFF0000FFFF0000), - vec256_set4x(0X33CC33CC33CC33CC, 0X33CC33CC33CC33CC, 0X33CC33CC33CC33CC, 0X33CC33CC33CC33CC), - vec256_set4x(0XF00FF00F0FF00FF0, 0X0FF00FF0F00FF00F, 0XF00FF00F0FF00FF0, 0X0FF00FF0F00FF00F), - vec256_set4x(0X00000000FFFFFFFF, 0X00000000FFFFFFFF, 0X00000000FFFFFFFF, 0X00000000FFFFFFFF), - vec256_set4x(0X6969696996969696, 0X6969696996969696, 0X6969696996969696, 0X6969696996969696), - vec256_set4x(0XA5A5A5A5A5A5A5A5, 0XA5A5A5A5A5A5A5A5, 0X5A5A5A5A5A5A5A5A, 0X5A5A5A5A5A5A5A5A), - vec256_set4x(0X5A5A5A5AA5A5A5A5, 0X5A5A5A5AA5A5A5A5, 0XA5A5A5A55A5A5A5A, 0XA5A5A5A55A5A5A5A), - vec256_set4x(0X5555AAAAAAAA5555, 0XAAAA55555555AAAA, 0X5555AAAAAAAA5555, 0XAAAA55555555AAAA), - vec256_set4x(0XF00FF00FF00FF00F, 0X0FF00FF00FF00FF0, 0XF00FF00FF00FF00F, 0X0FF00FF00FF00FF0), - vec256_set4x(0X0F0FF0F00F0FF0F0, 0XF0F00F0FF0F00F0F, 0XF0F00F0FF0F00F0F, 0X0F0FF0F00F0FF0F0) + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XA55AA55A5AA55AA5, 0XA55AA55A5AA55AA5, 0X5AA55AA5A55AA55A, 0X5AA55AA5A55AA55A), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XC33CC33C3CC33CC3, 0X3CC33CC3C33CC33C, 0X3CC33CC3C33CC33C, 0XC33CC33C3CC33CC3), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XA5A55A5AA5A55A5A, 0XA5A55A5AA5A55A5A, 0XA5A55A5AA5A55A5A, 0XA5A55A5AA5A55A5A), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XFFFF0000FFFF0000, 0X0000FFFF0000FFFF, 0X0000FFFF0000FFFF, 0XFFFF0000FFFF0000), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X33CC33CC33CC33CC, 0X33CC33CC33CC33CC, 0X33CC33CC33CC33CC, 0X33CC33CC33CC33CC), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XF00FF00F0FF00FF0, 0X0FF00FF0F00FF00F, 0XF00FF00F0FF00FF0, 0X0FF00FF0F00FF00F), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X00000000FFFFFFFF, 0X00000000FFFFFFFF, 0X00000000FFFFFFFF, 0X00000000FFFFFFFF), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X6969696996969696, 0X6969696996969696, 0X6969696996969696, 0X6969696996969696), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XA5A5A5A5A5A5A5A5, 0XA5A5A5A5A5A5A5A5, 0X5A5A5A5A5A5A5A5A, 0X5A5A5A5A5A5A5A5A), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X5A5A5A5AA5A5A5A5, 0X5A5A5A5AA5A5A5A5, 0XA5A5A5A55A5A5A5A, 0XA5A5A5A55A5A5A5A), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X5555AAAAAAAA5555, 0XAAAA55555555AAAA, 0X5555AAAAAAAA5555, 0XAAAA55555555AAAA), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XF00FF00FF00FF00F, 0X0FF00FF00FF00FF0, 0XF00FF00FF00FF00F, 0X0FF00FF00FF00FF0), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X0F0FF0F00F0FF0F0, 0XF0F00F0FF0F00F0F, 0XF0F00F0FF0F00F0F, 0X0F0FF0F00F0FF0F0) }, { - vec256_set4x(0X5AA55AA5A55AA55A, 0X5AA55AA5A55AA55A, 0XA55AA55A5AA55AA5, 0XA55AA55A5AA55AA5), - vec256_set4x(0X3CC33CC3C33CC33C, 0XC33CC33C3CC33CC3, 0XC33CC33C3CC33CC3, 0X3CC33CC3C33CC33C), - vec256_set4x(0XA5A55A5AA5A55A5A, 0XA5A55A5AA5A55A5A, 0XA5A55A5AA5A55A5A, 0XA5A55A5AA5A55A5A), - vec256_set4x(0XFFFF0000FFFF0000, 0X0000FFFF0000FFFF, 0X0000FFFF0000FFFF, 0XFFFF0000FFFF0000), - vec256_set4x(0X33CC33CC33CC33CC, 0X33CC33CC33CC33CC, 0X33CC33CC33CC33CC, 0X33CC33CC33CC33CC), - vec256_set4x(0X0FF00FF0F00FF00F, 0XF00FF00F0FF00FF0, 0X0FF00FF0F00FF00F, 0XF00FF00F0FF00FF0), - vec256_set4x(0XFFFFFFFF00000000, 0XFFFFFFFF00000000, 0XFFFFFFFF00000000, 0XFFFFFFFF00000000), - vec256_set4x(0X6969696996969696, 0X6969696996969696, 0X6969696996969696, 0X6969696996969696), - vec256_set4x(0XA5A5A5A5A5A5A5A5, 0XA5A5A5A5A5A5A5A5, 0X5A5A5A5A5A5A5A5A, 0X5A5A5A5A5A5A5A5A), - vec256_set4x(0XA5A5A5A55A5A5A5A, 0XA5A5A5A55A5A5A5A, 0X5A5A5A5AA5A5A5A5, 0X5A5A5A5AA5A5A5A5), - vec256_set4x(0XAAAA55555555AAAA, 0X5555AAAAAAAA5555, 0XAAAA55555555AAAA, 0X5555AAAAAAAA5555), - vec256_set4x(0XF00FF00FF00FF00F, 0X0FF00FF00FF00FF0, 0XF00FF00FF00FF00F, 0X0FF00FF00FF00FF0), - vec256_set4x(0XF0F00F0FF0F00F0F, 0X0F0FF0F00F0FF0F0, 0X0F0FF0F00F0FF0F0, 0XF0F00F0FF0F00F0F) + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X5AA55AA5A55AA55A, 0X5AA55AA5A55AA55A, 0XA55AA55A5AA55AA5, 0XA55AA55A5AA55AA5), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X3CC33CC3C33CC33C, 0XC33CC33C3CC33CC3, 0XC33CC33C3CC33CC3, 0X3CC33CC3C33CC33C), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XA5A55A5AA5A55A5A, 0XA5A55A5AA5A55A5A, 0XA5A55A5AA5A55A5A, 0XA5A55A5AA5A55A5A), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XFFFF0000FFFF0000, 0X0000FFFF0000FFFF, 0X0000FFFF0000FFFF, 0XFFFF0000FFFF0000), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X33CC33CC33CC33CC, 0X33CC33CC33CC33CC, 0X33CC33CC33CC33CC, 0X33CC33CC33CC33CC), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X0FF00FF0F00FF00F, 0XF00FF00F0FF00FF0, 0X0FF00FF0F00FF00F, 0XF00FF00F0FF00FF0), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XFFFFFFFF00000000, 0XFFFFFFFF00000000, 0XFFFFFFFF00000000, 0XFFFFFFFF00000000), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X6969696996969696, 0X6969696996969696, 0X6969696996969696, 0X6969696996969696), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XA5A5A5A5A5A5A5A5, 0XA5A5A5A5A5A5A5A5, 0X5A5A5A5A5A5A5A5A, 0X5A5A5A5A5A5A5A5A), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XA5A5A5A55A5A5A5A, 0XA5A5A5A55A5A5A5A, 0X5A5A5A5AA5A5A5A5, 0X5A5A5A5AA5A5A5A5), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XAAAA55555555AAAA, 0X5555AAAAAAAA5555, 0XAAAA55555555AAAA, 0X5555AAAAAAAA5555), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XF00FF00FF00FF00F, 0X0FF00FF00FF00FF0, 0XF00FF00FF00FF00F, 0X0FF00FF00FF00FF0), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XF0F00F0FF0F00F0F, 0X0F0FF0F00F0FF0F0, 0X0F0FF0F00F0FF0F0, 0XF0F00F0FF0F00F0F) }, { - vec256_set4x(0XA55AA55A5AA55AA5, 0XA55AA55A5AA55AA5, 0X5AA55AA5A55AA55A, 0X5AA55AA5A55AA55A), - vec256_set4x(0X3CC33CC3C33CC33C, 0XC33CC33C3CC33CC3, 0XC33CC33C3CC33CC3, 0X3CC33CC3C33CC33C), - vec256_set4x(0XA5A55A5AA5A55A5A, 0XA5A55A5AA5A55A5A, 0XA5A55A5AA5A55A5A, 0XA5A55A5AA5A55A5A), - vec256_set4x(0X0000FFFF0000FFFF, 0XFFFF0000FFFF0000, 0XFFFF0000FFFF0000, 0X0000FFFF0000FFFF), - vec256_set4x(0XCC33CC33CC33CC33, 0XCC33CC33CC33CC33, 0XCC33CC33CC33CC33, 0XCC33CC33CC33CC33), - vec256_set4x(0X0FF00FF0F00FF00F, 0XF00FF00F0FF00FF0, 0X0FF00FF0F00FF00F, 0XF00FF00F0FF00FF0), - vec256_set4x(0XFFFFFFFF00000000, 0XFFFFFFFF00000000, 0XFFFFFFFF00000000, 0XFFFFFFFF00000000), - vec256_set4x(0X9696969669696969, 0X9696969669696969, 0X9696969669696969, 0X9696969669696969), - vec256_set4x(0XA5A5A5A5A5A5A5A5, 0XA5A5A5A5A5A5A5A5, 0X5A5A5A5A5A5A5A5A, 0X5A5A5A5A5A5A5A5A), - vec256_set4x(0X5A5A5A5AA5A5A5A5, 0X5A5A5A5AA5A5A5A5, 0XA5A5A5A55A5A5A5A, 0XA5A5A5A55A5A5A5A), - vec256_set4x(0XAAAA55555555AAAA, 0X5555AAAAAAAA5555, 0XAAAA55555555AAAA, 0X5555AAAAAAAA5555), - vec256_set4x(0X0FF00FF00FF00FF0, 0XF00FF00FF00FF00F, 0X0FF00FF00FF00FF0, 0XF00FF00FF00FF00F), - vec256_set4x(0XF0F00F0FF0F00F0F, 0X0F0FF0F00F0FF0F0, 0X0F0FF0F00F0FF0F0, 0XF0F00F0FF0F00F0F) + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XA55AA55A5AA55AA5, 0XA55AA55A5AA55AA5, 0X5AA55AA5A55AA55A, 0X5AA55AA5A55AA55A), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X3CC33CC3C33CC33C, 0XC33CC33C3CC33CC3, 0XC33CC33C3CC33CC3, 0X3CC33CC3C33CC33C), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XA5A55A5AA5A55A5A, 0XA5A55A5AA5A55A5A, 0XA5A55A5AA5A55A5A, 0XA5A55A5AA5A55A5A), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X0000FFFF0000FFFF, 0XFFFF0000FFFF0000, 0XFFFF0000FFFF0000, 0X0000FFFF0000FFFF), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XCC33CC33CC33CC33, 0XCC33CC33CC33CC33, 0XCC33CC33CC33CC33, 0XCC33CC33CC33CC33), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X0FF00FF0F00FF00F, 0XF00FF00F0FF00FF0, 0X0FF00FF0F00FF00F, 0XF00FF00F0FF00FF0), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XFFFFFFFF00000000, 0XFFFFFFFF00000000, 0XFFFFFFFF00000000, 0XFFFFFFFF00000000), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X9696969669696969, 0X9696969669696969, 0X9696969669696969, 0X9696969669696969), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XA5A5A5A5A5A5A5A5, 0XA5A5A5A5A5A5A5A5, 0X5A5A5A5A5A5A5A5A, 0X5A5A5A5A5A5A5A5A), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X5A5A5A5AA5A5A5A5, 0X5A5A5A5AA5A5A5A5, 0XA5A5A5A55A5A5A5A, 0XA5A5A5A55A5A5A5A), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XAAAA55555555AAAA, 0X5555AAAAAAAA5555, 0XAAAA55555555AAAA, 0X5555AAAAAAAA5555), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X0FF00FF00FF00FF0, 0XF00FF00FF00FF00F, 0X0FF00FF00FF00FF0, 0XF00FF00FF00FF00F), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XF0F00F0FF0F00F0F, 0X0F0FF0F00F0FF0F0, 0X0F0FF0F00F0FF0F0, 0XF0F00F0FF0F00F0F) }, { - vec256_set4x(0X5AA55AA5A55AA55A, 0X5AA55AA5A55AA55A, 0XA55AA55A5AA55AA5, 0XA55AA55A5AA55AA5), - vec256_set4x(0XC33CC33C3CC33CC3, 0X3CC33CC3C33CC33C, 0X3CC33CC3C33CC33C, 0XC33CC33C3CC33CC3), - vec256_set4x(0XA5A55A5AA5A55A5A, 0XA5A55A5AA5A55A5A, 0XA5A55A5AA5A55A5A, 0XA5A55A5AA5A55A5A), - vec256_set4x(0X0000FFFF0000FFFF, 0XFFFF0000FFFF0000, 0XFFFF0000FFFF0000, 0X0000FFFF0000FFFF), - vec256_set4x(0XCC33CC33CC33CC33, 0XCC33CC33CC33CC33, 0XCC33CC33CC33CC33, 0XCC33CC33CC33CC33), - vec256_set4x(0X0FF00FF0F00FF00F, 0XF00FF00F0FF00FF0, 0X0FF00FF0F00FF00F, 0XF00FF00F0FF00FF0), - vec256_set4x(0X00000000FFFFFFFF, 0X00000000FFFFFFFF, 0X00000000FFFFFFFF, 0X00000000FFFFFFFF), - vec256_set4x(0X9696969669696969, 0X9696969669696969, 0X9696969669696969, 0X9696969669696969), - vec256_set4x(0X5A5A5A5A5A5A5A5A, 0X5A5A5A5A5A5A5A5A, 0XA5A5A5A5A5A5A5A5, 0XA5A5A5A5A5A5A5A5), - vec256_set4x(0XA5A5A5A55A5A5A5A, 0XA5A5A5A55A5A5A5A, 0X5A5A5A5AA5A5A5A5, 0X5A5A5A5AA5A5A5A5), - vec256_set4x(0X5555AAAAAAAA5555, 0XAAAA55555555AAAA, 0X5555AAAAAAAA5555, 0XAAAA55555555AAAA), - vec256_set4x(0XF00FF00FF00FF00F, 0X0FF00FF00FF00FF0, 0XF00FF00FF00FF00F, 0X0FF00FF00FF00FF0), - vec256_set4x(0XF0F00F0FF0F00F0F, 0X0F0FF0F00F0FF0F0, 0X0F0FF0F00F0FF0F0, 0XF0F00F0FF0F00F0F) + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X5AA55AA5A55AA55A, 0X5AA55AA5A55AA55A, 0XA55AA55A5AA55AA5, 0XA55AA55A5AA55AA5), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XC33CC33C3CC33CC3, 0X3CC33CC3C33CC33C, 0X3CC33CC3C33CC33C, 0XC33CC33C3CC33CC3), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XA5A55A5AA5A55A5A, 0XA5A55A5AA5A55A5A, 0XA5A55A5AA5A55A5A, 0XA5A55A5AA5A55A5A), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X0000FFFF0000FFFF, 0XFFFF0000FFFF0000, 0XFFFF0000FFFF0000, 0X0000FFFF0000FFFF), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XCC33CC33CC33CC33, 0XCC33CC33CC33CC33, 0XCC33CC33CC33CC33, 0XCC33CC33CC33CC33), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X0FF00FF0F00FF00F, 0XF00FF00F0FF00FF0, 0X0FF00FF0F00FF00F, 0XF00FF00F0FF00FF0), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X00000000FFFFFFFF, 0X00000000FFFFFFFF, 0X00000000FFFFFFFF, 0X00000000FFFFFFFF), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X9696969669696969, 0X9696969669696969, 0X9696969669696969, 0X9696969669696969), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X5A5A5A5A5A5A5A5A, 0X5A5A5A5A5A5A5A5A, 0XA5A5A5A5A5A5A5A5, 0XA5A5A5A5A5A5A5A5), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XA5A5A5A55A5A5A5A, 0XA5A5A5A55A5A5A5A, 0X5A5A5A5AA5A5A5A5, 0X5A5A5A5AA5A5A5A5), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X5555AAAAAAAA5555, 0XAAAA55555555AAAA, 0X5555AAAAAAAA5555, 0XAAAA55555555AAAA), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XF00FF00FF00FF00F, 0X0FF00FF00FF00FF0, 0XF00FF00FF00FF00F, 0X0FF00FF00FF00FF0), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XF0F00F0FF0F00F0F, 0X0F0FF0F00F0FF0F0, 0X0F0FF0F00F0FF0F0, 0XF0F00F0FF0F00F0F) }, { - vec256_set4x(0XA55AA55A5AA55AA5, 0XA55AA55A5AA55AA5, 0X5AA55AA5A55AA55A, 0X5AA55AA5A55AA55A), - vec256_set4x(0XC33CC33C3CC33CC3, 0X3CC33CC3C33CC33C, 0X3CC33CC3C33CC33C, 0XC33CC33C3CC33CC3), - vec256_set4x(0XA5A55A5AA5A55A5A, 0XA5A55A5AA5A55A5A, 0XA5A55A5AA5A55A5A, 0XA5A55A5AA5A55A5A), - vec256_set4x(0XFFFF0000FFFF0000, 0X0000FFFF0000FFFF, 0X0000FFFF0000FFFF, 0XFFFF0000FFFF0000), - vec256_set4x(0X33CC33CC33CC33CC, 0X33CC33CC33CC33CC, 0X33CC33CC33CC33CC, 0X33CC33CC33CC33CC), - vec256_set4x(0X0FF00FF0F00FF00F, 0XF00FF00F0FF00FF0, 0X0FF00FF0F00FF00F, 0XF00FF00F0FF00FF0), - vec256_set4x(0X00000000FFFFFFFF, 0X00000000FFFFFFFF, 0X00000000FFFFFFFF, 0X00000000FFFFFFFF), - vec256_set4x(0X6969696996969696, 0X6969696996969696, 0X6969696996969696, 0X6969696996969696), - vec256_set4x(0X5A5A5A5A5A5A5A5A, 0X5A5A5A5A5A5A5A5A, 0XA5A5A5A5A5A5A5A5, 0XA5A5A5A5A5A5A5A5), - vec256_set4x(0X5A5A5A5AA5A5A5A5, 0X5A5A5A5AA5A5A5A5, 0XA5A5A5A55A5A5A5A, 0XA5A5A5A55A5A5A5A), - vec256_set4x(0X5555AAAAAAAA5555, 0XAAAA55555555AAAA, 0X5555AAAAAAAA5555, 0XAAAA55555555AAAA), - vec256_set4x(0X0FF00FF00FF00FF0, 0XF00FF00FF00FF00F, 0X0FF00FF00FF00FF0, 0XF00FF00FF00FF00F), - vec256_set4x(0XF0F00F0FF0F00F0F, 0X0F0FF0F00F0FF0F0, 0X0F0FF0F00F0FF0F0, 0XF0F00F0FF0F00F0F) + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XA55AA55A5AA55AA5, 0XA55AA55A5AA55AA5, 0X5AA55AA5A55AA55A, 0X5AA55AA5A55AA55A), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XC33CC33C3CC33CC3, 0X3CC33CC3C33CC33C, 0X3CC33CC3C33CC33C, 0XC33CC33C3CC33CC3), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XA5A55A5AA5A55A5A, 0XA5A55A5AA5A55A5A, 0XA5A55A5AA5A55A5A, 0XA5A55A5AA5A55A5A), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XFFFF0000FFFF0000, 0X0000FFFF0000FFFF, 0X0000FFFF0000FFFF, 0XFFFF0000FFFF0000), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X33CC33CC33CC33CC, 0X33CC33CC33CC33CC, 0X33CC33CC33CC33CC, 0X33CC33CC33CC33CC), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X0FF00FF0F00FF00F, 0XF00FF00F0FF00FF0, 0X0FF00FF0F00FF00F, 0XF00FF00F0FF00FF0), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X00000000FFFFFFFF, 0X00000000FFFFFFFF, 0X00000000FFFFFFFF, 0X00000000FFFFFFFF), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X6969696996969696, 0X6969696996969696, 0X6969696996969696, 0X6969696996969696), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X5A5A5A5A5A5A5A5A, 0X5A5A5A5A5A5A5A5A, 0XA5A5A5A5A5A5A5A5, 0XA5A5A5A5A5A5A5A5), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X5A5A5A5AA5A5A5A5, 0X5A5A5A5AA5A5A5A5, 0XA5A5A5A55A5A5A5A, 0XA5A5A5A55A5A5A5A), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X5555AAAAAAAA5555, 0XAAAA55555555AAAA, 0X5555AAAAAAAA5555, 0XAAAA55555555AAAA), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X0FF00FF00FF00FF0, 0XF00FF00FF00FF00F, 0X0FF00FF00FF00FF0, 0XF00FF00FF00FF00F), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XF0F00F0FF0F00F0F, 0X0F0FF0F00F0FF0F0, 0X0F0FF0F00F0FF0F0, 0XF0F00F0FF0F00F0F) }, { - vec256_set4x(0XA55AA55A5AA55AA5, 0XA55AA55A5AA55AA5, 0X5AA55AA5A55AA55A, 0X5AA55AA5A55AA55A), - vec256_set4x(0X3CC33CC3C33CC33C, 0XC33CC33C3CC33CC3, 0XC33CC33C3CC33CC3, 0X3CC33CC3C33CC33C), - vec256_set4x(0XA5A55A5AA5A55A5A, 0XA5A55A5AA5A55A5A, 0XA5A55A5AA5A55A5A, 0XA5A55A5AA5A55A5A), - vec256_set4x(0XFFFF0000FFFF0000, 0X0000FFFF0000FFFF, 0X0000FFFF0000FFFF, 0XFFFF0000FFFF0000), - vec256_set4x(0X33CC33CC33CC33CC, 0X33CC33CC33CC33CC, 0X33CC33CC33CC33CC, 0X33CC33CC33CC33CC), - vec256_set4x(0X0FF00FF0F00FF00F, 0XF00FF00F0FF00FF0, 0X0FF00FF0F00FF00F, 0XF00FF00F0FF00FF0), - vec256_set4x(0X00000000FFFFFFFF, 0X00000000FFFFFFFF, 0X00000000FFFFFFFF, 0X00000000FFFFFFFF), - vec256_set4x(0X6969696996969696, 0X6969696996969696, 0X6969696996969696, 0X6969696996969696), - vec256_set4x(0X5A5A5A5A5A5A5A5A, 0X5A5A5A5A5A5A5A5A, 0XA5A5A5A5A5A5A5A5, 0XA5A5A5A5A5A5A5A5), - vec256_set4x(0X5A5A5A5AA5A5A5A5, 0X5A5A5A5AA5A5A5A5, 0XA5A5A5A55A5A5A5A, 0XA5A5A5A55A5A5A5A), - vec256_set4x(0XAAAA55555555AAAA, 0X5555AAAAAAAA5555, 0XAAAA55555555AAAA, 0X5555AAAAAAAA5555), - vec256_set4x(0XF00FF00FF00FF00F, 0X0FF00FF00FF00FF0, 0XF00FF00FF00FF00F, 0X0FF00FF00FF00FF0), - vec256_set4x(0XF0F00F0FF0F00F0F, 0X0F0FF0F00F0FF0F0, 0X0F0FF0F00F0FF0F0, 0XF0F00F0FF0F00F0F) + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XA55AA55A5AA55AA5, 0XA55AA55A5AA55AA5, 0X5AA55AA5A55AA55A, 0X5AA55AA5A55AA55A), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X3CC33CC3C33CC33C, 0XC33CC33C3CC33CC3, 0XC33CC33C3CC33CC3, 0X3CC33CC3C33CC33C), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XA5A55A5AA5A55A5A, 0XA5A55A5AA5A55A5A, 0XA5A55A5AA5A55A5A, 0XA5A55A5AA5A55A5A), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XFFFF0000FFFF0000, 0X0000FFFF0000FFFF, 0X0000FFFF0000FFFF, 0XFFFF0000FFFF0000), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X33CC33CC33CC33CC, 0X33CC33CC33CC33CC, 0X33CC33CC33CC33CC, 0X33CC33CC33CC33CC), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X0FF00FF0F00FF00F, 0XF00FF00F0FF00FF0, 0X0FF00FF0F00FF00F, 0XF00FF00F0FF00FF0), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X00000000FFFFFFFF, 0X00000000FFFFFFFF, 0X00000000FFFFFFFF, 0X00000000FFFFFFFF), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X6969696996969696, 0X6969696996969696, 0X6969696996969696, 0X6969696996969696), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X5A5A5A5A5A5A5A5A, 0X5A5A5A5A5A5A5A5A, 0XA5A5A5A5A5A5A5A5, 0XA5A5A5A5A5A5A5A5), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X5A5A5A5AA5A5A5A5, 0X5A5A5A5AA5A5A5A5, 0XA5A5A5A55A5A5A5A, 0XA5A5A5A55A5A5A5A), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XAAAA55555555AAAA, 0X5555AAAAAAAA5555, 0XAAAA55555555AAAA, 0X5555AAAAAAAA5555), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XF00FF00FF00FF00F, 0X0FF00FF00FF00FF0, 0XF00FF00FF00FF00F, 0X0FF00FF00FF00FF0), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XF0F00F0FF0F00F0F, 0X0F0FF0F00F0FF0F0, 0X0F0FF0F00F0FF0F0, 0XF0F00F0FF0F00F0F) }, { - vec256_set4x(0X5AA55AA5A55AA55A, 0X5AA55AA5A55AA55A, 0XA55AA55A5AA55AA5, 0XA55AA55A5AA55AA5), - vec256_set4x(0X3CC33CC3C33CC33C, 0XC33CC33C3CC33CC3, 0XC33CC33C3CC33CC3, 0X3CC33CC3C33CC33C), - vec256_set4x(0XA5A55A5AA5A55A5A, 0XA5A55A5AA5A55A5A, 0XA5A55A5AA5A55A5A, 0XA5A55A5AA5A55A5A), - vec256_set4x(0X0000FFFF0000FFFF, 0XFFFF0000FFFF0000, 0XFFFF0000FFFF0000, 0X0000FFFF0000FFFF), - vec256_set4x(0XCC33CC33CC33CC33, 0XCC33CC33CC33CC33, 0XCC33CC33CC33CC33, 0XCC33CC33CC33CC33), - vec256_set4x(0X0FF00FF0F00FF00F, 0XF00FF00F0FF00FF0, 0X0FF00FF0F00FF00F, 0XF00FF00F0FF00FF0), - vec256_set4x(0X00000000FFFFFFFF, 0X00000000FFFFFFFF, 0X00000000FFFFFFFF, 0X00000000FFFFFFFF), - vec256_set4x(0X9696969669696969, 0X9696969669696969, 0X9696969669696969, 0X9696969669696969), - vec256_set4x(0X5A5A5A5A5A5A5A5A, 0X5A5A5A5A5A5A5A5A, 0XA5A5A5A5A5A5A5A5, 0XA5A5A5A5A5A5A5A5), - vec256_set4x(0XA5A5A5A55A5A5A5A, 0XA5A5A5A55A5A5A5A, 0X5A5A5A5AA5A5A5A5, 0X5A5A5A5AA5A5A5A5), - vec256_set4x(0XAAAA55555555AAAA, 0X5555AAAAAAAA5555, 0XAAAA55555555AAAA, 0X5555AAAAAAAA5555), - vec256_set4x(0X0FF00FF00FF00FF0, 0XF00FF00FF00FF00F, 0X0FF00FF00FF00FF0, 0XF00FF00FF00FF00F), - vec256_set4x(0XF0F00F0FF0F00F0F, 0X0F0FF0F00F0FF0F0, 0X0F0FF0F00F0FF0F0, 0XF0F00F0FF0F00F0F) + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X5AA55AA5A55AA55A, 0X5AA55AA5A55AA55A, 0XA55AA55A5AA55AA5, 0XA55AA55A5AA55AA5), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X3CC33CC3C33CC33C, 0XC33CC33C3CC33CC3, 0XC33CC33C3CC33CC3, 0X3CC33CC3C33CC33C), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XA5A55A5AA5A55A5A, 0XA5A55A5AA5A55A5A, 0XA5A55A5AA5A55A5A, 0XA5A55A5AA5A55A5A), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X0000FFFF0000FFFF, 0XFFFF0000FFFF0000, 0XFFFF0000FFFF0000, 0X0000FFFF0000FFFF), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XCC33CC33CC33CC33, 0XCC33CC33CC33CC33, 0XCC33CC33CC33CC33, 0XCC33CC33CC33CC33), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X0FF00FF0F00FF00F, 0XF00FF00F0FF00FF0, 0X0FF00FF0F00FF00F, 0XF00FF00F0FF00FF0), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X00000000FFFFFFFF, 0X00000000FFFFFFFF, 0X00000000FFFFFFFF, 0X00000000FFFFFFFF), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X9696969669696969, 0X9696969669696969, 0X9696969669696969, 0X9696969669696969), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X5A5A5A5A5A5A5A5A, 0X5A5A5A5A5A5A5A5A, 0XA5A5A5A5A5A5A5A5, 0XA5A5A5A5A5A5A5A5), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XA5A5A5A55A5A5A5A, 0XA5A5A5A55A5A5A5A, 0X5A5A5A5AA5A5A5A5, 0X5A5A5A5AA5A5A5A5), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XAAAA55555555AAAA, 0X5555AAAAAAAA5555, 0XAAAA55555555AAAA, 0X5555AAAAAAAA5555), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X0FF00FF00FF00FF0, 0XF00FF00FF00FF00F, 0X0FF00FF00FF00FF0, 0XF00FF00FF00FF00F), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XF0F00F0FF0F00F0F, 0X0F0FF0F00F0FF0F0, 0X0F0FF0F00F0FF0F0, 0XF0F00F0FF0F00F0F) }, { - vec256_set4x(0XA55AA55A5AA55AA5, 0XA55AA55A5AA55AA5, 0X5AA55AA5A55AA55A, 0X5AA55AA5A55AA55A), - vec256_set4x(0XC33CC33C3CC33CC3, 0X3CC33CC3C33CC33C, 0X3CC33CC3C33CC33C, 0XC33CC33C3CC33CC3), - vec256_set4x(0XA5A55A5AA5A55A5A, 0XA5A55A5AA5A55A5A, 0XA5A55A5AA5A55A5A, 0XA5A55A5AA5A55A5A), - vec256_set4x(0X0000FFFF0000FFFF, 0XFFFF0000FFFF0000, 0XFFFF0000FFFF0000, 0X0000FFFF0000FFFF), - vec256_set4x(0XCC33CC33CC33CC33, 0XCC33CC33CC33CC33, 0XCC33CC33CC33CC33, 0XCC33CC33CC33CC33), - vec256_set4x(0X0FF00FF0F00FF00F, 0XF00FF00F0FF00FF0, 0X0FF00FF0F00FF00F, 0XF00FF00F0FF00FF0), - vec256_set4x(0XFFFFFFFF00000000, 0XFFFFFFFF00000000, 0XFFFFFFFF00000000, 0XFFFFFFFF00000000), - vec256_set4x(0X9696969669696969, 0X9696969669696969, 0X9696969669696969, 0X9696969669696969), - vec256_set4x(0XA5A5A5A5A5A5A5A5, 0XA5A5A5A5A5A5A5A5, 0X5A5A5A5A5A5A5A5A, 0X5A5A5A5A5A5A5A5A), - vec256_set4x(0X5A5A5A5AA5A5A5A5, 0X5A5A5A5AA5A5A5A5, 0XA5A5A5A55A5A5A5A, 0XA5A5A5A55A5A5A5A), - vec256_set4x(0X5555AAAAAAAA5555, 0XAAAA55555555AAAA, 0X5555AAAAAAAA5555, 0XAAAA55555555AAAA), - vec256_set4x(0XF00FF00FF00FF00F, 0X0FF00FF00FF00FF0, 0XF00FF00FF00FF00F, 0X0FF00FF00FF00FF0), - vec256_set4x(0XF0F00F0FF0F00F0F, 0X0F0FF0F00F0FF0F0, 0X0F0FF0F00F0FF0F0, 0XF0F00F0FF0F00F0F) + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XA55AA55A5AA55AA5, 0XA55AA55A5AA55AA5, 0X5AA55AA5A55AA55A, 0X5AA55AA5A55AA55A), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XC33CC33C3CC33CC3, 0X3CC33CC3C33CC33C, 0X3CC33CC3C33CC33C, 0XC33CC33C3CC33CC3), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XA5A55A5AA5A55A5A, 0XA5A55A5AA5A55A5A, 0XA5A55A5AA5A55A5A, 0XA5A55A5AA5A55A5A), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X0000FFFF0000FFFF, 0XFFFF0000FFFF0000, 0XFFFF0000FFFF0000, 0X0000FFFF0000FFFF), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XCC33CC33CC33CC33, 0XCC33CC33CC33CC33, 0XCC33CC33CC33CC33, 0XCC33CC33CC33CC33), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X0FF00FF0F00FF00F, 0XF00FF00F0FF00FF0, 0X0FF00FF0F00FF00F, 0XF00FF00F0FF00FF0), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XFFFFFFFF00000000, 0XFFFFFFFF00000000, 0XFFFFFFFF00000000, 0XFFFFFFFF00000000), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X9696969669696969, 0X9696969669696969, 0X9696969669696969, 0X9696969669696969), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XA5A5A5A5A5A5A5A5, 0XA5A5A5A5A5A5A5A5, 0X5A5A5A5A5A5A5A5A, 0X5A5A5A5A5A5A5A5A), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X5A5A5A5AA5A5A5A5, 0X5A5A5A5AA5A5A5A5, 0XA5A5A5A55A5A5A5A, 0XA5A5A5A55A5A5A5A), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X5555AAAAAAAA5555, 0XAAAA55555555AAAA, 0X5555AAAAAAAA5555, 0XAAAA55555555AAAA), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XF00FF00FF00FF00F, 0X0FF00FF00FF00FF0, 0XF00FF00FF00FF00F, 0X0FF00FF00FF00FF0), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XF0F00F0FF0F00F0F, 0X0F0FF0F00F0FF0F0, 0X0F0FF0F00F0FF0F0, 0XF0F00F0FF0F00F0F) }, { - vec256_set4x(0X5AA55AA5A55AA55A, 0X5AA55AA5A55AA55A, 0XA55AA55A5AA55AA5, 0XA55AA55A5AA55AA5), - vec256_set4x(0XC33CC33C3CC33CC3, 0X3CC33CC3C33CC33C, 0X3CC33CC3C33CC33C, 0XC33CC33C3CC33CC3), - vec256_set4x(0XA5A55A5AA5A55A5A, 0XA5A55A5AA5A55A5A, 0XA5A55A5AA5A55A5A, 0XA5A55A5AA5A55A5A), - vec256_set4x(0XFFFF0000FFFF0000, 0X0000FFFF0000FFFF, 0X0000FFFF0000FFFF, 0XFFFF0000FFFF0000), - vec256_set4x(0X33CC33CC33CC33CC, 0X33CC33CC33CC33CC, 0X33CC33CC33CC33CC, 0X33CC33CC33CC33CC), - vec256_set4x(0X0FF00FF0F00FF00F, 0XF00FF00F0FF00FF0, 0X0FF00FF0F00FF00F, 0XF00FF00F0FF00FF0), - vec256_set4x(0XFFFFFFFF00000000, 0XFFFFFFFF00000000, 0XFFFFFFFF00000000, 0XFFFFFFFF00000000), - vec256_set4x(0X6969696996969696, 0X6969696996969696, 0X6969696996969696, 0X6969696996969696), - vec256_set4x(0XA5A5A5A5A5A5A5A5, 0XA5A5A5A5A5A5A5A5, 0X5A5A5A5A5A5A5A5A, 0X5A5A5A5A5A5A5A5A), - vec256_set4x(0XA5A5A5A55A5A5A5A, 0XA5A5A5A55A5A5A5A, 0X5A5A5A5AA5A5A5A5, 0X5A5A5A5AA5A5A5A5), - vec256_set4x(0X5555AAAAAAAA5555, 0XAAAA55555555AAAA, 0X5555AAAAAAAA5555, 0XAAAA55555555AAAA), - vec256_set4x(0X0FF00FF00FF00FF0, 0XF00FF00FF00FF00F, 0X0FF00FF00FF00FF0, 0XF00FF00FF00FF00F), - vec256_set4x(0XF0F00F0FF0F00F0F, 0X0F0FF0F00F0FF0F0, 0X0F0FF0F00F0FF0F0, 0XF0F00F0FF0F00F0F) + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X5AA55AA5A55AA55A, 0X5AA55AA5A55AA55A, 0XA55AA55A5AA55AA5, 0XA55AA55A5AA55AA5), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XC33CC33C3CC33CC3, 0X3CC33CC3C33CC33C, 0X3CC33CC3C33CC33C, 0XC33CC33C3CC33CC3), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XA5A55A5AA5A55A5A, 0XA5A55A5AA5A55A5A, 0XA5A55A5AA5A55A5A, 0XA5A55A5AA5A55A5A), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XFFFF0000FFFF0000, 0X0000FFFF0000FFFF, 0X0000FFFF0000FFFF, 0XFFFF0000FFFF0000), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X33CC33CC33CC33CC, 0X33CC33CC33CC33CC, 0X33CC33CC33CC33CC, 0X33CC33CC33CC33CC), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X0FF00FF0F00FF00F, 0XF00FF00F0FF00FF0, 0X0FF00FF0F00FF00F, 0XF00FF00F0FF00FF0), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XFFFFFFFF00000000, 0XFFFFFFFF00000000, 0XFFFFFFFF00000000, 0XFFFFFFFF00000000), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X6969696996969696, 0X6969696996969696, 0X6969696996969696, 0X6969696996969696), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XA5A5A5A5A5A5A5A5, 0XA5A5A5A5A5A5A5A5, 0X5A5A5A5A5A5A5A5A, 0X5A5A5A5A5A5A5A5A), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XA5A5A5A55A5A5A5A, 0XA5A5A5A55A5A5A5A, 0X5A5A5A5AA5A5A5A5, 0X5A5A5A5AA5A5A5A5), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X5555AAAAAAAA5555, 0XAAAA55555555AAAA, 0X5555AAAAAAAA5555, 0XAAAA55555555AAAA), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X0FF00FF00FF00FF0, 0XF00FF00FF00FF00F, 0X0FF00FF00FF00FF0, 0XF00FF00FF00FF00F), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XF0F00F0FF0F00F0F, 0X0F0FF0F00F0FF0F0, 0X0F0FF0F00F0FF0F0, 0XF0F00F0FF0F00F0F) }, { - vec256_set4x(0XA55AA55A5AA55AA5, 0XA55AA55A5AA55AA5, 0X5AA55AA5A55AA55A, 0X5AA55AA5A55AA55A), - vec256_set4x(0X3CC33CC3C33CC33C, 0XC33CC33C3CC33CC3, 0XC33CC33C3CC33CC3, 0X3CC33CC3C33CC33C), - vec256_set4x(0XA5A55A5AA5A55A5A, 0XA5A55A5AA5A55A5A, 0XA5A55A5AA5A55A5A, 0XA5A55A5AA5A55A5A), - vec256_set4x(0XFFFF0000FFFF0000, 0X0000FFFF0000FFFF, 0X0000FFFF0000FFFF, 0XFFFF0000FFFF0000), - vec256_set4x(0X33CC33CC33CC33CC, 0X33CC33CC33CC33CC, 0X33CC33CC33CC33CC, 0X33CC33CC33CC33CC), - vec256_set4x(0XF00FF00F0FF00FF0, 0X0FF00FF0F00FF00F, 0XF00FF00F0FF00FF0, 0X0FF00FF0F00FF00F), - vec256_set4x(0X00000000FFFFFFFF, 0X00000000FFFFFFFF, 0X00000000FFFFFFFF, 0X00000000FFFFFFFF), - vec256_set4x(0X6969696996969696, 0X6969696996969696, 0X6969696996969696, 0X6969696996969696), - vec256_set4x(0XA5A5A5A5A5A5A5A5, 0XA5A5A5A5A5A5A5A5, 0X5A5A5A5A5A5A5A5A, 0X5A5A5A5A5A5A5A5A), - vec256_set4x(0X5A5A5A5AA5A5A5A5, 0X5A5A5A5AA5A5A5A5, 0XA5A5A5A55A5A5A5A, 0XA5A5A5A55A5A5A5A), - vec256_set4x(0XAAAA55555555AAAA, 0X5555AAAAAAAA5555, 0XAAAA55555555AAAA, 0X5555AAAAAAAA5555), - vec256_set4x(0X0FF00FF00FF00FF0, 0XF00FF00FF00FF00F, 0X0FF00FF00FF00FF0, 0XF00FF00FF00FF00F), - vec256_set4x(0X0F0FF0F00F0FF0F0, 0XF0F00F0FF0F00F0F, 0XF0F00F0FF0F00F0F, 0X0F0FF0F00F0FF0F0) + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XA55AA55A5AA55AA5, 0XA55AA55A5AA55AA5, 0X5AA55AA5A55AA55A, 0X5AA55AA5A55AA55A), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X3CC33CC3C33CC33C, 0XC33CC33C3CC33CC3, 0XC33CC33C3CC33CC3, 0X3CC33CC3C33CC33C), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XA5A55A5AA5A55A5A, 0XA5A55A5AA5A55A5A, 0XA5A55A5AA5A55A5A, 0XA5A55A5AA5A55A5A), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XFFFF0000FFFF0000, 0X0000FFFF0000FFFF, 0X0000FFFF0000FFFF, 0XFFFF0000FFFF0000), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X33CC33CC33CC33CC, 0X33CC33CC33CC33CC, 0X33CC33CC33CC33CC, 0X33CC33CC33CC33CC), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XF00FF00F0FF00FF0, 0X0FF00FF0F00FF00F, 0XF00FF00F0FF00FF0, 0X0FF00FF0F00FF00F), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X00000000FFFFFFFF, 0X00000000FFFFFFFF, 0X00000000FFFFFFFF, 0X00000000FFFFFFFF), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X6969696996969696, 0X6969696996969696, 0X6969696996969696, 0X6969696996969696), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XA5A5A5A5A5A5A5A5, 0XA5A5A5A5A5A5A5A5, 0X5A5A5A5A5A5A5A5A, 0X5A5A5A5A5A5A5A5A), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X5A5A5A5AA5A5A5A5, 0X5A5A5A5AA5A5A5A5, 0XA5A5A5A55A5A5A5A, 0XA5A5A5A55A5A5A5A), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XAAAA55555555AAAA, 0X5555AAAAAAAA5555, 0XAAAA55555555AAAA, 0X5555AAAAAAAA5555), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X0FF00FF00FF00FF0, 0XF00FF00FF00FF00F, 0X0FF00FF00FF00FF0, 0XF00FF00FF00FF00F), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X0F0FF0F00F0FF0F0, 0XF0F00F0FF0F00F0F, 0XF0F00F0FF0F00F0F, 0X0F0FF0F00F0FF0F0) }, { - vec256_set4x(0X5AA55AA5A55AA55A, 0X5AA55AA5A55AA55A, 0XA55AA55A5AA55AA5, 0XA55AA55A5AA55AA5), - vec256_set4x(0X3CC33CC3C33CC33C, 0XC33CC33C3CC33CC3, 0XC33CC33C3CC33CC3, 0X3CC33CC3C33CC33C), - vec256_set4x(0XA5A55A5AA5A55A5A, 0XA5A55A5AA5A55A5A, 0XA5A55A5AA5A55A5A, 0XA5A55A5AA5A55A5A), - vec256_set4x(0X0000FFFF0000FFFF, 0XFFFF0000FFFF0000, 0XFFFF0000FFFF0000, 0X0000FFFF0000FFFF), - vec256_set4x(0XCC33CC33CC33CC33, 0XCC33CC33CC33CC33, 0XCC33CC33CC33CC33, 0XCC33CC33CC33CC33), - vec256_set4x(0XF00FF00F0FF00FF0, 0X0FF00FF0F00FF00F, 0XF00FF00F0FF00FF0, 0X0FF00FF0F00FF00F), - vec256_set4x(0X00000000FFFFFFFF, 0X00000000FFFFFFFF, 0X00000000FFFFFFFF, 0X00000000FFFFFFFF), - vec256_set4x(0X9696969669696969, 0X9696969669696969, 0X9696969669696969, 0X9696969669696969), - vec256_set4x(0XA5A5A5A5A5A5A5A5, 0XA5A5A5A5A5A5A5A5, 0X5A5A5A5A5A5A5A5A, 0X5A5A5A5A5A5A5A5A), - vec256_set4x(0XA5A5A5A55A5A5A5A, 0XA5A5A5A55A5A5A5A, 0X5A5A5A5AA5A5A5A5, 0X5A5A5A5AA5A5A5A5), - vec256_set4x(0XAAAA55555555AAAA, 0X5555AAAAAAAA5555, 0XAAAA55555555AAAA, 0X5555AAAAAAAA5555), - vec256_set4x(0XF00FF00FF00FF00F, 0X0FF00FF00FF00FF0, 0XF00FF00FF00FF00F, 0X0FF00FF00FF00FF0), - vec256_set4x(0X0F0FF0F00F0FF0F0, 0XF0F00F0FF0F00F0F, 0XF0F00F0FF0F00F0F, 0X0F0FF0F00F0FF0F0) + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X5AA55AA5A55AA55A, 0X5AA55AA5A55AA55A, 0XA55AA55A5AA55AA5, 0XA55AA55A5AA55AA5), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X3CC33CC3C33CC33C, 0XC33CC33C3CC33CC3, 0XC33CC33C3CC33CC3, 0X3CC33CC3C33CC33C), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XA5A55A5AA5A55A5A, 0XA5A55A5AA5A55A5A, 0XA5A55A5AA5A55A5A, 0XA5A55A5AA5A55A5A), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X0000FFFF0000FFFF, 0XFFFF0000FFFF0000, 0XFFFF0000FFFF0000, 0X0000FFFF0000FFFF), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XCC33CC33CC33CC33, 0XCC33CC33CC33CC33, 0XCC33CC33CC33CC33, 0XCC33CC33CC33CC33), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XF00FF00F0FF00FF0, 0X0FF00FF0F00FF00F, 0XF00FF00F0FF00FF0, 0X0FF00FF0F00FF00F), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X00000000FFFFFFFF, 0X00000000FFFFFFFF, 0X00000000FFFFFFFF, 0X00000000FFFFFFFF), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X9696969669696969, 0X9696969669696969, 0X9696969669696969, 0X9696969669696969), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XA5A5A5A5A5A5A5A5, 0XA5A5A5A5A5A5A5A5, 0X5A5A5A5A5A5A5A5A, 0X5A5A5A5A5A5A5A5A), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XA5A5A5A55A5A5A5A, 0XA5A5A5A55A5A5A5A, 0X5A5A5A5AA5A5A5A5, 0X5A5A5A5AA5A5A5A5), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XAAAA55555555AAAA, 0X5555AAAAAAAA5555, 0XAAAA55555555AAAA, 0X5555AAAAAAAA5555), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XF00FF00FF00FF00F, 0X0FF00FF00FF00FF0, 0XF00FF00FF00FF00F, 0X0FF00FF00FF00FF0), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X0F0FF0F00F0FF0F0, 0XF0F00F0FF0F00F0F, 0XF0F00F0FF0F00F0F, 0X0F0FF0F00F0FF0F0) }, { - vec256_set4x(0XA55AA55A5AA55AA5, 0XA55AA55A5AA55AA5, 0X5AA55AA5A55AA55A, 0X5AA55AA5A55AA55A), - vec256_set4x(0XC33CC33C3CC33CC3, 0X3CC33CC3C33CC33C, 0X3CC33CC3C33CC33C, 0XC33CC33C3CC33CC3), - vec256_set4x(0XA5A55A5AA5A55A5A, 0XA5A55A5AA5A55A5A, 0XA5A55A5AA5A55A5A, 0XA5A55A5AA5A55A5A), - vec256_set4x(0X0000FFFF0000FFFF, 0XFFFF0000FFFF0000, 0XFFFF0000FFFF0000, 0X0000FFFF0000FFFF), - vec256_set4x(0XCC33CC33CC33CC33, 0XCC33CC33CC33CC33, 0XCC33CC33CC33CC33, 0XCC33CC33CC33CC33), - vec256_set4x(0XF00FF00F0FF00FF0, 0X0FF00FF0F00FF00F, 0XF00FF00F0FF00FF0, 0X0FF00FF0F00FF00F), - vec256_set4x(0XFFFFFFFF00000000, 0XFFFFFFFF00000000, 0XFFFFFFFF00000000, 0XFFFFFFFF00000000), - vec256_set4x(0X9696969669696969, 0X9696969669696969, 0X9696969669696969, 0X9696969669696969), - vec256_set4x(0X5A5A5A5A5A5A5A5A, 0X5A5A5A5A5A5A5A5A, 0XA5A5A5A5A5A5A5A5, 0XA5A5A5A5A5A5A5A5), - vec256_set4x(0X5A5A5A5AA5A5A5A5, 0X5A5A5A5AA5A5A5A5, 0XA5A5A5A55A5A5A5A, 0XA5A5A5A55A5A5A5A), - vec256_set4x(0X5555AAAAAAAA5555, 0XAAAA55555555AAAA, 0X5555AAAAAAAA5555, 0XAAAA55555555AAAA), - vec256_set4x(0X0FF00FF00FF00FF0, 0XF00FF00FF00FF00F, 0X0FF00FF00FF00FF0, 0XF00FF00FF00FF00F), - vec256_set4x(0X0F0FF0F00F0FF0F0, 0XF0F00F0FF0F00F0F, 0XF0F00F0FF0F00F0F, 0X0F0FF0F00F0FF0F0) + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XA55AA55A5AA55AA5, 0XA55AA55A5AA55AA5, 0X5AA55AA5A55AA55A, 0X5AA55AA5A55AA55A), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XC33CC33C3CC33CC3, 0X3CC33CC3C33CC33C, 0X3CC33CC3C33CC33C, 0XC33CC33C3CC33CC3), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XA5A55A5AA5A55A5A, 0XA5A55A5AA5A55A5A, 0XA5A55A5AA5A55A5A, 0XA5A55A5AA5A55A5A), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X0000FFFF0000FFFF, 0XFFFF0000FFFF0000, 0XFFFF0000FFFF0000, 0X0000FFFF0000FFFF), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XCC33CC33CC33CC33, 0XCC33CC33CC33CC33, 0XCC33CC33CC33CC33, 0XCC33CC33CC33CC33), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XF00FF00F0FF00FF0, 0X0FF00FF0F00FF00F, 0XF00FF00F0FF00FF0, 0X0FF00FF0F00FF00F), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XFFFFFFFF00000000, 0XFFFFFFFF00000000, 0XFFFFFFFF00000000, 0XFFFFFFFF00000000), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X9696969669696969, 0X9696969669696969, 0X9696969669696969, 0X9696969669696969), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X5A5A5A5A5A5A5A5A, 0X5A5A5A5A5A5A5A5A, 0XA5A5A5A5A5A5A5A5, 0XA5A5A5A5A5A5A5A5), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X5A5A5A5AA5A5A5A5, 0X5A5A5A5AA5A5A5A5, 0XA5A5A5A55A5A5A5A, 0XA5A5A5A55A5A5A5A), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X5555AAAAAAAA5555, 0XAAAA55555555AAAA, 0X5555AAAAAAAA5555, 0XAAAA55555555AAAA), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X0FF00FF00FF00FF0, 0XF00FF00FF00FF00F, 0X0FF00FF00FF00FF0, 0XF00FF00FF00FF00F), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X0F0FF0F00F0FF0F0, 0XF0F00F0FF0F00F0F, 0XF0F00F0FF0F00F0F, 0X0F0FF0F00F0FF0F0) }, { - vec256_set4x(0X5AA55AA5A55AA55A, 0X5AA55AA5A55AA55A, 0XA55AA55A5AA55AA5, 0XA55AA55A5AA55AA5), - vec256_set4x(0XC33CC33C3CC33CC3, 0X3CC33CC3C33CC33C, 0X3CC33CC3C33CC33C, 0XC33CC33C3CC33CC3), - vec256_set4x(0XA5A55A5AA5A55A5A, 0XA5A55A5AA5A55A5A, 0XA5A55A5AA5A55A5A, 0XA5A55A5AA5A55A5A), - vec256_set4x(0XFFFF0000FFFF0000, 0X0000FFFF0000FFFF, 0X0000FFFF0000FFFF, 0XFFFF0000FFFF0000), - vec256_set4x(0X33CC33CC33CC33CC, 0X33CC33CC33CC33CC, 0X33CC33CC33CC33CC, 0X33CC33CC33CC33CC), - vec256_set4x(0XF00FF00F0FF00FF0, 0X0FF00FF0F00FF00F, 0XF00FF00F0FF00FF0, 0X0FF00FF0F00FF00F), - vec256_set4x(0XFFFFFFFF00000000, 0XFFFFFFFF00000000, 0XFFFFFFFF00000000, 0XFFFFFFFF00000000), - vec256_set4x(0X6969696996969696, 0X6969696996969696, 0X6969696996969696, 0X6969696996969696), - vec256_set4x(0X5A5A5A5A5A5A5A5A, 0X5A5A5A5A5A5A5A5A, 0XA5A5A5A5A5A5A5A5, 0XA5A5A5A5A5A5A5A5), - vec256_set4x(0XA5A5A5A55A5A5A5A, 0XA5A5A5A55A5A5A5A, 0X5A5A5A5AA5A5A5A5, 0X5A5A5A5AA5A5A5A5), - vec256_set4x(0X5555AAAAAAAA5555, 0XAAAA55555555AAAA, 0X5555AAAAAAAA5555, 0XAAAA55555555AAAA), - vec256_set4x(0XF00FF00FF00FF00F, 0X0FF00FF00FF00FF0, 0XF00FF00FF00FF00F, 0X0FF00FF00FF00FF0), - vec256_set4x(0X0F0FF0F00F0FF0F0, 0XF0F00F0FF0F00F0F, 0XF0F00F0FF0F00F0F, 0X0F0FF0F00F0FF0F0) + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X5AA55AA5A55AA55A, 0X5AA55AA5A55AA55A, 0XA55AA55A5AA55AA5, 0XA55AA55A5AA55AA5), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XC33CC33C3CC33CC3, 0X3CC33CC3C33CC33C, 0X3CC33CC3C33CC33C, 0XC33CC33C3CC33CC3), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XA5A55A5AA5A55A5A, 0XA5A55A5AA5A55A5A, 0XA5A55A5AA5A55A5A, 0XA5A55A5AA5A55A5A), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XFFFF0000FFFF0000, 0X0000FFFF0000FFFF, 0X0000FFFF0000FFFF, 0XFFFF0000FFFF0000), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X33CC33CC33CC33CC, 0X33CC33CC33CC33CC, 0X33CC33CC33CC33CC, 0X33CC33CC33CC33CC), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XF00FF00F0FF00FF0, 0X0FF00FF0F00FF00F, 0XF00FF00F0FF00FF0, 0X0FF00FF0F00FF00F), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XFFFFFFFF00000000, 0XFFFFFFFF00000000, 0XFFFFFFFF00000000, 0XFFFFFFFF00000000), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X6969696996969696, 0X6969696996969696, 0X6969696996969696, 0X6969696996969696), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X5A5A5A5A5A5A5A5A, 0X5A5A5A5A5A5A5A5A, 0XA5A5A5A5A5A5A5A5, 0XA5A5A5A5A5A5A5A5), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XA5A5A5A55A5A5A5A, 0XA5A5A5A55A5A5A5A, 0X5A5A5A5AA5A5A5A5, 0X5A5A5A5AA5A5A5A5), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X5555AAAAAAAA5555, 0XAAAA55555555AAAA, 0X5555AAAAAAAA5555, 0XAAAA55555555AAAA), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XF00FF00FF00FF00F, 0X0FF00FF00FF00FF0, 0XF00FF00FF00FF00F, 0X0FF00FF00FF00FF0), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X0F0FF0F00F0FF0F0, 0XF0F00F0FF0F00F0F, 0XF0F00F0FF0F00F0F, 0X0F0FF0F00F0FF0F0) }, { - vec256_set4x(0XA55AA55A5AA55AA5, 0XA55AA55A5AA55AA5, 0X5AA55AA5A55AA55A, 0X5AA55AA5A55AA55A), - vec256_set4x(0X3CC33CC3C33CC33C, 0XC33CC33C3CC33CC3, 0XC33CC33C3CC33CC3, 0X3CC33CC3C33CC33C), - vec256_set4x(0XA5A55A5AA5A55A5A, 0XA5A55A5AA5A55A5A, 0XA5A55A5AA5A55A5A, 0XA5A55A5AA5A55A5A), - vec256_set4x(0XFFFF0000FFFF0000, 0X0000FFFF0000FFFF, 0X0000FFFF0000FFFF, 0XFFFF0000FFFF0000), - vec256_set4x(0X33CC33CC33CC33CC, 0X33CC33CC33CC33CC, 0X33CC33CC33CC33CC, 0X33CC33CC33CC33CC), - vec256_set4x(0XF00FF00F0FF00FF0, 0X0FF00FF0F00FF00F, 0XF00FF00F0FF00FF0, 0X0FF00FF0F00FF00F), - vec256_set4x(0XFFFFFFFF00000000, 0XFFFFFFFF00000000, 0XFFFFFFFF00000000, 0XFFFFFFFF00000000), - vec256_set4x(0X6969696996969696, 0X6969696996969696, 0X6969696996969696, 0X6969696996969696), - vec256_set4x(0X5A5A5A5A5A5A5A5A, 0X5A5A5A5A5A5A5A5A, 0XA5A5A5A5A5A5A5A5, 0XA5A5A5A5A5A5A5A5), - vec256_set4x(0XA5A5A5A55A5A5A5A, 0XA5A5A5A55A5A5A5A, 0X5A5A5A5AA5A5A5A5, 0X5A5A5A5AA5A5A5A5), - vec256_set4x(0XAAAA55555555AAAA, 0X5555AAAAAAAA5555, 0XAAAA55555555AAAA, 0X5555AAAAAAAA5555), - vec256_set4x(0X0FF00FF00FF00FF0, 0XF00FF00FF00FF00F, 0X0FF00FF00FF00FF0, 0XF00FF00FF00FF00F), - vec256_set4x(0X0F0FF0F00F0FF0F0, 0XF0F00F0FF0F00F0F, 0XF0F00F0FF0F00F0F, 0X0F0FF0F00F0FF0F0) + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XA55AA55A5AA55AA5, 0XA55AA55A5AA55AA5, 0X5AA55AA5A55AA55A, 0X5AA55AA5A55AA55A), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X3CC33CC3C33CC33C, 0XC33CC33C3CC33CC3, 0XC33CC33C3CC33CC3, 0X3CC33CC3C33CC33C), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XA5A55A5AA5A55A5A, 0XA5A55A5AA5A55A5A, 0XA5A55A5AA5A55A5A, 0XA5A55A5AA5A55A5A), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XFFFF0000FFFF0000, 0X0000FFFF0000FFFF, 0X0000FFFF0000FFFF, 0XFFFF0000FFFF0000), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X33CC33CC33CC33CC, 0X33CC33CC33CC33CC, 0X33CC33CC33CC33CC, 0X33CC33CC33CC33CC), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XF00FF00F0FF00FF0, 0X0FF00FF0F00FF00F, 0XF00FF00F0FF00FF0, 0X0FF00FF0F00FF00F), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XFFFFFFFF00000000, 0XFFFFFFFF00000000, 0XFFFFFFFF00000000, 0XFFFFFFFF00000000), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X6969696996969696, 0X6969696996969696, 0X6969696996969696, 0X6969696996969696), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X5A5A5A5A5A5A5A5A, 0X5A5A5A5A5A5A5A5A, 0XA5A5A5A5A5A5A5A5, 0XA5A5A5A5A5A5A5A5), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XA5A5A5A55A5A5A5A, 0XA5A5A5A55A5A5A5A, 0X5A5A5A5AA5A5A5A5, 0X5A5A5A5AA5A5A5A5), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XAAAA55555555AAAA, 0X5555AAAAAAAA5555, 0XAAAA55555555AAAA, 0X5555AAAAAAAA5555), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X0FF00FF00FF00FF0, 0XF00FF00FF00FF00F, 0X0FF00FF00FF00FF0, 0XF00FF00FF00FF00F), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X0F0FF0F00F0FF0F0, 0XF0F00F0FF0F00F0F, 0XF0F00F0FF0F00F0F, 0X0F0FF0F00F0FF0F0) }, { - vec256_set4x(0X5AA55AA5A55AA55A, 0X5AA55AA5A55AA55A, 0XA55AA55A5AA55AA5, 0XA55AA55A5AA55AA5), - vec256_set4x(0X3CC33CC3C33CC33C, 0XC33CC33C3CC33CC3, 0XC33CC33C3CC33CC3, 0X3CC33CC3C33CC33C), - vec256_set4x(0XA5A55A5AA5A55A5A, 0XA5A55A5AA5A55A5A, 0XA5A55A5AA5A55A5A, 0XA5A55A5AA5A55A5A), - vec256_set4x(0X0000FFFF0000FFFF, 0XFFFF0000FFFF0000, 0XFFFF0000FFFF0000, 0X0000FFFF0000FFFF), - vec256_set4x(0XCC33CC33CC33CC33, 0XCC33CC33CC33CC33, 0XCC33CC33CC33CC33, 0XCC33CC33CC33CC33), - vec256_set4x(0XF00FF00F0FF00FF0, 0X0FF00FF0F00FF00F, 0XF00FF00F0FF00FF0, 0X0FF00FF0F00FF00F), - vec256_set4x(0XFFFFFFFF00000000, 0XFFFFFFFF00000000, 0XFFFFFFFF00000000, 0XFFFFFFFF00000000), - vec256_set4x(0X9696969669696969, 0X9696969669696969, 0X9696969669696969, 0X9696969669696969), - vec256_set4x(0X5A5A5A5A5A5A5A5A, 0X5A5A5A5A5A5A5A5A, 0XA5A5A5A5A5A5A5A5, 0XA5A5A5A5A5A5A5A5), - vec256_set4x(0X5A5A5A5AA5A5A5A5, 0X5A5A5A5AA5A5A5A5, 0XA5A5A5A55A5A5A5A, 0XA5A5A5A55A5A5A5A), - vec256_set4x(0XAAAA55555555AAAA, 0X5555AAAAAAAA5555, 0XAAAA55555555AAAA, 0X5555AAAAAAAA5555), - vec256_set4x(0XF00FF00FF00FF00F, 0X0FF00FF00FF00FF0, 0XF00FF00FF00FF00F, 0X0FF00FF00FF00FF0), - vec256_set4x(0X0F0FF0F00F0FF0F0, 0XF0F00F0FF0F00F0F, 0XF0F00F0FF0F00F0F, 0X0F0FF0F00F0FF0F0) + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X5AA55AA5A55AA55A, 0X5AA55AA5A55AA55A, 0XA55AA55A5AA55AA5, 0XA55AA55A5AA55AA5), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X3CC33CC3C33CC33C, 0XC33CC33C3CC33CC3, 0XC33CC33C3CC33CC3, 0X3CC33CC3C33CC33C), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XA5A55A5AA5A55A5A, 0XA5A55A5AA5A55A5A, 0XA5A55A5AA5A55A5A, 0XA5A55A5AA5A55A5A), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X0000FFFF0000FFFF, 0XFFFF0000FFFF0000, 0XFFFF0000FFFF0000, 0X0000FFFF0000FFFF), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XCC33CC33CC33CC33, 0XCC33CC33CC33CC33, 0XCC33CC33CC33CC33, 0XCC33CC33CC33CC33), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XF00FF00F0FF00FF0, 0X0FF00FF0F00FF00F, 0XF00FF00F0FF00FF0, 0X0FF00FF0F00FF00F), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XFFFFFFFF00000000, 0XFFFFFFFF00000000, 0XFFFFFFFF00000000, 0XFFFFFFFF00000000), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X9696969669696969, 0X9696969669696969, 0X9696969669696969, 0X9696969669696969), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X5A5A5A5A5A5A5A5A, 0X5A5A5A5A5A5A5A5A, 0XA5A5A5A5A5A5A5A5, 0XA5A5A5A5A5A5A5A5), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X5A5A5A5AA5A5A5A5, 0X5A5A5A5AA5A5A5A5, 0XA5A5A5A55A5A5A5A, 0XA5A5A5A55A5A5A5A), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XAAAA55555555AAAA, 0X5555AAAAAAAA5555, 0XAAAA55555555AAAA, 0X5555AAAAAAAA5555), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XF00FF00FF00FF00F, 0X0FF00FF00FF00FF0, 0XF00FF00FF00FF00F, 0X0FF00FF00FF00FF0), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X0F0FF0F00F0FF0F0, 0XF0F00F0FF0F00F0F, 0XF0F00F0FF0F00F0F, 0X0F0FF0F00F0FF0F0) }, { - vec256_set4x(0XA55AA55A5AA55AA5, 0XA55AA55A5AA55AA5, 0X5AA55AA5A55AA55A, 0X5AA55AA5A55AA55A), - vec256_set4x(0XC33CC33C3CC33CC3, 0X3CC33CC3C33CC33C, 0X3CC33CC3C33CC33C, 0XC33CC33C3CC33CC3), - vec256_set4x(0XA5A55A5AA5A55A5A, 0XA5A55A5AA5A55A5A, 0XA5A55A5AA5A55A5A, 0XA5A55A5AA5A55A5A), - vec256_set4x(0X0000FFFF0000FFFF, 0XFFFF0000FFFF0000, 0XFFFF0000FFFF0000, 0X0000FFFF0000FFFF), - vec256_set4x(0XCC33CC33CC33CC33, 0XCC33CC33CC33CC33, 0XCC33CC33CC33CC33, 0XCC33CC33CC33CC33), - vec256_set4x(0XF00FF00F0FF00FF0, 0X0FF00FF0F00FF00F, 0XF00FF00F0FF00FF0, 0X0FF00FF0F00FF00F), - vec256_set4x(0X00000000FFFFFFFF, 0X00000000FFFFFFFF, 0X00000000FFFFFFFF, 0X00000000FFFFFFFF), - vec256_set4x(0X9696969669696969, 0X9696969669696969, 0X9696969669696969, 0X9696969669696969), - vec256_set4x(0XA5A5A5A5A5A5A5A5, 0XA5A5A5A5A5A5A5A5, 0X5A5A5A5A5A5A5A5A, 0X5A5A5A5A5A5A5A5A), - vec256_set4x(0XA5A5A5A55A5A5A5A, 0XA5A5A5A55A5A5A5A, 0X5A5A5A5AA5A5A5A5, 0X5A5A5A5AA5A5A5A5), - vec256_set4x(0X5555AAAAAAAA5555, 0XAAAA55555555AAAA, 0X5555AAAAAAAA5555, 0XAAAA55555555AAAA), - vec256_set4x(0X0FF00FF00FF00FF0, 0XF00FF00FF00FF00F, 0X0FF00FF00FF00FF0, 0XF00FF00FF00FF00F), - vec256_set4x(0X0F0FF0F00F0FF0F0, 0XF0F00F0FF0F00F0F, 0XF0F00F0FF0F00F0F, 0X0F0FF0F00F0FF0F0) + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XA55AA55A5AA55AA5, 0XA55AA55A5AA55AA5, 0X5AA55AA5A55AA55A, 0X5AA55AA5A55AA55A), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XC33CC33C3CC33CC3, 0X3CC33CC3C33CC33C, 0X3CC33CC3C33CC33C, 0XC33CC33C3CC33CC3), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XA5A55A5AA5A55A5A, 0XA5A55A5AA5A55A5A, 0XA5A55A5AA5A55A5A, 0XA5A55A5AA5A55A5A), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X0000FFFF0000FFFF, 0XFFFF0000FFFF0000, 0XFFFF0000FFFF0000, 0X0000FFFF0000FFFF), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XCC33CC33CC33CC33, 0XCC33CC33CC33CC33, 0XCC33CC33CC33CC33, 0XCC33CC33CC33CC33), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XF00FF00F0FF00FF0, 0X0FF00FF0F00FF00F, 0XF00FF00F0FF00FF0, 0X0FF00FF0F00FF00F), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X00000000FFFFFFFF, 0X00000000FFFFFFFF, 0X00000000FFFFFFFF, 0X00000000FFFFFFFF), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X9696969669696969, 0X9696969669696969, 0X9696969669696969, 0X9696969669696969), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XA5A5A5A5A5A5A5A5, 0XA5A5A5A5A5A5A5A5, 0X5A5A5A5A5A5A5A5A, 0X5A5A5A5A5A5A5A5A), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XA5A5A5A55A5A5A5A, 0XA5A5A5A55A5A5A5A, 0X5A5A5A5AA5A5A5A5, 0X5A5A5A5AA5A5A5A5), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X5555AAAAAAAA5555, 0XAAAA55555555AAAA, 0X5555AAAAAAAA5555, 0XAAAA55555555AAAA), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X0FF00FF00FF00FF0, 0XF00FF00FF00FF00F, 0X0FF00FF00FF00FF0, 0XF00FF00FF00FF00F), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X0F0FF0F00F0FF0F0, 0XF0F00F0FF0F00F0F, 0XF0F00F0FF0F00F0F, 0X0F0FF0F00F0FF0F0) }, { - vec256_set4x(0X5AA55AA5A55AA55A, 0X5AA55AA5A55AA55A, 0XA55AA55A5AA55AA5, 0XA55AA55A5AA55AA5), - vec256_set4x(0XC33CC33C3CC33CC3, 0X3CC33CC3C33CC33C, 0X3CC33CC3C33CC33C, 0XC33CC33C3CC33CC3), - vec256_set4x(0XA5A55A5AA5A55A5A, 0XA5A55A5AA5A55A5A, 0XA5A55A5AA5A55A5A, 0XA5A55A5AA5A55A5A), - vec256_set4x(0XFFFF0000FFFF0000, 0X0000FFFF0000FFFF, 0X0000FFFF0000FFFF, 0XFFFF0000FFFF0000), - vec256_set4x(0X33CC33CC33CC33CC, 0X33CC33CC33CC33CC, 0X33CC33CC33CC33CC, 0X33CC33CC33CC33CC), - vec256_set4x(0XF00FF00F0FF00FF0, 0X0FF00FF0F00FF00F, 0XF00FF00F0FF00FF0, 0X0FF00FF0F00FF00F), - vec256_set4x(0X00000000FFFFFFFF, 0X00000000FFFFFFFF, 0X00000000FFFFFFFF, 0X00000000FFFFFFFF), - vec256_set4x(0X6969696996969696, 0X6969696996969696, 0X6969696996969696, 0X6969696996969696), - vec256_set4x(0XA5A5A5A5A5A5A5A5, 0XA5A5A5A5A5A5A5A5, 0X5A5A5A5A5A5A5A5A, 0X5A5A5A5A5A5A5A5A), - vec256_set4x(0X5A5A5A5AA5A5A5A5, 0X5A5A5A5AA5A5A5A5, 0XA5A5A5A55A5A5A5A, 0XA5A5A5A55A5A5A5A), - vec256_set4x(0X5555AAAAAAAA5555, 0XAAAA55555555AAAA, 0X5555AAAAAAAA5555, 0XAAAA55555555AAAA), - vec256_set4x(0XF00FF00FF00FF00F, 0X0FF00FF00FF00FF0, 0XF00FF00FF00FF00F, 0X0FF00FF00FF00FF0), - vec256_set4x(0X0F0FF0F00F0FF0F0, 0XF0F00F0FF0F00F0F, 0XF0F00F0FF0F00F0F, 0X0F0FF0F00F0FF0F0) + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X5AA55AA5A55AA55A, 0X5AA55AA5A55AA55A, 0XA55AA55A5AA55AA5, 0XA55AA55A5AA55AA5), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XC33CC33C3CC33CC3, 0X3CC33CC3C33CC33C, 0X3CC33CC3C33CC33C, 0XC33CC33C3CC33CC3), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XA5A55A5AA5A55A5A, 0XA5A55A5AA5A55A5A, 0XA5A55A5AA5A55A5A, 0XA5A55A5AA5A55A5A), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XFFFF0000FFFF0000, 0X0000FFFF0000FFFF, 0X0000FFFF0000FFFF, 0XFFFF0000FFFF0000), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X33CC33CC33CC33CC, 0X33CC33CC33CC33CC, 0X33CC33CC33CC33CC, 0X33CC33CC33CC33CC), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XF00FF00F0FF00FF0, 0X0FF00FF0F00FF00F, 0XF00FF00F0FF00FF0, 0X0FF00FF0F00FF00F), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X00000000FFFFFFFF, 0X00000000FFFFFFFF, 0X00000000FFFFFFFF, 0X00000000FFFFFFFF), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X6969696996969696, 0X6969696996969696, 0X6969696996969696, 0X6969696996969696), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XA5A5A5A5A5A5A5A5, 0XA5A5A5A5A5A5A5A5, 0X5A5A5A5A5A5A5A5A, 0X5A5A5A5A5A5A5A5A), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X5A5A5A5AA5A5A5A5, 0X5A5A5A5AA5A5A5A5, 0XA5A5A5A55A5A5A5A, 0XA5A5A5A55A5A5A5A), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X5555AAAAAAAA5555, 0XAAAA55555555AAAA, 0X5555AAAAAAAA5555, 0XAAAA55555555AAAA), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XF00FF00FF00FF00F, 0X0FF00FF00FF00FF0, 0XF00FF00FF00FF00F, 0X0FF00FF00FF00FF0), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X0F0FF0F00F0FF0F0, 0XF0F00F0FF0F00F0F, 0XF0F00F0FF0F00F0F, 0X0F0FF0F00F0FF0F0) }, { - vec256_set4x(0XA55AA55A5AA55AA5, 0XA55AA55A5AA55AA5, 0X5AA55AA5A55AA55A, 0X5AA55AA5A55AA55A), - vec256_set4x(0X3CC33CC3C33CC33C, 0XC33CC33C3CC33CC3, 0XC33CC33C3CC33CC3, 0X3CC33CC3C33CC33C), - vec256_set4x(0XA5A55A5AA5A55A5A, 0XA5A55A5AA5A55A5A, 0XA5A55A5AA5A55A5A, 0XA5A55A5AA5A55A5A), - vec256_set4x(0XFFFF0000FFFF0000, 0X0000FFFF0000FFFF, 0X0000FFFF0000FFFF, 0XFFFF0000FFFF0000), - vec256_set4x(0X33CC33CC33CC33CC, 0X33CC33CC33CC33CC, 0X33CC33CC33CC33CC, 0X33CC33CC33CC33CC), - vec256_set4x(0X0FF00FF0F00FF00F, 0XF00FF00F0FF00FF0, 0X0FF00FF0F00FF00F, 0XF00FF00F0FF00FF0), - vec256_set4x(0XFFFFFFFF00000000, 0XFFFFFFFF00000000, 0XFFFFFFFF00000000, 0XFFFFFFFF00000000), - vec256_set4x(0X6969696996969696, 0X6969696996969696, 0X6969696996969696, 0X6969696996969696), - vec256_set4x(0XA5A5A5A5A5A5A5A5, 0XA5A5A5A5A5A5A5A5, 0X5A5A5A5A5A5A5A5A, 0X5A5A5A5A5A5A5A5A), - vec256_set4x(0XA5A5A5A55A5A5A5A, 0XA5A5A5A55A5A5A5A, 0X5A5A5A5AA5A5A5A5, 0X5A5A5A5AA5A5A5A5), - vec256_set4x(0XAAAA55555555AAAA, 0X5555AAAAAAAA5555, 0XAAAA55555555AAAA, 0X5555AAAAAAAA5555), - vec256_set4x(0XF00FF00FF00FF00F, 0X0FF00FF00FF00FF0, 0XF00FF00FF00FF00F, 0X0FF00FF00FF00FF0), - vec256_set4x(0XF0F00F0FF0F00F0F, 0X0F0FF0F00F0FF0F0, 0X0F0FF0F00F0FF0F0, 0XF0F00F0FF0F00F0F) + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XA55AA55A5AA55AA5, 0XA55AA55A5AA55AA5, 0X5AA55AA5A55AA55A, 0X5AA55AA5A55AA55A), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X3CC33CC3C33CC33C, 0XC33CC33C3CC33CC3, 0XC33CC33C3CC33CC3, 0X3CC33CC3C33CC33C), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XA5A55A5AA5A55A5A, 0XA5A55A5AA5A55A5A, 0XA5A55A5AA5A55A5A, 0XA5A55A5AA5A55A5A), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XFFFF0000FFFF0000, 0X0000FFFF0000FFFF, 0X0000FFFF0000FFFF, 0XFFFF0000FFFF0000), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X33CC33CC33CC33CC, 0X33CC33CC33CC33CC, 0X33CC33CC33CC33CC, 0X33CC33CC33CC33CC), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X0FF00FF0F00FF00F, 0XF00FF00F0FF00FF0, 0X0FF00FF0F00FF00F, 0XF00FF00F0FF00FF0), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XFFFFFFFF00000000, 0XFFFFFFFF00000000, 0XFFFFFFFF00000000, 0XFFFFFFFF00000000), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X6969696996969696, 0X6969696996969696, 0X6969696996969696, 0X6969696996969696), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XA5A5A5A5A5A5A5A5, 0XA5A5A5A5A5A5A5A5, 0X5A5A5A5A5A5A5A5A, 0X5A5A5A5A5A5A5A5A), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XA5A5A5A55A5A5A5A, 0XA5A5A5A55A5A5A5A, 0X5A5A5A5AA5A5A5A5, 0X5A5A5A5AA5A5A5A5), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XAAAA55555555AAAA, 0X5555AAAAAAAA5555, 0XAAAA55555555AAAA, 0X5555AAAAAAAA5555), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XF00FF00FF00FF00F, 0X0FF00FF00FF00FF0, 0XF00FF00FF00FF00F, 0X0FF00FF00FF00FF0), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XF0F00F0FF0F00F0F, 0X0F0FF0F00F0FF0F0, 0X0F0FF0F00F0FF0F0, 0XF0F00F0FF0F00F0F) }, { - vec256_set4x(0X5AA55AA5A55AA55A, 0X5AA55AA5A55AA55A, 0XA55AA55A5AA55AA5, 0XA55AA55A5AA55AA5), - vec256_set4x(0X3CC33CC3C33CC33C, 0XC33CC33C3CC33CC3, 0XC33CC33C3CC33CC3, 0X3CC33CC3C33CC33C), - vec256_set4x(0XA5A55A5AA5A55A5A, 0XA5A55A5AA5A55A5A, 0XA5A55A5AA5A55A5A, 0XA5A55A5AA5A55A5A), - vec256_set4x(0X0000FFFF0000FFFF, 0XFFFF0000FFFF0000, 0XFFFF0000FFFF0000, 0X0000FFFF0000FFFF), - vec256_set4x(0XCC33CC33CC33CC33, 0XCC33CC33CC33CC33, 0XCC33CC33CC33CC33, 0XCC33CC33CC33CC33), - vec256_set4x(0X0FF00FF0F00FF00F, 0XF00FF00F0FF00FF0, 0X0FF00FF0F00FF00F, 0XF00FF00F0FF00FF0), - vec256_set4x(0XFFFFFFFF00000000, 0XFFFFFFFF00000000, 0XFFFFFFFF00000000, 0XFFFFFFFF00000000), - vec256_set4x(0X9696969669696969, 0X9696969669696969, 0X9696969669696969, 0X9696969669696969), - vec256_set4x(0XA5A5A5A5A5A5A5A5, 0XA5A5A5A5A5A5A5A5, 0X5A5A5A5A5A5A5A5A, 0X5A5A5A5A5A5A5A5A), - vec256_set4x(0X5A5A5A5AA5A5A5A5, 0X5A5A5A5AA5A5A5A5, 0XA5A5A5A55A5A5A5A, 0XA5A5A5A55A5A5A5A), - vec256_set4x(0XAAAA55555555AAAA, 0X5555AAAAAAAA5555, 0XAAAA55555555AAAA, 0X5555AAAAAAAA5555), - vec256_set4x(0X0FF00FF00FF00FF0, 0XF00FF00FF00FF00F, 0X0FF00FF00FF00FF0, 0XF00FF00FF00FF00F), - vec256_set4x(0XF0F00F0FF0F00F0F, 0X0F0FF0F00F0FF0F0, 0X0F0FF0F00F0FF0F0, 0XF0F00F0FF0F00F0F) + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X5AA55AA5A55AA55A, 0X5AA55AA5A55AA55A, 0XA55AA55A5AA55AA5, 0XA55AA55A5AA55AA5), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X3CC33CC3C33CC33C, 0XC33CC33C3CC33CC3, 0XC33CC33C3CC33CC3, 0X3CC33CC3C33CC33C), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XA5A55A5AA5A55A5A, 0XA5A55A5AA5A55A5A, 0XA5A55A5AA5A55A5A, 0XA5A55A5AA5A55A5A), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X0000FFFF0000FFFF, 0XFFFF0000FFFF0000, 0XFFFF0000FFFF0000, 0X0000FFFF0000FFFF), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XCC33CC33CC33CC33, 0XCC33CC33CC33CC33, 0XCC33CC33CC33CC33, 0XCC33CC33CC33CC33), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X0FF00FF0F00FF00F, 0XF00FF00F0FF00FF0, 0X0FF00FF0F00FF00F, 0XF00FF00F0FF00FF0), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XFFFFFFFF00000000, 0XFFFFFFFF00000000, 0XFFFFFFFF00000000, 0XFFFFFFFF00000000), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X9696969669696969, 0X9696969669696969, 0X9696969669696969, 0X9696969669696969), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XA5A5A5A5A5A5A5A5, 0XA5A5A5A5A5A5A5A5, 0X5A5A5A5A5A5A5A5A, 0X5A5A5A5A5A5A5A5A), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X5A5A5A5AA5A5A5A5, 0X5A5A5A5AA5A5A5A5, 0XA5A5A5A55A5A5A5A, 0XA5A5A5A55A5A5A5A), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XAAAA55555555AAAA, 0X5555AAAAAAAA5555, 0XAAAA55555555AAAA, 0X5555AAAAAAAA5555), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X0FF00FF00FF00FF0, 0XF00FF00FF00FF00F, 0X0FF00FF00FF00FF0, 0XF00FF00FF00FF00F), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XF0F00F0FF0F00F0F, 0X0F0FF0F00F0FF0F0, 0X0F0FF0F00F0FF0F0, 0XF0F00F0FF0F00F0F) }, { - vec256_set4x(0XA55AA55A5AA55AA5, 0XA55AA55A5AA55AA5, 0X5AA55AA5A55AA55A, 0X5AA55AA5A55AA55A), - vec256_set4x(0XC33CC33C3CC33CC3, 0X3CC33CC3C33CC33C, 0X3CC33CC3C33CC33C, 0XC33CC33C3CC33CC3), - vec256_set4x(0XA5A55A5AA5A55A5A, 0XA5A55A5AA5A55A5A, 0XA5A55A5AA5A55A5A, 0XA5A55A5AA5A55A5A), - vec256_set4x(0X0000FFFF0000FFFF, 0XFFFF0000FFFF0000, 0XFFFF0000FFFF0000, 0X0000FFFF0000FFFF), - vec256_set4x(0XCC33CC33CC33CC33, 0XCC33CC33CC33CC33, 0XCC33CC33CC33CC33, 0XCC33CC33CC33CC33), - vec256_set4x(0X0FF00FF0F00FF00F, 0XF00FF00F0FF00FF0, 0X0FF00FF0F00FF00F, 0XF00FF00F0FF00FF0), - vec256_set4x(0X00000000FFFFFFFF, 0X00000000FFFFFFFF, 0X00000000FFFFFFFF, 0X00000000FFFFFFFF), - vec256_set4x(0X9696969669696969, 0X9696969669696969, 0X9696969669696969, 0X9696969669696969), - vec256_set4x(0X5A5A5A5A5A5A5A5A, 0X5A5A5A5A5A5A5A5A, 0XA5A5A5A5A5A5A5A5, 0XA5A5A5A5A5A5A5A5), - vec256_set4x(0XA5A5A5A55A5A5A5A, 0XA5A5A5A55A5A5A5A, 0X5A5A5A5AA5A5A5A5, 0X5A5A5A5AA5A5A5A5), - vec256_set4x(0X5555AAAAAAAA5555, 0XAAAA55555555AAAA, 0X5555AAAAAAAA5555, 0XAAAA55555555AAAA), - vec256_set4x(0XF00FF00FF00FF00F, 0X0FF00FF00FF00FF0, 0XF00FF00FF00FF00F, 0X0FF00FF00FF00FF0), - vec256_set4x(0XF0F00F0FF0F00F0F, 0X0F0FF0F00F0FF0F0, 0X0F0FF0F00F0FF0F0, 0XF0F00F0FF0F00F0F) + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XA55AA55A5AA55AA5, 0XA55AA55A5AA55AA5, 0X5AA55AA5A55AA55A, 0X5AA55AA5A55AA55A), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XC33CC33C3CC33CC3, 0X3CC33CC3C33CC33C, 0X3CC33CC3C33CC33C, 0XC33CC33C3CC33CC3), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XA5A55A5AA5A55A5A, 0XA5A55A5AA5A55A5A, 0XA5A55A5AA5A55A5A, 0XA5A55A5AA5A55A5A), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X0000FFFF0000FFFF, 0XFFFF0000FFFF0000, 0XFFFF0000FFFF0000, 0X0000FFFF0000FFFF), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XCC33CC33CC33CC33, 0XCC33CC33CC33CC33, 0XCC33CC33CC33CC33, 0XCC33CC33CC33CC33), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X0FF00FF0F00FF00F, 0XF00FF00F0FF00FF0, 0X0FF00FF0F00FF00F, 0XF00FF00F0FF00FF0), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X00000000FFFFFFFF, 0X00000000FFFFFFFF, 0X00000000FFFFFFFF, 0X00000000FFFFFFFF), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X9696969669696969, 0X9696969669696969, 0X9696969669696969, 0X9696969669696969), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X5A5A5A5A5A5A5A5A, 0X5A5A5A5A5A5A5A5A, 0XA5A5A5A5A5A5A5A5, 0XA5A5A5A5A5A5A5A5), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XA5A5A5A55A5A5A5A, 0XA5A5A5A55A5A5A5A, 0X5A5A5A5AA5A5A5A5, 0X5A5A5A5AA5A5A5A5), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X5555AAAAAAAA5555, 0XAAAA55555555AAAA, 0X5555AAAAAAAA5555, 0XAAAA55555555AAAA), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XF00FF00FF00FF00F, 0X0FF00FF00FF00FF0, 0XF00FF00FF00FF00F, 0X0FF00FF00FF00FF0), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XF0F00F0FF0F00F0F, 0X0F0FF0F00F0FF0F0, 0X0F0FF0F00F0FF0F0, 0XF0F00F0FF0F00F0F) }, { - vec256_set4x(0X5AA55AA5A55AA55A, 0X5AA55AA5A55AA55A, 0XA55AA55A5AA55AA5, 0XA55AA55A5AA55AA5), - vec256_set4x(0XC33CC33C3CC33CC3, 0X3CC33CC3C33CC33C, 0X3CC33CC3C33CC33C, 0XC33CC33C3CC33CC3), - vec256_set4x(0XA5A55A5AA5A55A5A, 0XA5A55A5AA5A55A5A, 0XA5A55A5AA5A55A5A, 0XA5A55A5AA5A55A5A), - vec256_set4x(0XFFFF0000FFFF0000, 0X0000FFFF0000FFFF, 0X0000FFFF0000FFFF, 0XFFFF0000FFFF0000), - vec256_set4x(0X33CC33CC33CC33CC, 0X33CC33CC33CC33CC, 0X33CC33CC33CC33CC, 0X33CC33CC33CC33CC), - vec256_set4x(0X0FF00FF0F00FF00F, 0XF00FF00F0FF00FF0, 0X0FF00FF0F00FF00F, 0XF00FF00F0FF00FF0), - vec256_set4x(0X00000000FFFFFFFF, 0X00000000FFFFFFFF, 0X00000000FFFFFFFF, 0X00000000FFFFFFFF), - vec256_set4x(0X6969696996969696, 0X6969696996969696, 0X6969696996969696, 0X6969696996969696), - vec256_set4x(0X5A5A5A5A5A5A5A5A, 0X5A5A5A5A5A5A5A5A, 0XA5A5A5A5A5A5A5A5, 0XA5A5A5A5A5A5A5A5), - vec256_set4x(0X5A5A5A5AA5A5A5A5, 0X5A5A5A5AA5A5A5A5, 0XA5A5A5A55A5A5A5A, 0XA5A5A5A55A5A5A5A), - vec256_set4x(0X5555AAAAAAAA5555, 0XAAAA55555555AAAA, 0X5555AAAAAAAA5555, 0XAAAA55555555AAAA), - vec256_set4x(0X0FF00FF00FF00FF0, 0XF00FF00FF00FF00F, 0X0FF00FF00FF00FF0, 0XF00FF00FF00FF00F), - vec256_set4x(0XF0F00F0FF0F00F0F, 0X0F0FF0F00F0FF0F0, 0X0F0FF0F00F0FF0F0, 0XF0F00F0FF0F00F0F) + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X5AA55AA5A55AA55A, 0X5AA55AA5A55AA55A, 0XA55AA55A5AA55AA5, 0XA55AA55A5AA55AA5), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XC33CC33C3CC33CC3, 0X3CC33CC3C33CC33C, 0X3CC33CC3C33CC33C, 0XC33CC33C3CC33CC3), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XA5A55A5AA5A55A5A, 0XA5A55A5AA5A55A5A, 0XA5A55A5AA5A55A5A, 0XA5A55A5AA5A55A5A), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XFFFF0000FFFF0000, 0X0000FFFF0000FFFF, 0X0000FFFF0000FFFF, 0XFFFF0000FFFF0000), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X33CC33CC33CC33CC, 0X33CC33CC33CC33CC, 0X33CC33CC33CC33CC, 0X33CC33CC33CC33CC), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X0FF00FF0F00FF00F, 0XF00FF00F0FF00FF0, 0X0FF00FF0F00FF00F, 0XF00FF00F0FF00FF0), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X00000000FFFFFFFF, 0X00000000FFFFFFFF, 0X00000000FFFFFFFF, 0X00000000FFFFFFFF), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X6969696996969696, 0X6969696996969696, 0X6969696996969696, 0X6969696996969696), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X5A5A5A5A5A5A5A5A, 0X5A5A5A5A5A5A5A5A, 0XA5A5A5A5A5A5A5A5, 0XA5A5A5A5A5A5A5A5), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X5A5A5A5AA5A5A5A5, 0X5A5A5A5AA5A5A5A5, 0XA5A5A5A55A5A5A5A, 0XA5A5A5A55A5A5A5A), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X5555AAAAAAAA5555, 0XAAAA55555555AAAA, 0X5555AAAAAAAA5555, 0XAAAA55555555AAAA), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X0FF00FF00FF00FF0, 0XF00FF00FF00FF00F, 0X0FF00FF00FF00FF0, 0XF00FF00FF00FF00F), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XF0F00F0FF0F00F0F, 0X0F0FF0F00F0FF0F0, 0X0F0FF0F00F0FF0F0, 0XF0F00F0FF0F00F0F) }, { - vec256_set4x(0X5AA55AA5A55AA55A, 0X5AA55AA5A55AA55A, 0XA55AA55A5AA55AA5, 0XA55AA55A5AA55AA5), - vec256_set4x(0X3CC33CC3C33CC33C, 0XC33CC33C3CC33CC3, 0XC33CC33C3CC33CC3, 0X3CC33CC3C33CC33C), - vec256_set4x(0XA5A55A5AA5A55A5A, 0XA5A55A5AA5A55A5A, 0XA5A55A5AA5A55A5A, 0XA5A55A5AA5A55A5A), - vec256_set4x(0XFFFF0000FFFF0000, 0X0000FFFF0000FFFF, 0X0000FFFF0000FFFF, 0XFFFF0000FFFF0000), - vec256_set4x(0X33CC33CC33CC33CC, 0X33CC33CC33CC33CC, 0X33CC33CC33CC33CC, 0X33CC33CC33CC33CC), - vec256_set4x(0X0FF00FF0F00FF00F, 0XF00FF00F0FF00FF0, 0X0FF00FF0F00FF00F, 0XF00FF00F0FF00FF0), - vec256_set4x(0X00000000FFFFFFFF, 0X00000000FFFFFFFF, 0X00000000FFFFFFFF, 0X00000000FFFFFFFF), - vec256_set4x(0X6969696996969696, 0X6969696996969696, 0X6969696996969696, 0X6969696996969696), - vec256_set4x(0X5A5A5A5A5A5A5A5A, 0X5A5A5A5A5A5A5A5A, 0XA5A5A5A5A5A5A5A5, 0XA5A5A5A5A5A5A5A5), - vec256_set4x(0X5A5A5A5AA5A5A5A5, 0X5A5A5A5AA5A5A5A5, 0XA5A5A5A55A5A5A5A, 0XA5A5A5A55A5A5A5A), - vec256_set4x(0XAAAA55555555AAAA, 0X5555AAAAAAAA5555, 0XAAAA55555555AAAA, 0X5555AAAAAAAA5555), - vec256_set4x(0XF00FF00FF00FF00F, 0X0FF00FF00FF00FF0, 0XF00FF00FF00FF00F, 0X0FF00FF00FF00FF0), - vec256_set4x(0XF0F00F0FF0F00F0F, 0X0F0FF0F00F0FF0F0, 0X0F0FF0F00F0FF0F0, 0XF0F00F0FF0F00F0F) + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X5AA55AA5A55AA55A, 0X5AA55AA5A55AA55A, 0XA55AA55A5AA55AA5, 0XA55AA55A5AA55AA5), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X3CC33CC3C33CC33C, 0XC33CC33C3CC33CC3, 0XC33CC33C3CC33CC3, 0X3CC33CC3C33CC33C), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XA5A55A5AA5A55A5A, 0XA5A55A5AA5A55A5A, 0XA5A55A5AA5A55A5A, 0XA5A55A5AA5A55A5A), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XFFFF0000FFFF0000, 0X0000FFFF0000FFFF, 0X0000FFFF0000FFFF, 0XFFFF0000FFFF0000), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X33CC33CC33CC33CC, 0X33CC33CC33CC33CC, 0X33CC33CC33CC33CC, 0X33CC33CC33CC33CC), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X0FF00FF0F00FF00F, 0XF00FF00F0FF00FF0, 0X0FF00FF0F00FF00F, 0XF00FF00F0FF00FF0), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X00000000FFFFFFFF, 0X00000000FFFFFFFF, 0X00000000FFFFFFFF, 0X00000000FFFFFFFF), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X6969696996969696, 0X6969696996969696, 0X6969696996969696, 0X6969696996969696), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X5A5A5A5A5A5A5A5A, 0X5A5A5A5A5A5A5A5A, 0XA5A5A5A5A5A5A5A5, 0XA5A5A5A5A5A5A5A5), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X5A5A5A5AA5A5A5A5, 0X5A5A5A5AA5A5A5A5, 0XA5A5A5A55A5A5A5A, 0XA5A5A5A55A5A5A5A), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XAAAA55555555AAAA, 0X5555AAAAAAAA5555, 0XAAAA55555555AAAA, 0X5555AAAAAAAA5555), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XF00FF00FF00FF00F, 0X0FF00FF00FF00FF0, 0XF00FF00FF00FF00F, 0X0FF00FF00FF00FF0), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XF0F00F0FF0F00F0F, 0X0F0FF0F00F0FF0F0, 0X0F0FF0F00F0FF0F0, 0XF0F00F0FF0F00F0F) }, { - vec256_set4x(0XA55AA55A5AA55AA5, 0XA55AA55A5AA55AA5, 0X5AA55AA5A55AA55A, 0X5AA55AA5A55AA55A), - vec256_set4x(0X3CC33CC3C33CC33C, 0XC33CC33C3CC33CC3, 0XC33CC33C3CC33CC3, 0X3CC33CC3C33CC33C), - vec256_set4x(0XA5A55A5AA5A55A5A, 0XA5A55A5AA5A55A5A, 0XA5A55A5AA5A55A5A, 0XA5A55A5AA5A55A5A), - vec256_set4x(0X0000FFFF0000FFFF, 0XFFFF0000FFFF0000, 0XFFFF0000FFFF0000, 0X0000FFFF0000FFFF), - vec256_set4x(0XCC33CC33CC33CC33, 0XCC33CC33CC33CC33, 0XCC33CC33CC33CC33, 0XCC33CC33CC33CC33), - vec256_set4x(0X0FF00FF0F00FF00F, 0XF00FF00F0FF00FF0, 0X0FF00FF0F00FF00F, 0XF00FF00F0FF00FF0), - vec256_set4x(0X00000000FFFFFFFF, 0X00000000FFFFFFFF, 0X00000000FFFFFFFF, 0X00000000FFFFFFFF), - vec256_set4x(0X9696969669696969, 0X9696969669696969, 0X9696969669696969, 0X9696969669696969), - vec256_set4x(0X5A5A5A5A5A5A5A5A, 0X5A5A5A5A5A5A5A5A, 0XA5A5A5A5A5A5A5A5, 0XA5A5A5A5A5A5A5A5), - vec256_set4x(0XA5A5A5A55A5A5A5A, 0XA5A5A5A55A5A5A5A, 0X5A5A5A5AA5A5A5A5, 0X5A5A5A5AA5A5A5A5), - vec256_set4x(0XAAAA55555555AAAA, 0X5555AAAAAAAA5555, 0XAAAA55555555AAAA, 0X5555AAAAAAAA5555), - vec256_set4x(0X0FF00FF00FF00FF0, 0XF00FF00FF00FF00F, 0X0FF00FF00FF00FF0, 0XF00FF00FF00FF00F), - vec256_set4x(0XF0F00F0FF0F00F0F, 0X0F0FF0F00F0FF0F0, 0X0F0FF0F00F0FF0F0, 0XF0F00F0FF0F00F0F) + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XA55AA55A5AA55AA5, 0XA55AA55A5AA55AA5, 0X5AA55AA5A55AA55A, 0X5AA55AA5A55AA55A), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X3CC33CC3C33CC33C, 0XC33CC33C3CC33CC3, 0XC33CC33C3CC33CC3, 0X3CC33CC3C33CC33C), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XA5A55A5AA5A55A5A, 0XA5A55A5AA5A55A5A, 0XA5A55A5AA5A55A5A, 0XA5A55A5AA5A55A5A), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X0000FFFF0000FFFF, 0XFFFF0000FFFF0000, 0XFFFF0000FFFF0000, 0X0000FFFF0000FFFF), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XCC33CC33CC33CC33, 0XCC33CC33CC33CC33, 0XCC33CC33CC33CC33, 0XCC33CC33CC33CC33), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X0FF00FF0F00FF00F, 0XF00FF00F0FF00FF0, 0X0FF00FF0F00FF00F, 0XF00FF00F0FF00FF0), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X00000000FFFFFFFF, 0X00000000FFFFFFFF, 0X00000000FFFFFFFF, 0X00000000FFFFFFFF), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X9696969669696969, 0X9696969669696969, 0X9696969669696969, 0X9696969669696969), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X5A5A5A5A5A5A5A5A, 0X5A5A5A5A5A5A5A5A, 0XA5A5A5A5A5A5A5A5, 0XA5A5A5A5A5A5A5A5), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XA5A5A5A55A5A5A5A, 0XA5A5A5A55A5A5A5A, 0X5A5A5A5AA5A5A5A5, 0X5A5A5A5AA5A5A5A5), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XAAAA55555555AAAA, 0X5555AAAAAAAA5555, 0XAAAA55555555AAAA, 0X5555AAAAAAAA5555), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X0FF00FF00FF00FF0, 0XF00FF00FF00FF00F, 0X0FF00FF00FF00FF0, 0XF00FF00FF00FF00F), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XF0F00F0FF0F00F0F, 0X0F0FF0F00F0FF0F0, 0X0F0FF0F00F0FF0F0, 0XF0F00F0FF0F00F0F) }, { - vec256_set4x(0X5AA55AA5A55AA55A, 0X5AA55AA5A55AA55A, 0XA55AA55A5AA55AA5, 0XA55AA55A5AA55AA5), - vec256_set4x(0XC33CC33C3CC33CC3, 0X3CC33CC3C33CC33C, 0X3CC33CC3C33CC33C, 0XC33CC33C3CC33CC3), - vec256_set4x(0XA5A55A5AA5A55A5A, 0XA5A55A5AA5A55A5A, 0XA5A55A5AA5A55A5A, 0XA5A55A5AA5A55A5A), - vec256_set4x(0X0000FFFF0000FFFF, 0XFFFF0000FFFF0000, 0XFFFF0000FFFF0000, 0X0000FFFF0000FFFF), - vec256_set4x(0XCC33CC33CC33CC33, 0XCC33CC33CC33CC33, 0XCC33CC33CC33CC33, 0XCC33CC33CC33CC33), - vec256_set4x(0X0FF00FF0F00FF00F, 0XF00FF00F0FF00FF0, 0X0FF00FF0F00FF00F, 0XF00FF00F0FF00FF0), - vec256_set4x(0XFFFFFFFF00000000, 0XFFFFFFFF00000000, 0XFFFFFFFF00000000, 0XFFFFFFFF00000000), - vec256_set4x(0X9696969669696969, 0X9696969669696969, 0X9696969669696969, 0X9696969669696969), - vec256_set4x(0XA5A5A5A5A5A5A5A5, 0XA5A5A5A5A5A5A5A5, 0X5A5A5A5A5A5A5A5A, 0X5A5A5A5A5A5A5A5A), - vec256_set4x(0X5A5A5A5AA5A5A5A5, 0X5A5A5A5AA5A5A5A5, 0XA5A5A5A55A5A5A5A, 0XA5A5A5A55A5A5A5A), - vec256_set4x(0X5555AAAAAAAA5555, 0XAAAA55555555AAAA, 0X5555AAAAAAAA5555, 0XAAAA55555555AAAA), - vec256_set4x(0XF00FF00FF00FF00F, 0X0FF00FF00FF00FF0, 0XF00FF00FF00FF00F, 0X0FF00FF00FF00FF0), - vec256_set4x(0XF0F00F0FF0F00F0F, 0X0F0FF0F00F0FF0F0, 0X0F0FF0F00F0FF0F0, 0XF0F00F0FF0F00F0F) + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X5AA55AA5A55AA55A, 0X5AA55AA5A55AA55A, 0XA55AA55A5AA55AA5, 0XA55AA55A5AA55AA5), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XC33CC33C3CC33CC3, 0X3CC33CC3C33CC33C, 0X3CC33CC3C33CC33C, 0XC33CC33C3CC33CC3), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XA5A55A5AA5A55A5A, 0XA5A55A5AA5A55A5A, 0XA5A55A5AA5A55A5A, 0XA5A55A5AA5A55A5A), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X0000FFFF0000FFFF, 0XFFFF0000FFFF0000, 0XFFFF0000FFFF0000, 0X0000FFFF0000FFFF), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XCC33CC33CC33CC33, 0XCC33CC33CC33CC33, 0XCC33CC33CC33CC33, 0XCC33CC33CC33CC33), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X0FF00FF0F00FF00F, 0XF00FF00F0FF00FF0, 0X0FF00FF0F00FF00F, 0XF00FF00F0FF00FF0), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XFFFFFFFF00000000, 0XFFFFFFFF00000000, 0XFFFFFFFF00000000, 0XFFFFFFFF00000000), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X9696969669696969, 0X9696969669696969, 0X9696969669696969, 0X9696969669696969), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XA5A5A5A5A5A5A5A5, 0XA5A5A5A5A5A5A5A5, 0X5A5A5A5A5A5A5A5A, 0X5A5A5A5A5A5A5A5A), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X5A5A5A5AA5A5A5A5, 0X5A5A5A5AA5A5A5A5, 0XA5A5A5A55A5A5A5A, 0XA5A5A5A55A5A5A5A), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X5555AAAAAAAA5555, 0XAAAA55555555AAAA, 0X5555AAAAAAAA5555, 0XAAAA55555555AAAA), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XF00FF00FF00FF00F, 0X0FF00FF00FF00FF0, 0XF00FF00FF00FF00F, 0X0FF00FF00FF00FF0), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XF0F00F0FF0F00F0F, 0X0F0FF0F00F0FF0F0, 0X0F0FF0F00F0FF0F0, 0XF0F00F0FF0F00F0F) }, { - vec256_set4x(0XA55AA55A5AA55AA5, 0XA55AA55A5AA55AA5, 0X5AA55AA5A55AA55A, 0X5AA55AA5A55AA55A), - vec256_set4x(0XC33CC33C3CC33CC3, 0X3CC33CC3C33CC33C, 0X3CC33CC3C33CC33C, 0XC33CC33C3CC33CC3), - vec256_set4x(0XA5A55A5AA5A55A5A, 0XA5A55A5AA5A55A5A, 0XA5A55A5AA5A55A5A, 0XA5A55A5AA5A55A5A), - vec256_set4x(0XFFFF0000FFFF0000, 0X0000FFFF0000FFFF, 0X0000FFFF0000FFFF, 0XFFFF0000FFFF0000), - vec256_set4x(0X33CC33CC33CC33CC, 0X33CC33CC33CC33CC, 0X33CC33CC33CC33CC, 0X33CC33CC33CC33CC), - vec256_set4x(0X0FF00FF0F00FF00F, 0XF00FF00F0FF00FF0, 0X0FF00FF0F00FF00F, 0XF00FF00F0FF00FF0), - vec256_set4x(0XFFFFFFFF00000000, 0XFFFFFFFF00000000, 0XFFFFFFFF00000000, 0XFFFFFFFF00000000), - vec256_set4x(0X6969696996969696, 0X6969696996969696, 0X6969696996969696, 0X6969696996969696), - vec256_set4x(0XA5A5A5A5A5A5A5A5, 0XA5A5A5A5A5A5A5A5, 0X5A5A5A5A5A5A5A5A, 0X5A5A5A5A5A5A5A5A), - vec256_set4x(0XA5A5A5A55A5A5A5A, 0XA5A5A5A55A5A5A5A, 0X5A5A5A5AA5A5A5A5, 0X5A5A5A5AA5A5A5A5), - vec256_set4x(0X5555AAAAAAAA5555, 0XAAAA55555555AAAA, 0X5555AAAAAAAA5555, 0XAAAA55555555AAAA), - vec256_set4x(0X0FF00FF00FF00FF0, 0XF00FF00FF00FF00F, 0X0FF00FF00FF00FF0, 0XF00FF00FF00FF00F), - vec256_set4x(0XF0F00F0FF0F00F0F, 0X0F0FF0F00F0FF0F0, 0X0F0FF0F00F0FF0F0, 0XF0F00F0FF0F00F0F) + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XA55AA55A5AA55AA5, 0XA55AA55A5AA55AA5, 0X5AA55AA5A55AA55A, 0X5AA55AA5A55AA55A), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XC33CC33C3CC33CC3, 0X3CC33CC3C33CC33C, 0X3CC33CC3C33CC33C, 0XC33CC33C3CC33CC3), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XA5A55A5AA5A55A5A, 0XA5A55A5AA5A55A5A, 0XA5A55A5AA5A55A5A, 0XA5A55A5AA5A55A5A), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XFFFF0000FFFF0000, 0X0000FFFF0000FFFF, 0X0000FFFF0000FFFF, 0XFFFF0000FFFF0000), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X33CC33CC33CC33CC, 0X33CC33CC33CC33CC, 0X33CC33CC33CC33CC, 0X33CC33CC33CC33CC), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X0FF00FF0F00FF00F, 0XF00FF00F0FF00FF0, 0X0FF00FF0F00FF00F, 0XF00FF00F0FF00FF0), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XFFFFFFFF00000000, 0XFFFFFFFF00000000, 0XFFFFFFFF00000000, 0XFFFFFFFF00000000), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X6969696996969696, 0X6969696996969696, 0X6969696996969696, 0X6969696996969696), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XA5A5A5A5A5A5A5A5, 0XA5A5A5A5A5A5A5A5, 0X5A5A5A5A5A5A5A5A, 0X5A5A5A5A5A5A5A5A), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XA5A5A5A55A5A5A5A, 0XA5A5A5A55A5A5A5A, 0X5A5A5A5AA5A5A5A5, 0X5A5A5A5AA5A5A5A5), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X5555AAAAAAAA5555, 0XAAAA55555555AAAA, 0X5555AAAAAAAA5555, 0XAAAA55555555AAAA), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X0FF00FF00FF00FF0, 0XF00FF00FF00FF00F, 0X0FF00FF00FF00FF0, 0XF00FF00FF00FF00F), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XF0F00F0FF0F00F0F, 0X0F0FF0F00F0FF0F0, 0X0F0FF0F00F0FF0F0, 0XF0F00F0FF0F00F0F) }, { - vec256_set4x(0X5AA55AA5A55AA55A, 0X5AA55AA5A55AA55A, 0XA55AA55A5AA55AA5, 0XA55AA55A5AA55AA5), - vec256_set4x(0X3CC33CC3C33CC33C, 0XC33CC33C3CC33CC3, 0XC33CC33C3CC33CC3, 0X3CC33CC3C33CC33C), - vec256_set4x(0XA5A55A5AA5A55A5A, 0XA5A55A5AA5A55A5A, 0XA5A55A5AA5A55A5A, 0XA5A55A5AA5A55A5A), - vec256_set4x(0XFFFF0000FFFF0000, 0X0000FFFF0000FFFF, 0X0000FFFF0000FFFF, 0XFFFF0000FFFF0000), - vec256_set4x(0X33CC33CC33CC33CC, 0X33CC33CC33CC33CC, 0X33CC33CC33CC33CC, 0X33CC33CC33CC33CC), - vec256_set4x(0XF00FF00F0FF00FF0, 0X0FF00FF0F00FF00F, 0XF00FF00F0FF00FF0, 0X0FF00FF0F00FF00F), - vec256_set4x(0X00000000FFFFFFFF, 0X00000000FFFFFFFF, 0X00000000FFFFFFFF, 0X00000000FFFFFFFF), - vec256_set4x(0X6969696996969696, 0X6969696996969696, 0X6969696996969696, 0X6969696996969696), - vec256_set4x(0XA5A5A5A5A5A5A5A5, 0XA5A5A5A5A5A5A5A5, 0X5A5A5A5A5A5A5A5A, 0X5A5A5A5A5A5A5A5A), - vec256_set4x(0X5A5A5A5AA5A5A5A5, 0X5A5A5A5AA5A5A5A5, 0XA5A5A5A55A5A5A5A, 0XA5A5A5A55A5A5A5A), - vec256_set4x(0XAAAA55555555AAAA, 0X5555AAAAAAAA5555, 0XAAAA55555555AAAA, 0X5555AAAAAAAA5555), - vec256_set4x(0X0FF00FF00FF00FF0, 0XF00FF00FF00FF00F, 0X0FF00FF00FF00FF0, 0XF00FF00FF00FF00F), - vec256_set4x(0X0F0FF0F00F0FF0F0, 0XF0F00F0FF0F00F0F, 0XF0F00F0FF0F00F0F, 0X0F0FF0F00F0FF0F0) + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X5AA55AA5A55AA55A, 0X5AA55AA5A55AA55A, 0XA55AA55A5AA55AA5, 0XA55AA55A5AA55AA5), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X3CC33CC3C33CC33C, 0XC33CC33C3CC33CC3, 0XC33CC33C3CC33CC3, 0X3CC33CC3C33CC33C), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XA5A55A5AA5A55A5A, 0XA5A55A5AA5A55A5A, 0XA5A55A5AA5A55A5A, 0XA5A55A5AA5A55A5A), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XFFFF0000FFFF0000, 0X0000FFFF0000FFFF, 0X0000FFFF0000FFFF, 0XFFFF0000FFFF0000), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X33CC33CC33CC33CC, 0X33CC33CC33CC33CC, 0X33CC33CC33CC33CC, 0X33CC33CC33CC33CC), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XF00FF00F0FF00FF0, 0X0FF00FF0F00FF00F, 0XF00FF00F0FF00FF0, 0X0FF00FF0F00FF00F), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X00000000FFFFFFFF, 0X00000000FFFFFFFF, 0X00000000FFFFFFFF, 0X00000000FFFFFFFF), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X6969696996969696, 0X6969696996969696, 0X6969696996969696, 0X6969696996969696), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XA5A5A5A5A5A5A5A5, 0XA5A5A5A5A5A5A5A5, 0X5A5A5A5A5A5A5A5A, 0X5A5A5A5A5A5A5A5A), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X5A5A5A5AA5A5A5A5, 0X5A5A5A5AA5A5A5A5, 0XA5A5A5A55A5A5A5A, 0XA5A5A5A55A5A5A5A), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XAAAA55555555AAAA, 0X5555AAAAAAAA5555, 0XAAAA55555555AAAA, 0X5555AAAAAAAA5555), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X0FF00FF00FF00FF0, 0XF00FF00FF00FF00F, 0X0FF00FF00FF00FF0, 0XF00FF00FF00FF00F), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X0F0FF0F00F0FF0F0, 0XF0F00F0FF0F00F0F, 0XF0F00F0FF0F00F0F, 0X0F0FF0F00F0FF0F0) }, { - vec256_set4x(0XA55AA55A5AA55AA5, 0XA55AA55A5AA55AA5, 0X5AA55AA5A55AA55A, 0X5AA55AA5A55AA55A), - vec256_set4x(0X3CC33CC3C33CC33C, 0XC33CC33C3CC33CC3, 0XC33CC33C3CC33CC3, 0X3CC33CC3C33CC33C), - vec256_set4x(0XA5A55A5AA5A55A5A, 0XA5A55A5AA5A55A5A, 0XA5A55A5AA5A55A5A, 0XA5A55A5AA5A55A5A), - vec256_set4x(0X0000FFFF0000FFFF, 0XFFFF0000FFFF0000, 0XFFFF0000FFFF0000, 0X0000FFFF0000FFFF), - vec256_set4x(0XCC33CC33CC33CC33, 0XCC33CC33CC33CC33, 0XCC33CC33CC33CC33, 0XCC33CC33CC33CC33), - vec256_set4x(0XF00FF00F0FF00FF0, 0X0FF00FF0F00FF00F, 0XF00FF00F0FF00FF0, 0X0FF00FF0F00FF00F), - vec256_set4x(0X00000000FFFFFFFF, 0X00000000FFFFFFFF, 0X00000000FFFFFFFF, 0X00000000FFFFFFFF), - vec256_set4x(0X9696969669696969, 0X9696969669696969, 0X9696969669696969, 0X9696969669696969), - vec256_set4x(0XA5A5A5A5A5A5A5A5, 0XA5A5A5A5A5A5A5A5, 0X5A5A5A5A5A5A5A5A, 0X5A5A5A5A5A5A5A5A), - vec256_set4x(0XA5A5A5A55A5A5A5A, 0XA5A5A5A55A5A5A5A, 0X5A5A5A5AA5A5A5A5, 0X5A5A5A5AA5A5A5A5), - vec256_set4x(0XAAAA55555555AAAA, 0X5555AAAAAAAA5555, 0XAAAA55555555AAAA, 0X5555AAAAAAAA5555), - vec256_set4x(0XF00FF00FF00FF00F, 0X0FF00FF00FF00FF0, 0XF00FF00FF00FF00F, 0X0FF00FF00FF00FF0), - vec256_set4x(0X0F0FF0F00F0FF0F0, 0XF0F00F0FF0F00F0F, 0XF0F00F0FF0F00F0F, 0X0F0FF0F00F0FF0F0) + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XA55AA55A5AA55AA5, 0XA55AA55A5AA55AA5, 0X5AA55AA5A55AA55A, 0X5AA55AA5A55AA55A), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X3CC33CC3C33CC33C, 0XC33CC33C3CC33CC3, 0XC33CC33C3CC33CC3, 0X3CC33CC3C33CC33C), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XA5A55A5AA5A55A5A, 0XA5A55A5AA5A55A5A, 0XA5A55A5AA5A55A5A, 0XA5A55A5AA5A55A5A), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X0000FFFF0000FFFF, 0XFFFF0000FFFF0000, 0XFFFF0000FFFF0000, 0X0000FFFF0000FFFF), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XCC33CC33CC33CC33, 0XCC33CC33CC33CC33, 0XCC33CC33CC33CC33, 0XCC33CC33CC33CC33), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XF00FF00F0FF00FF0, 0X0FF00FF0F00FF00F, 0XF00FF00F0FF00FF0, 0X0FF00FF0F00FF00F), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X00000000FFFFFFFF, 0X00000000FFFFFFFF, 0X00000000FFFFFFFF, 0X00000000FFFFFFFF), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X9696969669696969, 0X9696969669696969, 0X9696969669696969, 0X9696969669696969), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XA5A5A5A5A5A5A5A5, 0XA5A5A5A5A5A5A5A5, 0X5A5A5A5A5A5A5A5A, 0X5A5A5A5A5A5A5A5A), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XA5A5A5A55A5A5A5A, 0XA5A5A5A55A5A5A5A, 0X5A5A5A5AA5A5A5A5, 0X5A5A5A5AA5A5A5A5), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XAAAA55555555AAAA, 0X5555AAAAAAAA5555, 0XAAAA55555555AAAA, 0X5555AAAAAAAA5555), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XF00FF00FF00FF00F, 0X0FF00FF00FF00FF0, 0XF00FF00FF00FF00F, 0X0FF00FF00FF00FF0), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X0F0FF0F00F0FF0F0, 0XF0F00F0FF0F00F0F, 0XF0F00F0FF0F00F0F, 0X0F0FF0F00F0FF0F0) }, { - vec256_set4x(0X5AA55AA5A55AA55A, 0X5AA55AA5A55AA55A, 0XA55AA55A5AA55AA5, 0XA55AA55A5AA55AA5), - vec256_set4x(0XC33CC33C3CC33CC3, 0X3CC33CC3C33CC33C, 0X3CC33CC3C33CC33C, 0XC33CC33C3CC33CC3), - vec256_set4x(0XA5A55A5AA5A55A5A, 0XA5A55A5AA5A55A5A, 0XA5A55A5AA5A55A5A, 0XA5A55A5AA5A55A5A), - vec256_set4x(0X0000FFFF0000FFFF, 0XFFFF0000FFFF0000, 0XFFFF0000FFFF0000, 0X0000FFFF0000FFFF), - vec256_set4x(0XCC33CC33CC33CC33, 0XCC33CC33CC33CC33, 0XCC33CC33CC33CC33, 0XCC33CC33CC33CC33), - vec256_set4x(0XF00FF00F0FF00FF0, 0X0FF00FF0F00FF00F, 0XF00FF00F0FF00FF0, 0X0FF00FF0F00FF00F), - vec256_set4x(0XFFFFFFFF00000000, 0XFFFFFFFF00000000, 0XFFFFFFFF00000000, 0XFFFFFFFF00000000), - vec256_set4x(0X9696969669696969, 0X9696969669696969, 0X9696969669696969, 0X9696969669696969), - vec256_set4x(0X5A5A5A5A5A5A5A5A, 0X5A5A5A5A5A5A5A5A, 0XA5A5A5A5A5A5A5A5, 0XA5A5A5A5A5A5A5A5), - vec256_set4x(0X5A5A5A5AA5A5A5A5, 0X5A5A5A5AA5A5A5A5, 0XA5A5A5A55A5A5A5A, 0XA5A5A5A55A5A5A5A), - vec256_set4x(0X5555AAAAAAAA5555, 0XAAAA55555555AAAA, 0X5555AAAAAAAA5555, 0XAAAA55555555AAAA), - vec256_set4x(0X0FF00FF00FF00FF0, 0XF00FF00FF00FF00F, 0X0FF00FF00FF00FF0, 0XF00FF00FF00FF00F), - vec256_set4x(0X0F0FF0F00F0FF0F0, 0XF0F00F0FF0F00F0F, 0XF0F00F0FF0F00F0F, 0X0F0FF0F00F0FF0F0) + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X5AA55AA5A55AA55A, 0X5AA55AA5A55AA55A, 0XA55AA55A5AA55AA5, 0XA55AA55A5AA55AA5), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XC33CC33C3CC33CC3, 0X3CC33CC3C33CC33C, 0X3CC33CC3C33CC33C, 0XC33CC33C3CC33CC3), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XA5A55A5AA5A55A5A, 0XA5A55A5AA5A55A5A, 0XA5A55A5AA5A55A5A, 0XA5A55A5AA5A55A5A), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X0000FFFF0000FFFF, 0XFFFF0000FFFF0000, 0XFFFF0000FFFF0000, 0X0000FFFF0000FFFF), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XCC33CC33CC33CC33, 0XCC33CC33CC33CC33, 0XCC33CC33CC33CC33, 0XCC33CC33CC33CC33), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XF00FF00F0FF00FF0, 0X0FF00FF0F00FF00F, 0XF00FF00F0FF00FF0, 0X0FF00FF0F00FF00F), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XFFFFFFFF00000000, 0XFFFFFFFF00000000, 0XFFFFFFFF00000000, 0XFFFFFFFF00000000), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X9696969669696969, 0X9696969669696969, 0X9696969669696969, 0X9696969669696969), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X5A5A5A5A5A5A5A5A, 0X5A5A5A5A5A5A5A5A, 0XA5A5A5A5A5A5A5A5, 0XA5A5A5A5A5A5A5A5), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X5A5A5A5AA5A5A5A5, 0X5A5A5A5AA5A5A5A5, 0XA5A5A5A55A5A5A5A, 0XA5A5A5A55A5A5A5A), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X5555AAAAAAAA5555, 0XAAAA55555555AAAA, 0X5555AAAAAAAA5555, 0XAAAA55555555AAAA), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X0FF00FF00FF00FF0, 0XF00FF00FF00FF00F, 0X0FF00FF00FF00FF0, 0XF00FF00FF00FF00F), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X0F0FF0F00F0FF0F0, 0XF0F00F0FF0F00F0F, 0XF0F00F0FF0F00F0F, 0X0F0FF0F00F0FF0F0) }, { - vec256_set4x(0XA55AA55A5AA55AA5, 0XA55AA55A5AA55AA5, 0X5AA55AA5A55AA55A, 0X5AA55AA5A55AA55A), - vec256_set4x(0XC33CC33C3CC33CC3, 0X3CC33CC3C33CC33C, 0X3CC33CC3C33CC33C, 0XC33CC33C3CC33CC3), - vec256_set4x(0XA5A55A5AA5A55A5A, 0XA5A55A5AA5A55A5A, 0XA5A55A5AA5A55A5A, 0XA5A55A5AA5A55A5A), - vec256_set4x(0XFFFF0000FFFF0000, 0X0000FFFF0000FFFF, 0X0000FFFF0000FFFF, 0XFFFF0000FFFF0000), - vec256_set4x(0X33CC33CC33CC33CC, 0X33CC33CC33CC33CC, 0X33CC33CC33CC33CC, 0X33CC33CC33CC33CC), - vec256_set4x(0XF00FF00F0FF00FF0, 0X0FF00FF0F00FF00F, 0XF00FF00F0FF00FF0, 0X0FF00FF0F00FF00F), - vec256_set4x(0XFFFFFFFF00000000, 0XFFFFFFFF00000000, 0XFFFFFFFF00000000, 0XFFFFFFFF00000000), - vec256_set4x(0X6969696996969696, 0X6969696996969696, 0X6969696996969696, 0X6969696996969696), - vec256_set4x(0X5A5A5A5A5A5A5A5A, 0X5A5A5A5A5A5A5A5A, 0XA5A5A5A5A5A5A5A5, 0XA5A5A5A5A5A5A5A5), - vec256_set4x(0XA5A5A5A55A5A5A5A, 0XA5A5A5A55A5A5A5A, 0X5A5A5A5AA5A5A5A5, 0X5A5A5A5AA5A5A5A5), - vec256_set4x(0X5555AAAAAAAA5555, 0XAAAA55555555AAAA, 0X5555AAAAAAAA5555, 0XAAAA55555555AAAA), - vec256_set4x(0XF00FF00FF00FF00F, 0X0FF00FF00FF00FF0, 0XF00FF00FF00FF00F, 0X0FF00FF00FF00FF0), - vec256_set4x(0X0F0FF0F00F0FF0F0, 0XF0F00F0FF0F00F0F, 0XF0F00F0FF0F00F0F, 0X0F0FF0F00F0FF0F0) + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XA55AA55A5AA55AA5, 0XA55AA55A5AA55AA5, 0X5AA55AA5A55AA55A, 0X5AA55AA5A55AA55A), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XC33CC33C3CC33CC3, 0X3CC33CC3C33CC33C, 0X3CC33CC3C33CC33C, 0XC33CC33C3CC33CC3), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XA5A55A5AA5A55A5A, 0XA5A55A5AA5A55A5A, 0XA5A55A5AA5A55A5A, 0XA5A55A5AA5A55A5A), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XFFFF0000FFFF0000, 0X0000FFFF0000FFFF, 0X0000FFFF0000FFFF, 0XFFFF0000FFFF0000), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X33CC33CC33CC33CC, 0X33CC33CC33CC33CC, 0X33CC33CC33CC33CC, 0X33CC33CC33CC33CC), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XF00FF00F0FF00FF0, 0X0FF00FF0F00FF00F, 0XF00FF00F0FF00FF0, 0X0FF00FF0F00FF00F), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XFFFFFFFF00000000, 0XFFFFFFFF00000000, 0XFFFFFFFF00000000, 0XFFFFFFFF00000000), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X6969696996969696, 0X6969696996969696, 0X6969696996969696, 0X6969696996969696), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X5A5A5A5A5A5A5A5A, 0X5A5A5A5A5A5A5A5A, 0XA5A5A5A5A5A5A5A5, 0XA5A5A5A5A5A5A5A5), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XA5A5A5A55A5A5A5A, 0XA5A5A5A55A5A5A5A, 0X5A5A5A5AA5A5A5A5, 0X5A5A5A5AA5A5A5A5), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X5555AAAAAAAA5555, 0XAAAA55555555AAAA, 0X5555AAAAAAAA5555, 0XAAAA55555555AAAA), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XF00FF00FF00FF00F, 0X0FF00FF00FF00FF0, 0XF00FF00FF00FF00F, 0X0FF00FF00FF00FF0), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X0F0FF0F00F0FF0F0, 0XF0F00F0FF0F00F0F, 0XF0F00F0FF0F00F0F, 0X0F0FF0F00F0FF0F0) } diff --git a/crypto_kem/mceliece8192128f/avx/scalars_4x.inc b/crypto_kem/mceliece8192128f/avx/scalars_4x.inc index dbdbed62..75bbc87c 100644 --- a/crypto_kem/mceliece8192128f/avx/scalars_4x.inc +++ b/crypto_kem/mceliece8192128f/avx/scalars_4x.inc @@ -1,91 +1,91 @@ { - vec256_set4x(0X3C3CF30C0000C003, 0X0C0F0FCF0F0CF330, 0XF0F30C33CF03F03F, 0X3F30CC0C000F3FCC), - vec256_set4x(0X0CCCC3F333C0000C, 0XF0000FC33C3CCF3C, 0X00F30FC00C3300FF, 0XFC3CF030FC3FFF03), - vec256_set4x(0X03C33F33FCC0C03C, 0X3C0F3F00C3C300FC, 0XF3CC3CF3F3FCF33F, 0X33FFFCFF0CCF3CC3), - vec256_set4x(0X0003000F3C03C0C0, 0X3C33CCC0F0F3CC30, 0X3C0FC0FC303C3F3C, 0X003CFF33C3CC30CF), - vec256_set4x(0XF33FF33030CF03F0, 0XC0CFFFFFCCCC30CC, 0XFC30CF303F3FF00F, 0XCFF3CF33C00F3003), - vec256_set4x(0X0CF0303300F0CCC0, 0X3FC3F3CCFFFC033F, 0X33300C0CC3300CF3, 0X00F3CC0CF3003CCF), - vec256_set4x(0XFF3F0C0CC0FF3CC0, 0XFC3030CCCCC0CFCF, 0X3C030CF3F03FF3F3, 0X3C000CFCCC3C3333), - vec256_set4x(0XCF3CF0FF003FC000, 0X0FCF0C00CCF333C3, 0X3CCC03FCCC3FFC03, 0XF3CF03C0FCF03FF0), - vec256_set4x(0XC00FF3CF0303F300, 0XCFFCF33000CFF030, 0X033C3C3CF0003FC3, 0X3F3C3CF0C330330C), - vec256_set4x(0X3CCC0CC00CF0CC00, 0X00CFFCC330F30FCC, 0XFFC0FF00F0FF0F03, 0X33CCFCC0FF0033F0), - vec256_set4x(0XF30FFC3C3FCCFC00, 0X3CCC3FCCC0F3FFF3, 0XF3F30CF003FCC303, 0X33C300C0F0C003F3), - vec256_set4x(0X3F0FC3F0CCF0C000, 0XF00F0C3FC003C0FF, 0X30CFCFC3CC0F3000, 0X003FF0003F00C00C), - vec256_set4x(0X3000FF33CCF0F000, 0X330CCFCC03C0FC33, 0X0CF30CCF3FCFCC0F, 0XCFF3C3033F030FFF) + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X3C3CF30C0000C003, 0X0C0F0FCF0F0CF330, 0XF0F30C33CF03F03F, 0X3F30CC0C000F3FCC), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X0CCCC3F333C0000C, 0XF0000FC33C3CCF3C, 0X00F30FC00C3300FF, 0XFC3CF030FC3FFF03), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X03C33F33FCC0C03C, 0X3C0F3F00C3C300FC, 0XF3CC3CF3F3FCF33F, 0X33FFFCFF0CCF3CC3), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X0003000F3C03C0C0, 0X3C33CCC0F0F3CC30, 0X3C0FC0FC303C3F3C, 0X003CFF33C3CC30CF), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XF33FF33030CF03F0, 0XC0CFFFFFCCCC30CC, 0XFC30CF303F3FF00F, 0XCFF3CF33C00F3003), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X0CF0303300F0CCC0, 0X3FC3F3CCFFFC033F, 0X33300C0CC3300CF3, 0X00F3CC0CF3003CCF), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XFF3F0C0CC0FF3CC0, 0XFC3030CCCCC0CFCF, 0X3C030CF3F03FF3F3, 0X3C000CFCCC3C3333), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XCF3CF0FF003FC000, 0X0FCF0C00CCF333C3, 0X3CCC03FCCC3FFC03, 0XF3CF03C0FCF03FF0), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XC00FF3CF0303F300, 0XCFFCF33000CFF030, 0X033C3C3CF0003FC3, 0X3F3C3CF0C330330C), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X3CCC0CC00CF0CC00, 0X00CFFCC330F30FCC, 0XFFC0FF00F0FF0F03, 0X33CCFCC0FF0033F0), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XF30FFC3C3FCCFC00, 0X3CCC3FCCC0F3FFF3, 0XF3F30CF003FCC303, 0X33C300C0F0C003F3), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X3F0FC3F0CCF0C000, 0XF00F0C3FC003C0FF, 0X30CFCFC3CC0F3000, 0X003FF0003F00C00C), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X3000FF33CCF0F000, 0X330CCFCC03C0FC33, 0X0CF30CCF3FCFCC0F, 0XCFF3C3033F030FFF) }, { - vec256_set4x(0X0F0F0FF0F000000F, 0XF0FFFFFFF0F00F00, 0X0F0F00FF0FF0FFFF, 0XFF0F0F00F000F0FF), - vec256_set4x(0X00FFFFFFFF0000F0, 0X00FFF0FFFF0000FF, 0XF000F0F00F00FF0F, 0X0FFFFFFFFF00000F), - vec256_set4x(0XFFFF00FF00000F00, 0X00FF00000F0F0FFF, 0X000FFFF0FFF0FF0F, 0XF0FFFF000F00F0FF), - vec256_set4x(0XFFF000F00F0FF000, 0XF000F0000F00FF0F, 0X00F00FFF00000FF0, 0X0F0000F00FFF0FFF), - vec256_set4x(0XFFF0000F0FF000F0, 0XFF000000FFF00000, 0XFFFFF0000FFFF00F, 0X0F0F0F00FF0F000F), - vec256_set4x(0X00FF000FFF000000, 0XF0FF000FF00F0FF0, 0XFFF0FFF0000FFFF0, 0X000F0F0FFFF0F000), - vec256_set4x(0XFF0F0FFF0F0FF000, 0X0F0F0F00FF000F0F, 0XF0F0F0000F0F0F00, 0XF0FFFF0F00F0FF0F), - vec256_set4x(0X0FFF0000000F0000, 0X0F0F00F0F0F0F000, 0X00F000F0F00FFF00, 0X0F0F000F0F00F0FF), - vec256_set4x(0X00F000F0FFF00F00, 0X00F00F00F00F000F, 0XF0FF0F0FFF00F0FF, 0X0000F0FF00FF0F0F), - vec256_set4x(0X00F00FF00F00F000, 0X00F0F0F00000FFF0, 0XF0FF0FFFF0F0F0FF, 0X00FFFF0FF0FFF0F0), - vec256_set4x(0XFFF000F000F00000, 0XFFFFFF0FF00F0FFF, 0X00FFFFFFFFFFFFF0, 0X0000000F00F0FFF0), - vec256_set4x(0X00F00F000FF00000, 0X0F0FFFF00FFFFFFF, 0X00FFF0F0FF000F0F, 0XF0F00000FF00F0F0), - vec256_set4x(0X0000FF0F0000F000, 0XFFFF0F0FFF0FFF00, 0X000FFFF0000FFF00, 0X0F0F0FFFFFFFFFFF) + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X0F0F0FF0F000000F, 0XF0FFFFFFF0F00F00, 0X0F0F00FF0FF0FFFF, 0XFF0F0F00F000F0FF), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X00FFFFFFFF0000F0, 0X00FFF0FFFF0000FF, 0XF000F0F00F00FF0F, 0X0FFFFFFFFF00000F), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XFFFF00FF00000F00, 0X00FF00000F0F0FFF, 0X000FFFF0FFF0FF0F, 0XF0FFFF000F00F0FF), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XFFF000F00F0FF000, 0XF000F0000F00FF0F, 0X00F00FFF00000FF0, 0X0F0000F00FFF0FFF), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XFFF0000F0FF000F0, 0XFF000000FFF00000, 0XFFFFF0000FFFF00F, 0X0F0F0F00FF0F000F), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X00FF000FFF000000, 0XF0FF000FF00F0FF0, 0XFFF0FFF0000FFFF0, 0X000F0F0FFFF0F000), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XFF0F0FFF0F0FF000, 0X0F0F0F00FF000F0F, 0XF0F0F0000F0F0F00, 0XF0FFFF0F00F0FF0F), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X0FFF0000000F0000, 0X0F0F00F0F0F0F000, 0X00F000F0F00FFF00, 0X0F0F000F0F00F0FF), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X00F000F0FFF00F00, 0X00F00F00F00F000F, 0XF0FF0F0FFF00F0FF, 0X0000F0FF00FF0F0F), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X00F00FF00F00F000, 0X00F0F0F00000FFF0, 0XF0FF0FFFF0F0F0FF, 0X00FFFF0FF0FFF0F0), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XFFF000F000F00000, 0XFFFFFF0FF00F0FFF, 0X00FFFFFFFFFFFFF0, 0X0000000F00F0FFF0), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X00F00F000FF00000, 0X0F0FFFF00FFFFFFF, 0X00FFF0F0FF000F0F, 0XF0F00000FF00F0F0), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X0000FF0F0000F000, 0XFFFF0F0FFF0FFF00, 0X000FFFF0000FFF00, 0X0F0F0FFFFFFFFFFF) }, { - vec256_set4x(0X00FF0000000000FF, 0X00FF00FF00FF0000, 0XFFFF00FF00FF00FF, 0XFF0000FFFFFF00FF), - vec256_set4x(0XFFFFFFFFFF00FF00, 0XFF00FFFF000000FF, 0X00FFFF000000FF00, 0XFFFF0000FFFFFFFF), - vec256_set4x(0XFF0000FF00FF0000, 0X0000FFFF000000FF, 0XFFFF00FFFFFFFF00, 0XFFFF000000FFFFFF), - vec256_set4x(0XFFFF000000FF0000, 0X00FFFF00FF000000, 0X0000FFFF00FFFFFF, 0X00FFFF00FF0000FF), - vec256_set4x(0XFF00000000FF0000, 0XFFFFFF0000FF00FF, 0X00FF0000FF0000FF, 0XFFFFFF00FFFFFF00), - vec256_set4x(0X00FFFFFFFF000000, 0X0000FFFF00FFFF00, 0XFFFF0000FF00FFFF, 0X00FFFF00FFFF00FF), - vec256_set4x(0XFF0000FFFFFF0000, 0XFF00FF0000FFFF00, 0XFF000000FFFFFF00, 0X0000FFFF00FF0000), - vec256_set4x(0XFF00FF00FFFF0000, 0X00000000FFFFFFFF, 0X000000000000FFFF, 0X000000FFFF000000), - vec256_set4x(0X00FFFFFFFF00FF00, 0X0000FF0000000000, 0XFF00FF00FFFF0000, 0XFF00FF0000FF00FF), - vec256_set4x(0XFFFF000000000000, 0XFF00FFFF00FFFF00, 0XFFFF00FFFF00FFFF, 0X00FF0000000000FF), - vec256_set4x(0X00FF0000FF000000, 0X00FFFF00000000FF, 0XFFFFFFFFFF00FF00, 0XFF00FFFF00FF00FF), - vec256_set4x(0XFF00FF00FF000000, 0X0000FF00FF00FFFF, 0XFFFF00FFFF0000FF, 0XFFFFFFFFFFFFFFFF), - vec256_set4x(0X00FF00FFFF000000, 0XFF0000FFFFFF0000, 0X0000FF00000000FF, 0X0000FF000000FFFF) + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X00FF0000000000FF, 0X00FF00FF00FF0000, 0XFFFF00FF00FF00FF, 0XFF0000FFFFFF00FF), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XFFFFFFFFFF00FF00, 0XFF00FFFF000000FF, 0X00FFFF000000FF00, 0XFFFF0000FFFFFFFF), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XFF0000FF00FF0000, 0X0000FFFF000000FF, 0XFFFF00FFFFFFFF00, 0XFFFF000000FFFFFF), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XFFFF000000FF0000, 0X00FFFF00FF000000, 0X0000FFFF00FFFFFF, 0X00FFFF00FF0000FF), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XFF00000000FF0000, 0XFFFFFF0000FF00FF, 0X00FF0000FF0000FF, 0XFFFFFF00FFFFFF00), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X00FFFFFFFF000000, 0X0000FFFF00FFFF00, 0XFFFF0000FF00FFFF, 0X00FFFF00FFFF00FF), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XFF0000FFFFFF0000, 0XFF00FF0000FFFF00, 0XFF000000FFFFFF00, 0X0000FFFF00FF0000), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XFF00FF00FFFF0000, 0X00000000FFFFFFFF, 0X000000000000FFFF, 0X000000FFFF000000), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X00FFFFFFFF00FF00, 0X0000FF0000000000, 0XFF00FF00FFFF0000, 0XFF00FF0000FF00FF), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XFFFF000000000000, 0XFF00FFFF00FFFF00, 0XFFFF00FFFF00FFFF, 0X00FF0000000000FF), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X00FF0000FF000000, 0X00FFFF00000000FF, 0XFFFFFFFFFF00FF00, 0XFF00FFFF00FF00FF), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XFF00FF00FF000000, 0X0000FF00FF00FFFF, 0XFFFF00FFFF0000FF, 0XFFFFFFFFFFFFFFFF), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X00FF00FFFF000000, 0XFF0000FFFFFF0000, 0X0000FF00000000FF, 0X0000FF000000FFFF) }, { - vec256_set4x(0X000000000000FFFF, 0X0000FFFF00000000, 0XFFFFFFFFFFFFFFFF, 0X0000FFFFFFFFFFFF), - vec256_set4x(0XFFFFFFFFFFFF0000, 0XFFFFFFFF0000FFFF, 0XFFFFFFFF00000000, 0X0000FFFF0000FFFF), - vec256_set4x(0X0000000000000000, 0X00000000FFFFFFFF, 0XFFFF000000000000, 0X0000FFFFFFFF0000), - vec256_set4x(0XFFFF0000FFFF0000, 0X0000000000000000, 0X0000FFFF00000000, 0XFFFF0000FFFFFFFF), - vec256_set4x(0XFFFFFFFFFFFF0000, 0X0000FFFF00000000, 0X00000000FFFF0000, 0X00000000FFFF0000), - vec256_set4x(0X0000FFFF00000000, 0XFFFF0000FFFF0000, 0X0000FFFFFFFFFFFF, 0XFFFF00000000FFFF), - vec256_set4x(0X0000FFFFFFFF0000, 0X0000FFFFFFFF0000, 0X0000FFFFFFFFFFFF, 0X0000FFFF0000FFFF), - vec256_set4x(0XFFFF0000FFFF0000, 0X0000FFFF0000FFFF, 0XFFFFFFFF00000000, 0XFFFF00000000FFFF), - vec256_set4x(0X0000FFFF00000000, 0XFFFFFFFF0000FFFF, 0X000000000000FFFF, 0X0000FFFF0000FFFF), - vec256_set4x(0XFFFF000000000000, 0X00000000FFFF0000, 0X000000000000FFFF, 0X0000FFFF00000000), - vec256_set4x(0XFFFF000000000000, 0XFFFF0000FFFFFFFF, 0XFFFFFFFFFFFF0000, 0XFFFFFFFF00000000), - vec256_set4x(0XFFFF000000000000, 0XFFFF0000FFFFFFFF, 0XFFFFFFFF0000FFFF, 0X0000FFFFFFFF0000), - vec256_set4x(0XFFFFFFFF00000000, 0X0000000000000000, 0XFFFF0000FFFFFFFF, 0X0000FFFFFFFFFFFF) + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X000000000000FFFF, 0X0000FFFF00000000, 0XFFFFFFFFFFFFFFFF, 0X0000FFFFFFFFFFFF), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XFFFFFFFFFFFF0000, 0XFFFFFFFF0000FFFF, 0XFFFFFFFF00000000, 0X0000FFFF0000FFFF), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X0000000000000000, 0X00000000FFFFFFFF, 0XFFFF000000000000, 0X0000FFFFFFFF0000), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XFFFF0000FFFF0000, 0X0000000000000000, 0X0000FFFF00000000, 0XFFFF0000FFFFFFFF), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XFFFFFFFFFFFF0000, 0X0000FFFF00000000, 0X00000000FFFF0000, 0X00000000FFFF0000), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X0000FFFF00000000, 0XFFFF0000FFFF0000, 0X0000FFFFFFFFFFFF, 0XFFFF00000000FFFF), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X0000FFFFFFFF0000, 0X0000FFFFFFFF0000, 0X0000FFFFFFFFFFFF, 0X0000FFFF0000FFFF), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XFFFF0000FFFF0000, 0X0000FFFF0000FFFF, 0XFFFFFFFF00000000, 0XFFFF00000000FFFF), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X0000FFFF00000000, 0XFFFFFFFF0000FFFF, 0X000000000000FFFF, 0X0000FFFF0000FFFF), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XFFFF000000000000, 0X00000000FFFF0000, 0X000000000000FFFF, 0X0000FFFF00000000), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XFFFF000000000000, 0XFFFF0000FFFFFFFF, 0XFFFFFFFFFFFF0000, 0XFFFFFFFF00000000), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XFFFF000000000000, 0XFFFF0000FFFFFFFF, 0XFFFFFFFF0000FFFF, 0X0000FFFFFFFF0000), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XFFFFFFFF00000000, 0X0000000000000000, 0XFFFF0000FFFFFFFF, 0X0000FFFFFFFFFFFF) }, { - vec256_set4x(0X00000000FFFFFFFF, 0X0000000000000000, 0X00000000FFFFFFFF, 0XFFFFFFFFFFFFFFFF), - vec256_set4x(0X0000000000000000, 0XFFFFFFFFFFFFFFFF, 0XFFFFFFFF00000000, 0X00000000FFFFFFFF), - vec256_set4x(0XFFFFFFFF00000000, 0X0000000000000000, 0XFFFFFFFF00000000, 0X0000000000000000), - vec256_set4x(0X0000000000000000, 0X0000000000000000, 0X0000000000000000, 0X0000000000000000), - vec256_set4x(0XFFFFFFFF00000000, 0X00000000FFFFFFFF, 0XFFFFFFFFFFFFFFFF, 0XFFFFFFFFFFFFFFFF), - vec256_set4x(0XFFFFFFFF00000000, 0XFFFFFFFF00000000, 0XFFFFFFFFFFFFFFFF, 0X0000000000000000), - vec256_set4x(0XFFFFFFFF00000000, 0X0000000000000000, 0XFFFFFFFFFFFFFFFF, 0XFFFFFFFF00000000), - vec256_set4x(0X0000000000000000, 0XFFFFFFFFFFFFFFFF, 0X0000000000000000, 0X00000000FFFFFFFF), - vec256_set4x(0XFFFFFFFF00000000, 0X00000000FFFFFFFF, 0XFFFFFFFF00000000, 0XFFFFFFFF00000000), - vec256_set4x(0X0000000000000000, 0XFFFFFFFF00000000, 0X00000000FFFFFFFF, 0X0000000000000000), - vec256_set4x(0X0000000000000000, 0XFFFFFFFFFFFFFFFF, 0X0000000000000000, 0XFFFFFFFFFFFFFFFF), - vec256_set4x(0X0000000000000000, 0XFFFFFFFFFFFFFFFF, 0XFFFFFFFFFFFFFFFF, 0XFFFFFFFF00000000), - vec256_set4x(0XFFFFFFFF00000000, 0XFFFFFFFF00000000, 0XFFFFFFFFFFFFFFFF, 0XFFFFFFFF00000000) + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X00000000FFFFFFFF, 0X0000000000000000, 0X00000000FFFFFFFF, 0XFFFFFFFFFFFFFFFF), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X0000000000000000, 0XFFFFFFFFFFFFFFFF, 0XFFFFFFFF00000000, 0X00000000FFFFFFFF), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XFFFFFFFF00000000, 0X0000000000000000, 0XFFFFFFFF00000000, 0X0000000000000000), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X0000000000000000, 0X0000000000000000, 0X0000000000000000, 0X0000000000000000), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XFFFFFFFF00000000, 0X00000000FFFFFFFF, 0XFFFFFFFFFFFFFFFF, 0XFFFFFFFFFFFFFFFF), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XFFFFFFFF00000000, 0XFFFFFFFF00000000, 0XFFFFFFFFFFFFFFFF, 0X0000000000000000), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XFFFFFFFF00000000, 0X0000000000000000, 0XFFFFFFFFFFFFFFFF, 0XFFFFFFFF00000000), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X0000000000000000, 0XFFFFFFFFFFFFFFFF, 0X0000000000000000, 0X00000000FFFFFFFF), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XFFFFFFFF00000000, 0X00000000FFFFFFFF, 0XFFFFFFFF00000000, 0XFFFFFFFF00000000), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X0000000000000000, 0XFFFFFFFF00000000, 0X00000000FFFFFFFF, 0X0000000000000000), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X0000000000000000, 0XFFFFFFFFFFFFFFFF, 0X0000000000000000, 0XFFFFFFFFFFFFFFFF), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X0000000000000000, 0XFFFFFFFFFFFFFFFF, 0XFFFFFFFFFFFFFFFF, 0XFFFFFFFF00000000), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XFFFFFFFF00000000, 0XFFFFFFFF00000000, 0XFFFFFFFFFFFFFFFF, 0XFFFFFFFF00000000) }, { - vec256_set4x(0XFFFFFFFFFFFFFFFF, 0X0000000000000000, 0XFFFFFFFFFFFFFFFF, 0X0000000000000000), - vec256_set4x(0X0000000000000000, 0X0000000000000000, 0X0000000000000000, 0XFFFFFFFFFFFFFFFF), - vec256_set4x(0X0000000000000000, 0XFFFFFFFFFFFFFFFF, 0XFFFFFFFFFFFFFFFF, 0X0000000000000000), - vec256_set4x(0X0000000000000000, 0X0000000000000000, 0X0000000000000000, 0X0000000000000000), - vec256_set4x(0X0000000000000000, 0XFFFFFFFFFFFFFFFF, 0X0000000000000000, 0XFFFFFFFFFFFFFFFF), - vec256_set4x(0X0000000000000000, 0X0000000000000000, 0XFFFFFFFFFFFFFFFF, 0X0000000000000000), - vec256_set4x(0X0000000000000000, 0X0000000000000000, 0XFFFFFFFFFFFFFFFF, 0XFFFFFFFFFFFFFFFF), - vec256_set4x(0X0000000000000000, 0XFFFFFFFFFFFFFFFF, 0X0000000000000000, 0XFFFFFFFFFFFFFFFF), - vec256_set4x(0X0000000000000000, 0XFFFFFFFFFFFFFFFF, 0X0000000000000000, 0X0000000000000000), - vec256_set4x(0X0000000000000000, 0X0000000000000000, 0XFFFFFFFFFFFFFFFF, 0XFFFFFFFFFFFFFFFF), - vec256_set4x(0X0000000000000000, 0XFFFFFFFFFFFFFFFF, 0X0000000000000000, 0XFFFFFFFFFFFFFFFF), - vec256_set4x(0X0000000000000000, 0XFFFFFFFFFFFFFFFF, 0XFFFFFFFFFFFFFFFF, 0X0000000000000000), - vec256_set4x(0X0000000000000000, 0X0000000000000000, 0XFFFFFFFFFFFFFFFF, 0XFFFFFFFFFFFFFFFF) + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0XFFFFFFFFFFFFFFFF, 0X0000000000000000, 0XFFFFFFFFFFFFFFFF, 0X0000000000000000), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X0000000000000000, 0X0000000000000000, 0X0000000000000000, 0XFFFFFFFFFFFFFFFF), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X0000000000000000, 0XFFFFFFFFFFFFFFFF, 0XFFFFFFFFFFFFFFFF, 0X0000000000000000), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X0000000000000000, 0X0000000000000000, 0X0000000000000000, 0X0000000000000000), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X0000000000000000, 0XFFFFFFFFFFFFFFFF, 0X0000000000000000, 0XFFFFFFFFFFFFFFFF), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X0000000000000000, 0X0000000000000000, 0XFFFFFFFFFFFFFFFF, 0X0000000000000000), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X0000000000000000, 0X0000000000000000, 0XFFFFFFFFFFFFFFFF, 0XFFFFFFFFFFFFFFFF), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X0000000000000000, 0XFFFFFFFFFFFFFFFF, 0X0000000000000000, 0XFFFFFFFFFFFFFFFF), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X0000000000000000, 0XFFFFFFFFFFFFFFFF, 0X0000000000000000, 0X0000000000000000), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X0000000000000000, 0X0000000000000000, 0XFFFFFFFFFFFFFFFF, 0XFFFFFFFFFFFFFFFF), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X0000000000000000, 0XFFFFFFFFFFFFFFFF, 0X0000000000000000, 0XFFFFFFFFFFFFFFFF), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X0000000000000000, 0XFFFFFFFFFFFFFFFF, 0XFFFFFFFFFFFFFFFF, 0X0000000000000000), + PQCLEAN_MCELIECE8192128F_AVX_vec256_set4x(0X0000000000000000, 0X0000000000000000, 0XFFFFFFFFFFFFFFFF, 0XFFFFFFFFFFFFFFFF) }