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