1
1
mirror of https://github.com/henrydcase/pqc.git synced 2024-11-22 23:48:58 +00:00

NTRU Prime: jump directly to crypto_sort_smallindices

This commit is contained in:
John M. Schanck 2020-09-02 13:37:23 -04:00
parent 75710108fb
commit 4f6e00ed69
24 changed files with 12 additions and 504 deletions

View File

@ -15,7 +15,7 @@
} while(0) } while(0)
/* assume 2 <= n <= 0x40000000 */ /* assume 2 <= n <= 0x40000000 */
static void crypto_sort_smallindices(int32 *x, int32 n) { void PQCLEAN_NTRULPR653_CLEAN_crypto_sort_int32(int32_t *x, long long n) {
int32 top, p, q, r, i, j; int32 top, p, q, r, i, j;
top = 1; top = 1;
@ -81,78 +81,3 @@ done:
} }
} }
} }
void PQCLEAN_NTRULPR653_CLEAN_crypto_sort_int32(void *array, long long n) {
long long top, p, q, r, i, j;
int32 *x = array;
if (n < 2) {
return;
}
if (n < 0x40000000) {
crypto_sort_smallindices(x, n);
return;
}
top = 1;
while (top < n - top) {
top += top;
}
for (p = top; p >= 1; p >>= 1) {
i = 0;
while (i + 2 * p <= n) {
for (j = i; j < i + p; ++j) {
int32_MINMAX(x[j], x[j + p]);
}
i += 2 * p;
}
for (j = i; j < n - p; ++j) {
int32_MINMAX(x[j], x[j + p]);
}
i = 0;
j = 0;
for (q = top; q > p; q >>= 1) {
if (j != i) {
for (;;) {
if (j == n - q) {
goto done;
}
int32 a = x[j + p];
for (r = q; r > p; r >>= 1) {
int32_MINMAX(a, x[j + r]);
}
x[j + p] = a;
++j;
if (j == i + p) {
i += 2 * p;
break;
}
}
}
while (i + p <= n - q) {
for (j = i; j < i + p; ++j) {
int32 a = x[j + p];
for (r = q; r > p; r >>= 1) {
int32_MINMAX(a, x[j + r]);
}
x[j + p] = a;
}
i += 2 * p;
}
/* now i + p > n - q */
j = i;
while (j < n - q) {
int32 a = x[j + p];
for (r = q; r > p; r >>= 1) {
int32_MINMAX(a, x[j + r]);
}
x[j + p] = a;
++j;
}
done:
;
}
}
}

View File

@ -4,5 +4,5 @@
#include <stdint.h> #include <stdint.h>
#define PQCLEAN_NTRULPR653_CLEAN_crypto_sort_int32_BYTES 4 #define PQCLEAN_NTRULPR653_CLEAN_crypto_sort_int32_BYTES 4
void PQCLEAN_NTRULPR653_CLEAN_crypto_sort_int32(void *array, long long n); void PQCLEAN_NTRULPR653_CLEAN_crypto_sort_int32(int32_t *x, long long n);
#endif #endif

View File

@ -15,7 +15,7 @@
} while(0) } while(0)
/* assume 2 <= n <= 0x40000000 */ /* assume 2 <= n <= 0x40000000 */
static void crypto_sort_smallindices(int32 *x, int32 n) { void PQCLEAN_NTRULPR761_CLEAN_crypto_sort_int32(int32_t *x, long long n) {
int32 top, p, q, r, i, j; int32 top, p, q, r, i, j;
top = 1; top = 1;
@ -81,78 +81,3 @@ done:
} }
} }
} }
void PQCLEAN_NTRULPR761_CLEAN_crypto_sort_int32(void *array, long long n) {
long long top, p, q, r, i, j;
int32 *x = array;
if (n < 2) {
return;
}
if (n < 0x40000000) {
crypto_sort_smallindices(x, n);
return;
}
top = 1;
while (top < n - top) {
top += top;
}
for (p = top; p >= 1; p >>= 1) {
i = 0;
while (i + 2 * p <= n) {
for (j = i; j < i + p; ++j) {
int32_MINMAX(x[j], x[j + p]);
}
i += 2 * p;
}
for (j = i; j < n - p; ++j) {
int32_MINMAX(x[j], x[j + p]);
}
i = 0;
j = 0;
for (q = top; q > p; q >>= 1) {
if (j != i) {
for (;;) {
if (j == n - q) {
goto done;
}
int32 a = x[j + p];
for (r = q; r > p; r >>= 1) {
int32_MINMAX(a, x[j + r]);
}
x[j + p] = a;
++j;
if (j == i + p) {
i += 2 * p;
break;
}
}
}
while (i + p <= n - q) {
for (j = i; j < i + p; ++j) {
int32 a = x[j + p];
for (r = q; r > p; r >>= 1) {
int32_MINMAX(a, x[j + r]);
}
x[j + p] = a;
}
i += 2 * p;
}
/* now i + p > n - q */
j = i;
while (j < n - q) {
int32 a = x[j + p];
for (r = q; r > p; r >>= 1) {
int32_MINMAX(a, x[j + r]);
}
x[j + p] = a;
++j;
}
done:
;
}
}
}

View File

@ -4,5 +4,5 @@
#include <stdint.h> #include <stdint.h>
#define PQCLEAN_NTRULPR761_CLEAN_crypto_sort_int32_BYTES 4 #define PQCLEAN_NTRULPR761_CLEAN_crypto_sort_int32_BYTES 4
void PQCLEAN_NTRULPR761_CLEAN_crypto_sort_int32(void *array, long long n); void PQCLEAN_NTRULPR761_CLEAN_crypto_sort_int32(int32_t *x, long long n);
#endif #endif

View File

@ -15,7 +15,7 @@
} while(0) } while(0)
/* assume 2 <= n <= 0x40000000 */ /* assume 2 <= n <= 0x40000000 */
static void crypto_sort_smallindices(int32 *x, int32 n) { void PQCLEAN_NTRULPR857_CLEAN_crypto_sort_int32(int32_t *x, long long n) {
int32 top, p, q, r, i, j; int32 top, p, q, r, i, j;
top = 1; top = 1;
@ -81,78 +81,3 @@ done:
} }
} }
} }
void PQCLEAN_NTRULPR857_CLEAN_crypto_sort_int32(void *array, long long n) {
long long top, p, q, r, i, j;
int32 *x = array;
if (n < 2) {
return;
}
if (n < 0x40000000) {
crypto_sort_smallindices(x, n);
return;
}
top = 1;
while (top < n - top) {
top += top;
}
for (p = top; p >= 1; p >>= 1) {
i = 0;
while (i + 2 * p <= n) {
for (j = i; j < i + p; ++j) {
int32_MINMAX(x[j], x[j + p]);
}
i += 2 * p;
}
for (j = i; j < n - p; ++j) {
int32_MINMAX(x[j], x[j + p]);
}
i = 0;
j = 0;
for (q = top; q > p; q >>= 1) {
if (j != i) {
for (;;) {
if (j == n - q) {
goto done;
}
int32 a = x[j + p];
for (r = q; r > p; r >>= 1) {
int32_MINMAX(a, x[j + r]);
}
x[j + p] = a;
++j;
if (j == i + p) {
i += 2 * p;
break;
}
}
}
while (i + p <= n - q) {
for (j = i; j < i + p; ++j) {
int32 a = x[j + p];
for (r = q; r > p; r >>= 1) {
int32_MINMAX(a, x[j + r]);
}
x[j + p] = a;
}
i += 2 * p;
}
/* now i + p > n - q */
j = i;
while (j < n - q) {
int32 a = x[j + p];
for (r = q; r > p; r >>= 1) {
int32_MINMAX(a, x[j + r]);
}
x[j + p] = a;
++j;
}
done:
;
}
}
}

View File

@ -4,5 +4,5 @@
#include <stdint.h> #include <stdint.h>
#define PQCLEAN_NTRULPR857_CLEAN_crypto_sort_int32_BYTES 4 #define PQCLEAN_NTRULPR857_CLEAN_crypto_sort_int32_BYTES 4
void PQCLEAN_NTRULPR857_CLEAN_crypto_sort_int32(void *array, long long n); void PQCLEAN_NTRULPR857_CLEAN_crypto_sort_int32(int32_t *x, long long n);
#endif #endif

View File

@ -15,7 +15,7 @@
} while(0) } while(0)
/* assume 2 <= n <= 0x40000000 */ /* assume 2 <= n <= 0x40000000 */
static void crypto_sort_smallindices(int32 *x, int32 n) { void PQCLEAN_SNTRUP653_CLEAN_crypto_sort_int32(int32_t *x, long long n) {
int32 top, p, q, r, i, j; int32 top, p, q, r, i, j;
top = 1; top = 1;
@ -81,78 +81,3 @@ done:
} }
} }
} }
void PQCLEAN_SNTRUP653_CLEAN_crypto_sort_int32(void *array, long long n) {
long long top, p, q, r, i, j;
int32 *x = array;
if (n < 2) {
return;
}
if (n < 0x40000000) {
crypto_sort_smallindices(x, n);
return;
}
top = 1;
while (top < n - top) {
top += top;
}
for (p = top; p >= 1; p >>= 1) {
i = 0;
while (i + 2 * p <= n) {
for (j = i; j < i + p; ++j) {
int32_MINMAX(x[j], x[j + p]);
}
i += 2 * p;
}
for (j = i; j < n - p; ++j) {
int32_MINMAX(x[j], x[j + p]);
}
i = 0;
j = 0;
for (q = top; q > p; q >>= 1) {
if (j != i) {
for (;;) {
if (j == n - q) {
goto done;
}
int32 a = x[j + p];
for (r = q; r > p; r >>= 1) {
int32_MINMAX(a, x[j + r]);
}
x[j + p] = a;
++j;
if (j == i + p) {
i += 2 * p;
break;
}
}
}
while (i + p <= n - q) {
for (j = i; j < i + p; ++j) {
int32 a = x[j + p];
for (r = q; r > p; r >>= 1) {
int32_MINMAX(a, x[j + r]);
}
x[j + p] = a;
}
i += 2 * p;
}
/* now i + p > n - q */
j = i;
while (j < n - q) {
int32 a = x[j + p];
for (r = q; r > p; r >>= 1) {
int32_MINMAX(a, x[j + r]);
}
x[j + p] = a;
++j;
}
done:
;
}
}
}

View File

@ -4,5 +4,5 @@
#include <stdint.h> #include <stdint.h>
#define PQCLEAN_SNTRUP653_CLEAN_crypto_sort_int32_BYTES 4 #define PQCLEAN_SNTRUP653_CLEAN_crypto_sort_int32_BYTES 4
void PQCLEAN_SNTRUP653_CLEAN_crypto_sort_int32(void *array, long long n); void PQCLEAN_SNTRUP653_CLEAN_crypto_sort_int32(int32_t *x, long long n);
#endif #endif

View File

@ -15,7 +15,7 @@
} while(0) } while(0)
/* assume 2 <= n <= 0x40000000 */ /* assume 2 <= n <= 0x40000000 */
static void crypto_sort_smallindices(int32 *x, int32 n) { void PQCLEAN_SNTRUP761_CLEAN_crypto_sort_int32(int32_t *x, long long n) {
int32 top, p, q, r, i, j; int32 top, p, q, r, i, j;
top = 1; top = 1;
@ -81,78 +81,3 @@ done:
} }
} }
} }
void PQCLEAN_SNTRUP761_CLEAN_crypto_sort_int32(void *array, long long n) {
long long top, p, q, r, i, j;
int32 *x = array;
if (n < 2) {
return;
}
if (n < 0x40000000) {
crypto_sort_smallindices(x, n);
return;
}
top = 1;
while (top < n - top) {
top += top;
}
for (p = top; p >= 1; p >>= 1) {
i = 0;
while (i + 2 * p <= n) {
for (j = i; j < i + p; ++j) {
int32_MINMAX(x[j], x[j + p]);
}
i += 2 * p;
}
for (j = i; j < n - p; ++j) {
int32_MINMAX(x[j], x[j + p]);
}
i = 0;
j = 0;
for (q = top; q > p; q >>= 1) {
if (j != i) {
for (;;) {
if (j == n - q) {
goto done;
}
int32 a = x[j + p];
for (r = q; r > p; r >>= 1) {
int32_MINMAX(a, x[j + r]);
}
x[j + p] = a;
++j;
if (j == i + p) {
i += 2 * p;
break;
}
}
}
while (i + p <= n - q) {
for (j = i; j < i + p; ++j) {
int32 a = x[j + p];
for (r = q; r > p; r >>= 1) {
int32_MINMAX(a, x[j + r]);
}
x[j + p] = a;
}
i += 2 * p;
}
/* now i + p > n - q */
j = i;
while (j < n - q) {
int32 a = x[j + p];
for (r = q; r > p; r >>= 1) {
int32_MINMAX(a, x[j + r]);
}
x[j + p] = a;
++j;
}
done:
;
}
}
}

View File

@ -4,5 +4,5 @@
#include <stdint.h> #include <stdint.h>
#define PQCLEAN_SNTRUP761_CLEAN_crypto_sort_int32_BYTES 4 #define PQCLEAN_SNTRUP761_CLEAN_crypto_sort_int32_BYTES 4
void PQCLEAN_SNTRUP761_CLEAN_crypto_sort_int32(void *array, long long n); void PQCLEAN_SNTRUP761_CLEAN_crypto_sort_int32(int32_t *x, long long n);
#endif #endif

View File

@ -15,7 +15,7 @@
} while(0) } while(0)
/* assume 2 <= n <= 0x40000000 */ /* assume 2 <= n <= 0x40000000 */
static void crypto_sort_smallindices(int32 *x, int32 n) { void PQCLEAN_SNTRUP857_CLEAN_crypto_sort_int32(int32_t *x, long long n) {
int32 top, p, q, r, i, j; int32 top, p, q, r, i, j;
top = 1; top = 1;
@ -81,78 +81,3 @@ done:
} }
} }
} }
void PQCLEAN_SNTRUP857_CLEAN_crypto_sort_int32(void *array, long long n) {
long long top, p, q, r, i, j;
int32 *x = array;
if (n < 2) {
return;
}
if (n < 0x40000000) {
crypto_sort_smallindices(x, n);
return;
}
top = 1;
while (top < n - top) {
top += top;
}
for (p = top; p >= 1; p >>= 1) {
i = 0;
while (i + 2 * p <= n) {
for (j = i; j < i + p; ++j) {
int32_MINMAX(x[j], x[j + p]);
}
i += 2 * p;
}
for (j = i; j < n - p; ++j) {
int32_MINMAX(x[j], x[j + p]);
}
i = 0;
j = 0;
for (q = top; q > p; q >>= 1) {
if (j != i) {
for (;;) {
if (j == n - q) {
goto done;
}
int32 a = x[j + p];
for (r = q; r > p; r >>= 1) {
int32_MINMAX(a, x[j + r]);
}
x[j + p] = a;
++j;
if (j == i + p) {
i += 2 * p;
break;
}
}
}
while (i + p <= n - q) {
for (j = i; j < i + p; ++j) {
int32 a = x[j + p];
for (r = q; r > p; r >>= 1) {
int32_MINMAX(a, x[j + r]);
}
x[j + p] = a;
}
i += 2 * p;
}
/* now i + p > n - q */
j = i;
while (j < n - q) {
int32 a = x[j + p];
for (r = q; r > p; r >>= 1) {
int32_MINMAX(a, x[j + r]);
}
x[j + p] = a;
++j;
}
done:
;
}
}
}

View File

@ -4,5 +4,5 @@
#include <stdint.h> #include <stdint.h>
#define PQCLEAN_SNTRUP857_CLEAN_crypto_sort_int32_BYTES 4 #define PQCLEAN_SNTRUP857_CLEAN_crypto_sort_int32_BYTES 4
void PQCLEAN_SNTRUP857_CLEAN_crypto_sort_int32(void *array, long long n); void PQCLEAN_SNTRUP857_CLEAN_crypto_sort_int32(int32_t *x, long long n);
#endif #endif

View File

@ -12,7 +12,6 @@ consistency_checks:
- crypto_encode_653x1541round.h - crypto_encode_653x1541round.h
- crypto_encode_653x3.h - crypto_encode_653x3.h
- crypto_encode_653xint16.h - crypto_encode_653xint16.h
- crypto_sort_int32.h
- crypto_sort_uint32.h - crypto_sort_uint32.h
- crypto_stream_aes256ctr.h - crypto_stream_aes256ctr.h
- crypto_decode_653xint16.c - crypto_decode_653xint16.c
@ -54,7 +53,6 @@ consistency_checks:
scheme: sntrup761 scheme: sntrup761
implementation: clean implementation: clean
files: files:
- crypto_sort_int32.h
- crypto_sort_uint32.h - crypto_sort_uint32.h
- crypto_stream_aes256ctr.h - crypto_stream_aes256ctr.h
- crypto_sort_uint32.c - crypto_sort_uint32.c
@ -73,7 +71,6 @@ consistency_checks:
scheme: sntrup857 scheme: sntrup857
implementation: clean implementation: clean
files: files:
- crypto_sort_int32.h
- crypto_sort_uint32.h - crypto_sort_uint32.h
- crypto_stream_aes256ctr.h - crypto_stream_aes256ctr.h
- crypto_sort_uint32.c - crypto_sort_uint32.c
@ -106,7 +103,6 @@ consistency_checks:
- crypto_encode_653x1541round.h - crypto_encode_653x1541round.h
- crypto_encode_653x3.h - crypto_encode_653x3.h
- crypto_encode_653xint16.h - crypto_encode_653xint16.h
- crypto_sort_int32.h
- crypto_sort_uint32.h - crypto_sort_uint32.h
- crypto_stream_aes256ctr.h - crypto_stream_aes256ctr.h
- crypto_verify_1025.h - crypto_verify_1025.h
@ -126,7 +122,6 @@ consistency_checks:
- crypto_decode_256x2.h - crypto_decode_256x2.h
- crypto_encode_256x16.h - crypto_encode_256x16.h
- crypto_encode_256x2.h - crypto_encode_256x2.h
- crypto_sort_int32.h
- crypto_sort_uint32.h - crypto_sort_uint32.h
- crypto_stream_aes256ctr.h - crypto_stream_aes256ctr.h
- crypto_decode_256x16.c - crypto_decode_256x16.c
@ -161,7 +156,6 @@ consistency_checks:
- crypto_decode_256x2.h - crypto_decode_256x2.h
- crypto_encode_256x16.h - crypto_encode_256x16.h
- crypto_encode_256x2.h - crypto_encode_256x2.h
- crypto_sort_int32.h
- crypto_sort_uint32.h - crypto_sort_uint32.h
- crypto_stream_aes256ctr.h - crypto_stream_aes256ctr.h
- crypto_decode_256x16.c - crypto_decode_256x16.c

View File

@ -40,7 +40,6 @@ consistency_checks:
- crypto_encode_653x1541round.h - crypto_encode_653x1541round.h
- crypto_encode_653x3.h - crypto_encode_653x3.h
- crypto_encode_653xint16.h - crypto_encode_653xint16.h
- crypto_sort_int32.h
- crypto_sort_uint32.h - crypto_sort_uint32.h
- crypto_stream_aes256ctr.h - crypto_stream_aes256ctr.h
- crypto_decode_653xint16.c - crypto_decode_653xint16.c
@ -62,7 +61,6 @@ consistency_checks:
scheme: sntrup761 scheme: sntrup761
implementation: avx2 implementation: avx2
files: files:
- crypto_sort_int32.h
- crypto_sort_uint32.h - crypto_sort_uint32.h
- crypto_stream_aes256ctr.h - crypto_stream_aes256ctr.h
- crypto_sort_uint32.c - crypto_sort_uint32.c
@ -81,7 +79,6 @@ consistency_checks:
scheme: sntrup857 scheme: sntrup857
implementation: avx2 implementation: avx2
files: files:
- crypto_sort_int32.h
- crypto_sort_uint32.h - crypto_sort_uint32.h
- crypto_stream_aes256ctr.h - crypto_stream_aes256ctr.h
- crypto_sort_uint32.c - crypto_sort_uint32.c
@ -104,7 +101,6 @@ consistency_checks:
- crypto_encode_653x1541round.h - crypto_encode_653x1541round.h
- crypto_encode_653x3.h - crypto_encode_653x3.h
- crypto_encode_653xint16.h - crypto_encode_653xint16.h
- crypto_sort_int32.h
- crypto_sort_uint32.h - crypto_sort_uint32.h
- crypto_stream_aes256ctr.h - crypto_stream_aes256ctr.h
- crypto_verify_1025.h - crypto_verify_1025.h
@ -143,7 +139,6 @@ consistency_checks:
- crypto_decode_256x2.h - crypto_decode_256x2.h
- crypto_encode_256x16.h - crypto_encode_256x16.h
- crypto_encode_256x2.h - crypto_encode_256x2.h
- crypto_sort_int32.h
- crypto_sort_uint32.h - crypto_sort_uint32.h
- crypto_stream_aes256ctr.h - crypto_stream_aes256ctr.h
- crypto_decode_256x16.c - crypto_decode_256x16.c
@ -178,7 +173,6 @@ consistency_checks:
- crypto_decode_256x2.h - crypto_decode_256x2.h
- crypto_encode_256x16.h - crypto_encode_256x16.h
- crypto_encode_256x2.h - crypto_encode_256x2.h
- crypto_sort_int32.h
- crypto_sort_uint32.h - crypto_sort_uint32.h
- crypto_stream_aes256ctr.h - crypto_stream_aes256ctr.h
- crypto_decode_256x16.c - crypto_decode_256x16.c

View File

@ -3,7 +3,6 @@ consistency_checks:
scheme: sntrup653 scheme: sntrup653
implementation: clean implementation: clean
files: files:
- crypto_sort_int32.h
- crypto_sort_uint32.h - crypto_sort_uint32.h
- crypto_stream_aes256ctr.h - crypto_stream_aes256ctr.h
- crypto_sort_uint32.c - crypto_sort_uint32.c
@ -31,7 +30,6 @@ consistency_checks:
- crypto_encode_761x1531round.h - crypto_encode_761x1531round.h
- crypto_encode_761x3.h - crypto_encode_761x3.h
- crypto_encode_761xint16.h - crypto_encode_761xint16.h
- crypto_sort_int32.h
- crypto_sort_uint32.h - crypto_sort_uint32.h
- crypto_stream_aes256ctr.h - crypto_stream_aes256ctr.h
- crypto_decode_761xint16.c - crypto_decode_761xint16.c
@ -73,7 +71,6 @@ consistency_checks:
scheme: sntrup857 scheme: sntrup857
implementation: clean implementation: clean
files: files:
- crypto_sort_int32.h
- crypto_sort_uint32.h - crypto_sort_uint32.h
- crypto_stream_aes256ctr.h - crypto_stream_aes256ctr.h
- crypto_sort_uint32.c - crypto_sort_uint32.c
@ -106,7 +103,6 @@ consistency_checks:
- crypto_encode_761x1531round.h - crypto_encode_761x1531round.h
- crypto_encode_761x3.h - crypto_encode_761x3.h
- crypto_encode_761xint16.h - crypto_encode_761xint16.h
- crypto_sort_int32.h
- crypto_sort_uint32.h - crypto_sort_uint32.h
- crypto_stream_aes256ctr.h - crypto_stream_aes256ctr.h
- crypto_verify_1167.h - crypto_verify_1167.h
@ -126,7 +122,6 @@ consistency_checks:
- crypto_decode_256x2.h - crypto_decode_256x2.h
- crypto_encode_256x16.h - crypto_encode_256x16.h
- crypto_encode_256x2.h - crypto_encode_256x2.h
- crypto_sort_int32.h
- crypto_sort_uint32.h - crypto_sort_uint32.h
- crypto_stream_aes256ctr.h - crypto_stream_aes256ctr.h
- crypto_decode_256x16.c - crypto_decode_256x16.c

View File

@ -13,7 +13,6 @@ consistency_checks:
scheme: sntrup653 scheme: sntrup653
implementation: avx2 implementation: avx2
files: files:
- crypto_sort_int32.h
- crypto_sort_uint32.h - crypto_sort_uint32.h
- crypto_stream_aes256ctr.h - crypto_stream_aes256ctr.h
- crypto_sort_uint32.c - crypto_sort_uint32.c
@ -59,7 +58,6 @@ consistency_checks:
- crypto_encode_761x1531round.h - crypto_encode_761x1531round.h
- crypto_encode_761x3.h - crypto_encode_761x3.h
- crypto_encode_761xint16.h - crypto_encode_761xint16.h
- crypto_sort_int32.h
- crypto_sort_uint32.h - crypto_sort_uint32.h
- crypto_stream_aes256ctr.h - crypto_stream_aes256ctr.h
- crypto_decode_761xint16.c - crypto_decode_761xint16.c
@ -81,7 +79,6 @@ consistency_checks:
scheme: sntrup857 scheme: sntrup857
implementation: avx2 implementation: avx2
files: files:
- crypto_sort_int32.h
- crypto_sort_uint32.h - crypto_sort_uint32.h
- crypto_stream_aes256ctr.h - crypto_stream_aes256ctr.h
- crypto_sort_uint32.c - crypto_sort_uint32.c
@ -104,7 +101,6 @@ consistency_checks:
- crypto_encode_761x1531round.h - crypto_encode_761x1531round.h
- crypto_encode_761x3.h - crypto_encode_761x3.h
- crypto_encode_761xint16.h - crypto_encode_761xint16.h
- crypto_sort_int32.h
- crypto_sort_uint32.h - crypto_sort_uint32.h
- crypto_stream_aes256ctr.h - crypto_stream_aes256ctr.h
- crypto_verify_1167.h - crypto_verify_1167.h
@ -143,7 +139,6 @@ consistency_checks:
- crypto_decode_256x2.h - crypto_decode_256x2.h
- crypto_encode_256x16.h - crypto_encode_256x16.h
- crypto_encode_256x2.h - crypto_encode_256x2.h
- crypto_sort_int32.h
- crypto_sort_uint32.h - crypto_sort_uint32.h
- crypto_stream_aes256ctr.h - crypto_stream_aes256ctr.h
- crypto_decode_256x16.c - crypto_decode_256x16.c

View File

@ -3,7 +3,6 @@ consistency_checks:
scheme: sntrup653 scheme: sntrup653
implementation: clean implementation: clean
files: files:
- crypto_sort_int32.h
- crypto_sort_uint32.h - crypto_sort_uint32.h
- crypto_stream_aes256ctr.h - crypto_stream_aes256ctr.h
- crypto_sort_uint32.c - crypto_sort_uint32.c
@ -22,7 +21,6 @@ consistency_checks:
scheme: sntrup761 scheme: sntrup761
implementation: clean implementation: clean
files: files:
- crypto_sort_int32.h
- crypto_sort_uint32.h - crypto_sort_uint32.h
- crypto_stream_aes256ctr.h - crypto_stream_aes256ctr.h
- crypto_sort_uint32.c - crypto_sort_uint32.c
@ -50,7 +48,6 @@ consistency_checks:
- crypto_encode_857x1723round.h - crypto_encode_857x1723round.h
- crypto_encode_857x3.h - crypto_encode_857x3.h
- crypto_encode_857xint16.h - crypto_encode_857xint16.h
- crypto_sort_int32.h
- crypto_sort_uint32.h - crypto_sort_uint32.h
- crypto_stream_aes256ctr.h - crypto_stream_aes256ctr.h
- crypto_decode_857xint16.c - crypto_decode_857xint16.c
@ -106,7 +103,6 @@ consistency_checks:
- crypto_encode_857x1723round.h - crypto_encode_857x1723round.h
- crypto_encode_857x3.h - crypto_encode_857x3.h
- crypto_encode_857xint16.h - crypto_encode_857xint16.h
- crypto_sort_int32.h
- crypto_sort_uint32.h - crypto_sort_uint32.h
- crypto_stream_aes256ctr.h - crypto_stream_aes256ctr.h
- crypto_verify_1312.h - crypto_verify_1312.h

View File

@ -13,7 +13,6 @@ consistency_checks:
scheme: sntrup653 scheme: sntrup653
implementation: avx2 implementation: avx2
files: files:
- crypto_sort_int32.h
- crypto_sort_uint32.h - crypto_sort_uint32.h
- crypto_stream_aes256ctr.h - crypto_stream_aes256ctr.h
- crypto_sort_uint32.c - crypto_sort_uint32.c
@ -32,7 +31,6 @@ consistency_checks:
scheme: sntrup761 scheme: sntrup761
implementation: avx2 implementation: avx2
files: files:
- crypto_sort_int32.h
- crypto_sort_uint32.h - crypto_sort_uint32.h
- crypto_stream_aes256ctr.h - crypto_stream_aes256ctr.h
- crypto_sort_uint32.c - crypto_sort_uint32.c
@ -78,7 +76,6 @@ consistency_checks:
- crypto_encode_857x1723round.h - crypto_encode_857x1723round.h
- crypto_encode_857x3.h - crypto_encode_857x3.h
- crypto_encode_857xint16.h - crypto_encode_857xint16.h
- crypto_sort_int32.h
- crypto_sort_uint32.h - crypto_sort_uint32.h
- crypto_stream_aes256ctr.h - crypto_stream_aes256ctr.h
- crypto_decode_857xint16.c - crypto_decode_857xint16.c
@ -104,7 +101,6 @@ consistency_checks:
- crypto_encode_857x1723round.h - crypto_encode_857x1723round.h
- crypto_encode_857x3.h - crypto_encode_857x3.h
- crypto_encode_857xint16.h - crypto_encode_857xint16.h
- crypto_sort_int32.h
- crypto_sort_uint32.h - crypto_sort_uint32.h
- crypto_stream_aes256ctr.h - crypto_stream_aes256ctr.h
- crypto_verify_1312.h - crypto_verify_1312.h

View File

@ -22,7 +22,6 @@ consistency_checks:
- crypto_encode_653xfreeze3.h - crypto_encode_653xfreeze3.h
- crypto_encode_653xint16.h - crypto_encode_653xint16.h
- crypto_encode_int16.h - crypto_encode_int16.h
- crypto_sort_int32.h
- crypto_sort_uint32.h - crypto_sort_uint32.h
- crypto_stream_aes256ctr.h - crypto_stream_aes256ctr.h
- crypto_verify_897.h - crypto_verify_897.h
@ -38,7 +37,6 @@ consistency_checks:
implementation: clean implementation: clean
files: files:
- crypto_encode_int16.h - crypto_encode_int16.h
- crypto_sort_int32.h
- crypto_sort_uint32.h - crypto_sort_uint32.h
- crypto_stream_aes256ctr.h - crypto_stream_aes256ctr.h
- crypto_encode_int16.c - crypto_encode_int16.c
@ -65,7 +63,6 @@ consistency_checks:
implementation: clean implementation: clean
files: files:
- crypto_encode_int16.h - crypto_encode_int16.h
- crypto_sort_int32.h
- crypto_sort_uint32.h - crypto_sort_uint32.h
- crypto_stream_aes256ctr.h - crypto_stream_aes256ctr.h
- crypto_encode_int16.c - crypto_encode_int16.c

View File

@ -22,7 +22,6 @@ consistency_checks:
- crypto_encode_653xfreeze3.h - crypto_encode_653xfreeze3.h
- crypto_encode_653xint16.h - crypto_encode_653xint16.h
- crypto_encode_int16.h - crypto_encode_int16.h
- crypto_sort_int32.h
- crypto_sort_uint32.h - crypto_sort_uint32.h
- crypto_stream_aes256ctr.h - crypto_stream_aes256ctr.h
- crypto_verify_897.h - crypto_verify_897.h
@ -51,7 +50,6 @@ consistency_checks:
implementation: avx2 implementation: avx2
files: files:
- crypto_encode_int16.h - crypto_encode_int16.h
- crypto_sort_int32.h
- crypto_sort_uint32.h - crypto_sort_uint32.h
- crypto_stream_aes256ctr.h - crypto_stream_aes256ctr.h
- crypto_encode_int16.c - crypto_encode_int16.c
@ -76,7 +74,6 @@ consistency_checks:
implementation: avx2 implementation: avx2
files: files:
- crypto_encode_int16.h - crypto_encode_int16.h
- crypto_sort_int32.h
- crypto_sort_uint32.h - crypto_sort_uint32.h
- crypto_stream_aes256ctr.h - crypto_stream_aes256ctr.h
- crypto_encode_int16.c - crypto_encode_int16.c

View File

@ -22,7 +22,6 @@ consistency_checks:
- crypto_encode_761xfreeze3.h - crypto_encode_761xfreeze3.h
- crypto_encode_761xint16.h - crypto_encode_761xint16.h
- crypto_encode_int16.h - crypto_encode_int16.h
- crypto_sort_int32.h
- crypto_sort_uint32.h - crypto_sort_uint32.h
- crypto_stream_aes256ctr.h - crypto_stream_aes256ctr.h
- crypto_verify_1039.h - crypto_verify_1039.h
@ -38,7 +37,6 @@ consistency_checks:
implementation: clean implementation: clean
files: files:
- crypto_encode_int16.h - crypto_encode_int16.h
- crypto_sort_int32.h
- crypto_sort_uint32.h - crypto_sort_uint32.h
- crypto_stream_aes256ctr.h - crypto_stream_aes256ctr.h
- crypto_encode_int16.c - crypto_encode_int16.c

View File

@ -22,7 +22,6 @@ consistency_checks:
- crypto_encode_761xfreeze3.h - crypto_encode_761xfreeze3.h
- crypto_encode_761xint16.h - crypto_encode_761xint16.h
- crypto_encode_int16.h - crypto_encode_int16.h
- crypto_sort_int32.h
- crypto_sort_uint32.h - crypto_sort_uint32.h
- crypto_stream_aes256ctr.h - crypto_stream_aes256ctr.h
- crypto_verify_1039.h - crypto_verify_1039.h
@ -51,7 +50,6 @@ consistency_checks:
implementation: avx2 implementation: avx2
files: files:
- crypto_encode_int16.h - crypto_encode_int16.h
- crypto_sort_int32.h
- crypto_sort_uint32.h - crypto_sort_uint32.h
- crypto_stream_aes256ctr.h - crypto_stream_aes256ctr.h
- crypto_encode_int16.c - crypto_encode_int16.c

View File

@ -22,7 +22,6 @@ consistency_checks:
- crypto_encode_857xfreeze3.h - crypto_encode_857xfreeze3.h
- crypto_encode_857xint16.h - crypto_encode_857xint16.h
- crypto_encode_int16.h - crypto_encode_int16.h
- crypto_sort_int32.h
- crypto_sort_uint32.h - crypto_sort_uint32.h
- crypto_stream_aes256ctr.h - crypto_stream_aes256ctr.h
- crypto_verify_1184.h - crypto_verify_1184.h

View File

@ -22,7 +22,6 @@ consistency_checks:
- crypto_encode_857xfreeze3.h - crypto_encode_857xfreeze3.h
- crypto_encode_857xint16.h - crypto_encode_857xint16.h
- crypto_encode_int16.h - crypto_encode_int16.h
- crypto_sort_int32.h
- crypto_sort_uint32.h - crypto_sort_uint32.h
- crypto_stream_aes256ctr.h - crypto_stream_aes256ctr.h
- crypto_verify_1184.h - crypto_verify_1184.h