-- field definition
-- curve coefficients
-- optional generator with associated information (order, cofactor)
- -- optional extra data (Lim/Lee precomputation table)
+ -- optional extra data (TODO: precomputed table for fast computation of multiples of generator)
*/
EC_GROUP;
*/
const EC_METHOD *EC_GFp_simple_method(void);
const EC_METHOD *EC_GFp_mont_method(void);
+#if 0
const EC_METHOD *EC_GFp_recp_method(void); /* TODO */
const EC_METHOD *EC_GFp_nist_method(void); /* TODO */
+#endif
EC_GROUP *EC_GROUP_new(const EC_METHOD *);
/* Error codes for the EC functions. */
/* Function codes. */
-#define EC_F_EC_GFP_MONT2_FIELD_DECODE 143
-#define EC_F_EC_GFP_MONT2_FIELD_ENCODE 144
-#define EC_F_EC_GFP_MONT2_FIELD_MUL 145
-#define EC_F_EC_GFP_MONT2_FIELD_SQR 146
#define EC_F_EC_GFP_MONT_FIELD_DECODE 133
#define EC_F_EC_GFP_MONT_FIELD_ENCODE 134
#define EC_F_EC_GFP_MONT_FIELD_MUL 131
#define EC_F_EC_POINT_SET_COMPRESSED_COORDINATES_GFP 125
#define EC_F_EC_POINT_SET_JPROJECTIVE_COORDINATES_GFP 126
#define EC_F_EC_POINT_SET_TO_INFINITY 127
-#define EC_F_GFP_MONT2_GROUP_SET_CURVE_GFP 147
#define EC_F_GFP_MONT_GROUP_SET_CURVE_GFP 135
/* Reason codes. */