summaryrefslogtreecommitdiffstats
path: root/crypto/ec/ecp_mont.c
diff options
context:
space:
mode:
authorBodo Möller <bodo@openssl.org>2001-03-08 19:14:52 +0000
committerBodo Möller <bodo@openssl.org>2001-03-08 19:14:52 +0000
commitbb62a8b0c57c88ec189389f07250dee9c87d0681 (patch)
tree55b32ba2164438036f69e023274d2becfb0da32a /crypto/ec/ecp_mont.c
parenta75d8bebd24f1a0f5560131a2c9c49b65a8a4e94 (diff)
More method functions for elliptic curves,
and an ectest.c that actually tests something.
Diffstat (limited to 'crypto/ec/ecp_mont.c')
-rw-r--r--crypto/ec/ecp_mont.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/crypto/ec/ecp_mont.c b/crypto/ec/ecp_mont.c
index 5db65ae419..873d142af2 100644
--- a/crypto/ec/ecp_mont.c
+++ b/crypto/ec/ecp_mont.c
@@ -60,12 +60,15 @@ const EC_METHOD *EC_GFp_mont_method(void)
{
static const EC_METHOD ret = {
ec_GFp_mont_group_init,
- ec_GFp_mont_group_set_curve_GFp,
ec_GFp_mont_group_finish,
ec_GFp_mont_group_clear_finish,
ec_GFp_mont_group_copy,
+ ec_GFp_mont_group_set_curve_GFp,
+ ec_GFp_simple_group_get_curve_GFp,
ec_GFp_simple_group_set_generator,
- /* TODO: 'set' and 'get' functions for EC_GROUPs */
+ ec_GFp_simple_group_get0_generator,
+ ec_GFp_simple_group_get_order,
+ ec_GFp_simple_group_get_cofactor,
ec_GFp_simple_point_init,
ec_GFp_simple_point_finish,
ec_GFp_simple_point_clear_finish,