Update DIGEST_MAX_BLOCK_SIZE to support SHA-3

This commit is contained in:
Zhi Guan
2026-06-09 15:20:45 +08:00
parent d1d75a3109
commit fb12b78227

View File

@@ -33,7 +33,7 @@ typedef struct DIGEST_CTX DIGEST_CTX;
#define DIGEST_MAX_SIZE 64 #define DIGEST_MAX_SIZE 64
#define DIGEST_MAX_BLOCK_SIZE (1024/8) #define DIGEST_MAX_BLOCK_SIZE 144 // SHA3-224
struct DIGEST_CTX { struct DIGEST_CTX {