19
20
21
22
23
24
25
26
27
28
29
30
31
|
#define OF_SHA1_DIGEST_SIZE 20
/*!
* @brief A class which provides functions to create an SHA1 hash.
*/
@interface OFSHA1Hash: OFHash
{
uint32_t state[5];
uint64_t count;
char buffer[64];
uint8_t digest[OF_SHA1_DIGEST_SIZE];
}
@end
|
|
|
|
|
|
19
20
21
22
23
24
25
26
27
28
29
30
31
|
#define OF_SHA1_DIGEST_SIZE 20
/*!
* @brief A class which provides functions to create an SHA1 hash.
*/
@interface OFSHA1Hash: OFHash
{
uint32_t _state[5];
uint64_t _count;
char _buffer[64];
uint8_t _digest[OF_SHA1_DIGEST_SIZE];
}
@end
|