25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
* @brief A base class for SHA-384 and SHA-512.
*/
@interface OFSHA384Or512Hash: OFObject <OFCryptographicHash>
{
@private
OFSecureData *_iVarsData;
@protected
struct of_sha384_or_512_hash_ivars {
uint64_t state[8];
uint64_t bits[2];
union of_sha384_or_512_hash_buffer {
unsigned char bytes[128];
uint64_t words[80];
} buffer;
size_t bufferLength;
|
|
|
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
* @brief A base class for SHA-384 and SHA-512.
*/
@interface OFSHA384Or512Hash: OFObject <OFCryptographicHash>
{
@private
OFSecureData *_iVarsData;
@protected
struct {
uint64_t state[8];
uint64_t bits[2];
union of_sha384_or_512_hash_buffer {
unsigned char bytes[128];
uint64_t words[80];
} buffer;
size_t bufferLength;
|