@@ -174,11 +174,11 @@ copy->_calculated = _calculated; return copy; } -- (void)updateWithBuffer: (const void*)buffer_ +- (void)updateWithBuffer: (const void *)buffer_ length: (size_t)length { const uint8_t *buffer = buffer_; if (_calculated) @@ -206,14 +206,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, 128 - _bufferLength - 1); if (_bufferLength >= 112) { @@ -227,11 +227,11 @@ processBlock(_state, _buffer.words); memset(&_buffer, 0, sizeof(_buffer)); byteSwapVectorIfLE(_state, 8); _calculated = true; - return (const uint8_t*)_state; + return (const uint8_t *)_state; } - (void)reset { [self OF_resetState];