aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/pubkey/sm2/sm2.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/pubkey/sm2/sm2.cpp')
-rw-r--r--src/lib/pubkey/sm2/sm2.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/pubkey/sm2/sm2.cpp b/src/lib/pubkey/sm2/sm2.cpp
index 05c8417ec..e2bc5d92d 100644
--- a/src/lib/pubkey/sm2/sm2.cpp
+++ b/src/lib/pubkey/sm2/sm2.cpp
@@ -179,7 +179,7 @@ bool SM2_Verification_Operation::is_valid_signature(const uint8_t sig[], size_t
if(t == 0)
return false;
- const PointGFp R = multi_exponentiate(m_group.get_base_point(), s, m_public_point, t);
+ const PointGFp R = m_group.point_multiply(s, m_public_point, t);
// ???
if(R.is_zero())