@@ -20,10 +20,14 @@ #include #import "OFSHA224Or256Hash.h" #import "OFHashAlreadyCalculatedException.h" + +@interface OFSHA224Or256Hash () +- (void)of_resetState; +@end static const uint32_t table[] = { 0x428A2F98, 0x71374491, 0xB5C0FBCF, 0xE9B5DBA5, 0x3956C25B, 0x59F111F1, 0x923F82A4, 0xAB1C5ED5, 0xD807AA98, 0x12835B01, 0x243185BE, 0x550C7DC3, @@ -134,11 +138,11 @@ if ([self class] == [OFSHA224Or256Hash class]) { [self doesNotRecognizeSelector: _cmd]; abort(); } - [self OF_resetState]; + [self of_resetState]; } @catch (id e) { [self release]; @throw e; } @@ -219,17 +223,17 @@ return (const uint8_t *)_state; } - (void)reset { - [self OF_resetState]; + [self of_resetState]; _bits = 0; memset(&_buffer, 0, sizeof(_buffer)); _bufferLength = 0; _calculated = false; } -- (void)OF_resetState +- (void)of_resetState { OF_UNRECOGNIZED_SELECTOR } @end