24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
#import "OFHashAlreadyCalculatedException.h"
#import "OFOutOfRangeException.h"
#define DIGEST_SIZE 20
#define BLOCK_SIZE 64
@interface OFRIPEMD160Hash ()
- (void)of_resetState;
@end
#define F(a, b, c) ((a) ^ (b) ^ (c))
#define G(a, b, c) (((a) & (b)) | (~(a) & (c)))
#define H(a, b, c) (((a) | ~(b)) ^ (c))
|
>
|
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
#import "OFHashAlreadyCalculatedException.h"
#import "OFOutOfRangeException.h"
#define DIGEST_SIZE 20
#define BLOCK_SIZE 64
OF_DIRECT_MEMBERS
@interface OFRIPEMD160Hash ()
- (void)of_resetState;
@end
#define F(a, b, c) ((a) ^ (b) ^ (c))
#define G(a, b, c) (((a) & (b)) | (~(a) & (c)))
#define H(a, b, c) (((a) | ~(b)) ^ (c))
|