Some whitespace fixes
Didn't change some of the larger testing scripts that use an inconsistent indentation style.
This commit is contained in:
@@ -65,7 +65,7 @@ METHOD(xof_t, get_bytes, bool,
|
||||
}
|
||||
|
||||
/* copy whole stream blocks directly to output buffer */
|
||||
blocks = (out_len - index) / CHACHA_BLOCK_SIZE;
|
||||
blocks = (out_len - index) / CHACHA_BLOCK_SIZE;
|
||||
while (blocks--)
|
||||
{
|
||||
if (!this->drv->chacha(this->drv, buffer + index))
|
||||
@@ -73,8 +73,8 @@ METHOD(xof_t, get_bytes, bool,
|
||||
return FALSE;
|
||||
}
|
||||
index += CHACHA_BLOCK_SIZE;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
/* refill the stream buffer if some more output bytes are needed */
|
||||
len = out_len - index;
|
||||
if (len)
|
||||
@@ -85,8 +85,8 @@ METHOD(xof_t, get_bytes, bool,
|
||||
}
|
||||
memcpy(buffer + index, this->stream, len);
|
||||
this->stream_index = len;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user