add sdf and skf

This commit is contained in:
Zhi Guan
2021-08-03 17:09:35 +08:00
parent d6feba3749
commit a57193836b
71 changed files with 11100 additions and 765 deletions

View File

@@ -102,7 +102,7 @@ help:
}
pass = getpass("Encryption Password : ");
if (sm2_enced_private_key_info_from_pem(&key, pass, keyfp) != 1) {
error_print("private key decryption failure");
error_puts("private key decryption failure");
return -1;
}
if ((hexlen = fread(hexbuf, 1, sizeof(hexbuf), stdin)) <= 0) {