@@ -140,11 +140,11 @@ _state[2] = 0x98BADCFE; _state[3] = 0x10325476; _state[4] = 0xC3D2E1F0; } -- (void)updateWithBuffer: (const void*)buffer_ +- (void)updateWithBuffer: (const void *)buffer_ length: (size_t)length { const uint8_t *buffer = buffer_; if (_calculated) @@ -170,14 +170,14 @@ _bufferLength = 0; } } } -- (const unsigned char*)digest +- (const unsigned char *)digest { if (_calculated) - return (const uint8_t*)_state; + return (const uint8_t *)_state; _buffer.bytes[_bufferLength] = 0x80; memset(_buffer.bytes + _bufferLength + 1, 0, 64 - _bufferLength - 1); if (_bufferLength >= 56) { @@ -191,11 +191,11 @@ processBlock(_state, _buffer.words); memset(&_buffer, 0, sizeof(_buffer)); byteSwapVectorIfLE(_state, 5); _calculated = true; - return (const uint8_t*)_state; + return (const uint8_t *)_state; } - (void)reset { [self OF_resetState];