crypto: ecc - rename ecdh_make_pub_key()
[linux-2.6-microblaze.git] / crypto / ecdh.c
index c1f0163..ed1464a 100644 (file)
@@ -87,8 +87,8 @@ static int ecdh_compute_value(struct kpp_request *req)
 
                buf = ctx->shared_secret;
        } else {
-               ret = ecdh_make_pub_key(ctx->curve_id, ctx->ndigits,
-                                       ctx->private_key, ctx->public_key);
+               ret = ecc_make_pub_key(ctx->curve_id, ctx->ndigits,
+                                      ctx->private_key, ctx->public_key);
                buf = ctx->public_key;
                /* Public part is a point thus it has both coordinates */
                nbytes *= 2;