fix sm3 padding bug

This commit is contained in:
zhaoxincheng
2018-08-30 16:37:25 +08:00
parent 940c98d5d7
commit 41049aa0cd
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;