]> 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 85a69988d5f3d64f579d9c6c5d8d47f7aee465bb..dd52a74585c5ccf9173190cd54447bd5607e6839 100644 (file)
@@ -66,7 +66,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;
     }