Brace yourself
This commit is contained in:
parent
3383fd1bdf
commit
ffb8475a4a
@ -34,12 +34,12 @@ blake2b_compress_ref(blake2b_state *S, const uint8_t block[BLAKE2B_BLOCKBYTES])
|
|||||||
uint64_t v[16];
|
uint64_t v[16];
|
||||||
int i;
|
int i;
|
||||||
|
|
||||||
for (i = 0; i < 16; ++i)
|
for (i = 0; i < 16; ++i) {
|
||||||
m[i] = LOAD64_LE(block + i * sizeof(m[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[i] = S->h[i];
|
||||||
|
}
|
||||||
v[8] = blake2b_IV[0];
|
v[8] = blake2b_IV[0];
|
||||||
v[9] = blake2b_IV[1];
|
v[9] = blake2b_IV[1];
|
||||||
v[10] = blake2b_IV[2];
|
v[10] = blake2b_IV[2];
|
||||||
|
Loading…
Reference in New Issue
Block a user