ObjFW  Diff

Differences From Artifact [8efb12ba3e]:

To Artifact [a3122408cc]:


19
20
21
22
23
24
25
26
27
28
29
30
31

32
33
34
/*!
 * @class OFMD5Hash OFMD5Hash.h ObjFW/OFMD5Hash.h
 *
 * @brief A class which provides functions to create an MD5 hash.
 */
@interface OFMD5Hash: OFObject <OFHash>
{
	uint32_t _buffer[4];
	uint32_t _bits[2];
	union of_md5hash_in_union {
		uint8_t	u8[64];
		uint32_t u32[16];
	} _in;

	bool _calculated;
}
@end







|
|
|
|
|
|
>



19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
/*!
 * @class OFMD5Hash OFMD5Hash.h ObjFW/OFMD5Hash.h
 *
 * @brief A class which provides functions to create an MD5 hash.
 */
@interface OFMD5Hash: OFObject <OFHash>
{
	uint32_t _state[4];
	uint64_t _bits;
	union {
		uint8_t bytes[64];
		uint32_t words[16];
	} _buffer;
	size_t _bufferLength;
	bool _calculated;
}
@end