Precomputation will not necessarily be LIm-Lee precomputation.
[openssl.git] / crypto / ec / ec.h
index 2182d08f7fe82348870e141b5edeb85ea9f56b8a..5c92edaea56497bc32356c29a88082ea93a8b233 100644 (file)
@@ -84,7 +84,7 @@ typedef struct ec_group_st
         -- 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;
 
@@ -96,8 +96,10 @@ typedef struct ec_point_st EC_POINT;
  */
 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 *);
@@ -175,10 +177,6 @@ void ERR_load_EC_strings(void);
 /* 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
@@ -221,7 +219,6 @@ void ERR_load_EC_strings(void);
 #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. */