Differences From Artifact [83d7c707b9]:
- File src/OFMD5Hash.m — part of check-in [9b2d255a3d] at 2013-02-18 23:05:20 on branch trunk — Make OFHash a protocol. (user: js, size: 7184) [annotate] [blame] [check-ins using]
To Artifact [621cd607df]:
- File
src/OFMD5Hash.m
— part of check-in
[c5ef582958]
at
2013-03-04 17:20:15
on branch trunk
— Replace BOOL with bool.
The only places where BOOL is left are those where they are required by
the ABI. (user: js, size: 7185) [annotate] [blame] [check-ins using]
| ︙ | ︙ | |||
255 256 257 258 259 260 261 | /* Append length in bits and transform */ _in.u32[14] = _bits[0]; _in.u32[15] = _bits[1]; md5_transform(_buffer, _in.u32); BSWAP32_VEC_IF_BE(_buffer, 4); | | | | 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 |
/* Append length in bits and transform */
_in.u32[14] = _bits[0];
_in.u32[15] = _bits[1];
md5_transform(_buffer, _in.u32);
BSWAP32_VEC_IF_BE(_buffer, 4);
_calculated = true;
return (uint8_t*)_buffer;
}
- (bool)isCalculated
{
return _calculated;
}
@end
|