NTRU Prime: satisfy linter

Šī revīzija ir iekļauta:
John M. Schanck 2020-09-02 13:01:19 -04:00 revīziju iesūtīja Kris Kwiatkowski
vecāks b568d01ac6
revīzija 1a402a1917
6 mainīti faili ar 18 papildinājumiem un 6 dzēšanām

Parādīt failu

@ -38,7 +38,8 @@ static void crypto_sort_smallindices(int32 *x, int32 n) {
i = 0;
j = 0;
for (q = top; q > p; q >>= 1) {
if (j != i) for (;;) {
if (j != i) {
for (;;) {
if (j == n - q) {
goto done;
}
@ -53,6 +54,7 @@ static void crypto_sort_smallindices(int32 *x, int32 n) {
break;
}
}
}
while (i + p <= n - q) {
for (j = i; j < i + p; ++j) {
int32 a = x[j + p];

Parādīt failu

@ -38,7 +38,8 @@ static void crypto_sort_smallindices(int32 *x, int32 n) {
i = 0;
j = 0;
for (q = top; q > p; q >>= 1) {
if (j != i) for (;;) {
if (j != i) {
for (;;) {
if (j == n - q) {
goto done;
}
@ -53,6 +54,7 @@ static void crypto_sort_smallindices(int32 *x, int32 n) {
break;
}
}
}
while (i + p <= n - q) {
for (j = i; j < i + p; ++j) {
int32 a = x[j + p];

Parādīt failu

@ -38,7 +38,8 @@ static void crypto_sort_smallindices(int32 *x, int32 n) {
i = 0;
j = 0;
for (q = top; q > p; q >>= 1) {
if (j != i) for (;;) {
if (j != i) {
for (;;) {
if (j == n - q) {
goto done;
}
@ -53,6 +54,7 @@ static void crypto_sort_smallindices(int32 *x, int32 n) {
break;
}
}
}
while (i + p <= n - q) {
for (j = i; j < i + p; ++j) {
int32 a = x[j + p];

Parādīt failu

@ -38,7 +38,8 @@ static void crypto_sort_smallindices(int32 *x, int32 n) {
i = 0;
j = 0;
for (q = top; q > p; q >>= 1) {
if (j != i) for (;;) {
if (j != i) {
for (;;) {
if (j == n - q) {
goto done;
}
@ -53,6 +54,7 @@ static void crypto_sort_smallindices(int32 *x, int32 n) {
break;
}
}
}
while (i + p <= n - q) {
for (j = i; j < i + p; ++j) {
int32 a = x[j + p];

Parādīt failu

@ -38,7 +38,8 @@ static void crypto_sort_smallindices(int32 *x, int32 n) {
i = 0;
j = 0;
for (q = top; q > p; q >>= 1) {
if (j != i) for (;;) {
if (j != i) {
for (;;) {
if (j == n - q) {
goto done;
}
@ -53,6 +54,7 @@ static void crypto_sort_smallindices(int32 *x, int32 n) {
break;
}
}
}
while (i + p <= n - q) {
for (j = i; j < i + p; ++j) {
int32 a = x[j + p];

Parādīt failu

@ -38,7 +38,8 @@ static void crypto_sort_smallindices(int32 *x, int32 n) {
i = 0;
j = 0;
for (q = top; q > p; q >>= 1) {
if (j != i) for (;;) {
if (j != i) {
for (;;) {
if (j == n - q) {
goto done;
}
@ -53,6 +54,7 @@ static void crypto_sort_smallindices(int32 *x, int32 n) {
break;
}
}
}
while (i + p <= n - q) {
for (j = i; j < i + p; ++j) {
int32 a = x[j + p];