140
141
142
143
144
145
146
147
148
149
150
151
152
153
|
} @catch (id e) {
[self release];
@throw e;
}
return self;
}
- copy
{
OFSHA224Or256Hash *copy = [[[self class] alloc] init];
memcpy(copy->_state, _state, sizeof(_state));
copy->_bits = _bits;
|
>
>
>
>
>
>
>
|
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
|
} @catch (id e) {
[self release];
@throw e;
}
return self;
}
- (void)dealloc
{
[self reset];
[super dealloc];
}
- copy
{
OFSHA224Or256Hash *copy = [[[self class] alloc] init];
memcpy(copy->_state, _state, sizeof(_state));
copy->_bits = _bits;
|