ObjFW  Diff

Differences From Artifact [f14987e748]:

To Artifact [19853167ae]:


20
21
22
23
24
25
26
27



28
29
30
31
32
 * @class OFSHA1Hash OFSHA1Hash.h ObjFW/OFSHA1Hash.h
 *
 * @brief A class which provides functions to create an SHA1 hash.
 */
@interface OFSHA1Hash: OFObject <OFHash>
{
	uint32_t _state[5];
	uint64_t _count;



	char	 _buffer[64];
	uint8_t	 _digest[20];
	bool	 _calculated;
}
@end







|
>
>
>
|
|
|


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