diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2016-02-28 17:48:48 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2016-03-01 22:04:25 +0000 |
commit | 9ff9bccc41c385ec2aa8ee2123f083b52b56b7b4 (patch) | |
tree | 9bfc6f68485d0c005c32502b35ed1908a07a0781 /crypto/ec/ecp_nistp224.c | |
parent | 77470e989cf3c502ee00eb060b197d0241f33a22 (diff) | |
download | openssl-9ff9bccc41c385ec2aa8ee2123f083b52b56b7b4.tar.gz |
Add default operations to EC_METHOD
Reviewed-by: Rich Salz <rsalz@openssl.org>
Diffstat (limited to 'crypto/ec/ecp_nistp224.c')
-rw-r--r-- | crypto/ec/ecp_nistp224.c | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/crypto/ec/ecp_nistp224.c b/crypto/ec/ecp_nistp224.c index a533fa3cfb..0eea2e005d 100644 --- a/crypto/ec/ecp_nistp224.c +++ b/crypto/ec/ecp_nistp224.c @@ -245,7 +245,7 @@ const EC_METHOD *EC_GFp_nistp224_method(void) ec_GFp_nistp224_group_set_curve, ec_GFp_simple_group_get_curve, ec_GFp_simple_group_get_degree, - 0, /* group_order_bits */ + ec_group_simple_order_bits, ec_GFp_simple_group_check_discriminant, ec_GFp_simple_point_init, ec_GFp_simple_point_finish, @@ -275,7 +275,16 @@ const EC_METHOD *EC_GFp_nistp224_method(void) 0 /* field_div */ , 0 /* field_encode */ , 0 /* field_decode */ , - 0 /* field_set_to_one */ + 0, /* field_set_to_one */ + ec_key_simple_priv2oct, + ec_key_simple_oct2priv, + 0, /* set private */ + ec_key_simple_generate_key, + ec_key_simple_check_key, + ec_key_simple_generate_public_key, + 0, /* keycopy */ + 0, /* keyfinish */ + ecdh_simple_compute_key }; return &ret; |