]> www.wagner.pp.ru Git - openssl-gost/engine.git/blobdiff - gost_ec_keyx.c
GOST ECC optimizations (#263)
[openssl-gost/engine.git] / gost_ec_keyx.c
index 850479a9d0f24da5475c941417c055c410dc4317..89884ce3a15a5f42096a8bc2ef9057cb2b4ce1f5 100644 (file)
@@ -71,7 +71,7 @@ int VKO_compute_key(unsigned char *shared_key,
             break;
     }
 
-    if (!EC_POINT_mul(grp, pnt, NULL, pub_key, scalar, ctx)) {
+    if (!gost_ec_point_mul(grp, pnt, NULL, pub_key, scalar, ctx)) {
         GOSTerr(GOST_F_VKO_COMPUTE_KEY, GOST_R_ERROR_POINT_MUL);
         goto err;
     }