mirror of
https://github.com/guanzhi/GmSSL.git
synced 2026-05-07 08:56:17 +08:00
fix sm3 padding bug
This commit is contained in:
2
include/openssl/sm3.h
Normal file → Executable file
2
include/openssl/sm3.h
Normal file → Executable file
@@ -70,7 +70,7 @@ extern "C" {
|
||||
|
||||
typedef struct {
|
||||
uint32_t digest[8];
|
||||
int nblocks;
|
||||
uint64_t nblocks;
|
||||
unsigned char block[64];
|
||||
int num;
|
||||
} sm3_ctx_t;
|
||||
|
||||
Reference in New Issue
Block a user