@@ -16,15 +16,22 @@ */ #include "config.h" #import "OFSHA384Hash.h" + +#define DIGEST_SIZE 48 @implementation OFSHA384Hash + (size_t)digestSize { - return 48; + return DIGEST_SIZE; +} + +- (size_t)digestSize +{ + return DIGEST_SIZE; } - (void)of_resetState { _iVars->state[0] = 0xCBBB9D5DC1059ED8;