diff options
Diffstat (limited to 'src/libcryptobox/blake2/blake2.h')
-rw-r--r-- | src/libcryptobox/blake2/blake2.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/libcryptobox/blake2/blake2.h b/src/libcryptobox/blake2/blake2.h index 9966c66d2..3da1958ae 100644 --- a/src/libcryptobox/blake2/blake2.h +++ b/src/libcryptobox/blake2/blake2.h @@ -20,13 +20,13 @@ extern "C" { #endif -enum blake2b_constant { - BLAKE2B_BLOCKBYTES = 128, - BLAKE2B_OUTBYTES = 64, - BLAKE2B_KEYBYTES = 64, - BLAKE2B_SALTBYTES = 16, - BLAKE2B_PERSONALBYTES = 16 -}; + +#define BLAKE2B_BLOCKBYTES 128 +#define BLAKE2B_OUTBYTES 64 +#define BLAKE2B_KEYBYTES 64 +#define BLAKE2B_SALTBYTES 16 +#define BLAKE2B_PERSONALBYTES 16 + typedef struct blake2b_state_t { unsigned char opaque[256]; |