mirror of
https://github.com/guanzhi/GmSSL.git
synced 2026-05-20 07:16:24 +08:00
Use z256 and jacobian coordinates as inner presentation of SM2 point
This commit is contained in:
@@ -72,7 +72,7 @@ static int test_ec_point_print(void)
|
||||
error_print();
|
||||
return -1;
|
||||
}
|
||||
if (sm2_point_to_der(&(sm2_key.public_key), &p, &len) != 1) {
|
||||
if (sm2_z256_point_to_der(&(sm2_key.public_key), &p, &len) != 1) {
|
||||
error_print();
|
||||
return -1;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user