summaryrefslogtreecommitdiffstats
path: root/crypto/ec/ec_cvt.c
diff options
context:
space:
mode:
authorBodo Möller <bodo@openssl.org>2001-03-08 20:55:16 +0000
committerBodo Möller <bodo@openssl.org>2001-03-08 20:55:16 +0000
commit156e85578d180313c27e51d0bf186aa8650c49e1 (patch)
tree53fce31e7b1912e3e7df1d96e2a954a20c16e84f /crypto/ec/ec_cvt.c
parentb28ec124204a59a866af72f807ef96487f0862e1 (diff)
Implement EC_GFp_mont_method.
Diffstat (limited to 'crypto/ec/ec_cvt.c')
-rw-r--r--crypto/ec/ec_cvt.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/ec/ec_cvt.c b/crypto/ec/ec_cvt.c
index 361dcc3992..45b0ec33a0 100644
--- a/crypto/ec/ec_cvt.c
+++ b/crypto/ec/ec_cvt.c
@@ -63,8 +63,8 @@ EC_GROUP *EC_GROUP_new_curve_GFp(const BIGNUM *p, const BIGNUM *a, const BIGNUM
/* Finally, this will use EC_GFp_nist_method if 'p' is a special
* prime with optimized modular arithmetics (for NIST curves)
- * and EC_GFp_mont_method or EC_GFp_recp_method otherwise. */
- meth = EC_GFp_simple_method();
+ */
+ meth = EC_GFp_mont_method();
ret = EC_GROUP_new(meth);
if (ret == NULL)