diff --git a/include/gmssl/hmac.h b/include/gmssl/hmac.h index b50c2b77..581aa6e3 100644 --- a/include/gmssl/hmac.h +++ b/include/gmssl/hmac.h @@ -19,7 +19,9 @@ extern "C" { #endif -#define HMAC_MAX_SIZE (DIGEST_MAX_SIZE) + +#define HMAC_MAX_SIZE DIGEST_MAX_SIZE +#define HMAC_MAX_BLOCK_SIZE DIGEST_MAX_BLOCK_SIZE typedef struct hmac_ctx_st {