@@ -165,11 +165,11 @@ _state[1] = 0xEFCDAB89; _state[2] = 0x98BADCFE; _state[3] = 0x10325476; } -- (void)updateWithBuffer: (const void*)buffer_ +- (void)updateWithBuffer: (const void *)buffer_ length: (size_t)length { const uint8_t *buffer = buffer_; if (_calculated) @@ -195,14 +195,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) { @@ -216,11 +216,11 @@ processBlock(_state, _buffer.words); memset(&_buffer, 0, sizeof(_buffer)); byteSwapVectorIfBE(_state, 4); _calculated = true; - return (const uint8_t*)_state; + return (const uint8_t *)_state; } - (void)reset { [self OF_resetState];