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
Regular → Executable
+1 -1
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;