Brace yourself

This commit is contained in:
Frank Denis 2017-12-21 17:24:01 +01:00
parent 6b38e87f01
commit b92e7b40ed

View File

@ -34,12 +34,12 @@ blake2b_compress_ref(blake2b_state *S, const uint8_t block[BLAKE2B_BLOCKBYTES])
uint64_t v[16];
int i;
for (i = 0; i < 16; ++i)
for (i = 0; i < 16; ++i) {
m[i] = LOAD64_LE(block + i * sizeof(m[i]));
for (i = 0; i < 8; ++i)
}
for (i = 0; i < 8; ++i) {
v[i] = S->h[i];
}
v[8] = blake2b_IV[0];
v[9] = blake2b_IV[1];
v[10] = blake2b_IV[2];