148
149
150
151
152
153
154
155
156
157
158
159
160
161
|
{
self = [super init];
[self OF_resetState];
return self;
}
- copy
{
OFRIPEMD160Hash *copy = [[OFRIPEMD160Hash alloc] init];
memcpy(copy->_state, _state, sizeof(_state));
copy->_bits = _bits;
|
>
>
>
>
>
>
>
|
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
|
{
self = [super init];
[self OF_resetState];
return self;
}
- (void)dealloc
{
[self reset];
[super dealloc];
}
- copy
{
OFRIPEMD160Hash *copy = [[OFRIPEMD160Hash alloc] init];
memcpy(copy->_state, _state, sizeof(_state));
copy->_bits = _bits;
|