diff --git a/include/core/sha3.h b/include/core/sha3.h index 2fbc551..fd3f9ff 100644 --- a/include/core/sha3.h +++ b/include/core/sha3.h @@ -37,7 +37,7 @@ extern "C" { #endif #ifndef SHA3_HASH_SIZE_BYTES -#define SHA3_HASH_SIZE_BYTES(bits) ((bits) / sizeof(u8)) +#define SHA3_HASH_SIZE_BYTES(bits) ((bits) / 8) #endif #ifndef SHA3_BLOCK_SIZE