mirror of
https://github.com/guanzhi/GmSSL.git
synced 2026-05-07 00:46:17 +08:00
Update tools use v3 API
This commit is contained in:
@@ -117,7 +117,7 @@ help:
|
||||
id = SM2_DEFAULT_ID;
|
||||
}
|
||||
|
||||
sm2_compute_z(z, (SM2_POINT *)&sm2_key, id);
|
||||
sm2_compute_z(z, (SM2_POINT *)&sm2_key, id, strlen(id));
|
||||
sm3_update(&sm3_ctx, z, sizeof(z));
|
||||
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user