Update Makefile and some tests

This commit is contained in:
Zhi Guan
2022-03-03 09:30:30 +08:00
parent b885a07ea2
commit cea08178a2
18 changed files with 1502 additions and 224 deletions

View File

@@ -275,7 +275,7 @@ static int test_pkcs8(void)
const uint8_t *cp = buf;
size_t len = 0;
sm2_keygen(&sm2_key);
sm2_key_generate(&sm2_key);
memcpy(&sm2_buf, &sm2_key, sizeof(sm2_key));
//sm2_key_print(stdout, &sm2_key, 0, 0);