aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/ec/ecp_nist.c
diff options
context:
space:
mode:
authorBodo Möller <bodo@openssl.org>2001-03-10 23:18:35 +0000
committerBodo Möller <bodo@openssl.org>2001-03-10 23:18:35 +0000
commit48fe4d6233ac2d60745742a27f820dd88bc6689d (patch)
tree760676bc4de19a5141734bf9a07abc4494463345 /crypto/ec/ecp_nist.c
parent7b8250053bc9fa05cccaf146e96a28ad5333923f (diff)
downloadopenssl-48fe4d6233ac2d60745742a27f820dd88bc6689d.tar.gz
More EC stuff, including EC_POINTs_mul() for simultaneous scalar
multiplication of an arbitrary number of points.
Diffstat (limited to 'crypto/ec/ecp_nist.c')
-rw-r--r--crypto/ec/ecp_nist.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/crypto/ec/ecp_nist.c b/crypto/ec/ecp_nist.c
index 354130bed2..ed07748675 100644
--- a/crypto/ec/ecp_nist.c
+++ b/crypto/ec/ecp_nist.c
@@ -88,10 +88,12 @@ const EC_METHOD *EC_GFp_nist_method(void)
ec_GFp_simple_is_on_curve,
ec_GFp_simple_cmp,
ec_GFp_simple_make_affine,
+ ec_GFp_simple_points_make_affine,
ec_GFp_nist_field_mul,
ec_GFp_nist_field_sqr,
0 /* field_encode */,
- 0 /* field_decode */ };
+ 0 /* field_decode */,
+ 0 /* field_set_to_one */ };
return &ret;
}
@@ -103,7 +105,7 @@ int ec_GFp_nist_group_init(EC_GROUP *group)
int ok;
ok = ec_GFp_simple_group_init(group);
- group->field_data = NULL;
+ group->field_data1 = NULL;
return ok;
}