Merge pull request #574 from zzclzxc/master

fix sm3 padding bug
This commit is contained in:
Zhi Guan
2018-11-13 13:54:09 +08:00
committed by GitHub
2 changed files with 3 additions and 3 deletions

2
include/openssl/sm3.h Normal file → Executable file
View 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;