Use unsigned for loop counters
This commit is contained in:
parent
e2efa6d7e0
commit
81cf1ff6d1
@ -7,7 +7,7 @@ if (bytes > 0) {
|
|||||||
_mm_set_epi8(14, 13, 12, 15, 10, 9, 8, 11, 6, 5, 4, 7, 2, 1, 0, 3);
|
_mm_set_epi8(14, 13, 12, 15, 10, 9, 8, 11, 6, 5, 4, 7, 2, 1, 0, 3);
|
||||||
uint8_t partialblock[64];
|
uint8_t partialblock[64];
|
||||||
|
|
||||||
int i;
|
unsigned int i;
|
||||||
|
|
||||||
x_0 = _mm_loadu_si128((__m128i*) (x + 0));
|
x_0 = _mm_loadu_si128((__m128i*) (x + 0));
|
||||||
x_1 = _mm_loadu_si128((__m128i*) (x + 4));
|
x_1 = _mm_loadu_si128((__m128i*) (x + 4));
|
||||||
|
@ -7,7 +7,7 @@ if (bytes > 0) {
|
|||||||
__m128i b0, b1, b2, b3, b4, b5, b6, b7;
|
__m128i b0, b1, b2, b3, b4, b5, b6, b7;
|
||||||
uint8_t partialblock[64];
|
uint8_t partialblock[64];
|
||||||
|
|
||||||
int i;
|
unsigned int i;
|
||||||
|
|
||||||
a0 = diag1;
|
a0 = diag1;
|
||||||
for (i = 0; i < ROUNDS; i += 4) {
|
for (i = 0; i < ROUNDS; i += 4) {
|
||||||
|
Loading…
Reference in New Issue
Block a user