1
0
Fork 0
mirror of https://github.com/DarkMatterCore/nxdumptool.git synced 2024-11-26 12:12:02 +00:00

Fix SHA3 calculation.

This commit is contained in:
Pablo Curiel 2022-06-26 00:20:38 +02:00
parent f50071cf45
commit d3b007d9af

View file

@ -37,7 +37,7 @@ extern "C" {
#endif #endif
#ifndef SHA3_HASH_SIZE_BYTES #ifndef SHA3_HASH_SIZE_BYTES
#define SHA3_HASH_SIZE_BYTES(bits) ((bits) / sizeof(u8)) #define SHA3_HASH_SIZE_BYTES(bits) ((bits) / 8)
#endif #endif
#ifndef SHA3_BLOCK_SIZE #ifndef SHA3_BLOCK_SIZE