@@ -119,10 +119,12 @@ state[6] += new[6]; state[7] += new[7]; } @implementation OFSHA384Or512Hash +@synthesize calculated = _calculated; + + (size_t)digestSize { OF_UNRECOGNIZED_SELECTOR } @@ -199,15 +201,10 @@ _calculated = true; return (const uint8_t*)_state; } -- (bool)isCalculated -{ - return _calculated; -} - - (void)reset { [self OF_resetState]; memset(&_bits, 0, sizeof(_bits)); memset(&_buffer, 0, sizeof(_buffer));