Whitespace cleanup
parent
d5aff4e4f8
commit
dcbb0c55d9
|
|
@ -252,8 +252,7 @@ static void KeccakF1600(word64 *state)
|
||||||
void Keccak::Update(const byte *input, size_t length)
|
void Keccak::Update(const byte *input, size_t length)
|
||||||
{
|
{
|
||||||
CRYPTOPP_ASSERT((input && length) || !(input || length));
|
CRYPTOPP_ASSERT((input && length) || !(input || length));
|
||||||
if (!length)
|
if (!length) { return; }
|
||||||
return;
|
|
||||||
|
|
||||||
size_t spaceLeft;
|
size_t spaceLeft;
|
||||||
while (length >= (spaceLeft = r() - m_counter))
|
while (length >= (spaceLeft = r() - m_counter))
|
||||||
|
|
|
||||||
3
sha3.cpp
3
sha3.cpp
|
|
@ -252,8 +252,7 @@ static void KeccakF1600(word64 *state)
|
||||||
void SHA3::Update(const byte *input, size_t length)
|
void SHA3::Update(const byte *input, size_t length)
|
||||||
{
|
{
|
||||||
CRYPTOPP_ASSERT((input && length) || !(input || length));
|
CRYPTOPP_ASSERT((input && length) || !(input || length));
|
||||||
if (!length)
|
if (!length) { return; }
|
||||||
return;
|
|
||||||
|
|
||||||
size_t spaceLeft;
|
size_t spaceLeft;
|
||||||
while (length >= (spaceLeft = r() - m_counter))
|
while (length >= (spaceLeft = r() - m_counter))
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue