summaryrefslogtreecommitdiffstats
path: root/crypto/ec/ecp_nist.c
diff options
context:
space:
mode:
authorBodo Möller <bodo@openssl.org>2001-03-07 09:29:45 +0000
committerBodo Möller <bodo@openssl.org>2001-03-07 09:29:45 +0000
commit58fc62296f9ed6eae19974ae8bdd47b340b1e850 (patch)
tree2b3e75e7a412f3c2b538fecb3b43f8f48009d440 /crypto/ec/ecp_nist.c
parentdf9cc1535ebf5731cde99c4741da24dd11ad6ba7 (diff)
The next bunch of vaporware.
Diffstat (limited to 'crypto/ec/ecp_nist.c')
-rw-r--r--crypto/ec/ecp_nist.c28
1 files changed, 24 insertions, 4 deletions
diff --git a/crypto/ec/ecp_nist.c b/crypto/ec/ecp_nist.c
index 0c319c6aed..9bb4ec74a8 100644
--- a/crypto/ec/ecp_nist.c
+++ b/crypto/ec/ecp_nist.c
@@ -59,10 +59,30 @@
const EC_METHOD *EC_GFp_nist_method(void)
{
- static const EC_METHOD ret =
- {
- 0 /* XXX */
- };
+ static const EC_METHOD ret = {
+ ec_GFp_simple_group_init,
+ ec_GFp_simple_group_set_curve_GFp,
+ ec_GFp_simple_group_finish,
+ ec_GFp_simple_group_clear_finish,
+ ec_GFp_simple_group_copy,
+ ec_GFp_simple_group_set_generator,
+ /* TODO: 'set' and 'get' functions for EC_GROUPs */
+ ec_GFp_simple_point_init,
+ ec_GFp_simple_point_finish,
+ ec_GFp_simple_point_clear_finish,
+ ec_GFp_simple_point_copy,
+ /* TODO: 'set' and 'get' functions for EC_POINTs */
+ ec_GFp_simple_point2oct,
+ ec_GFp_simple_oct2point,
+ ec_GFp_simple_add,
+ ec_GFp_simple_dbl,
+ ec_GFp_simple_is_at_infinity,
+ ec_GFp_simple_is_on_curve,
+ ec_GFp_simple_make_affine,
+ ec_GFp_nist_field_mult,
+ ec_GFp_nist_field_sqr,
+ ec_GFp_nist_field_encode,
+ ec_GFp_nist_field_decode };
return &ret;
}