@@ -96,25 +96,6 @@ static void secp256k1_ecmult_odd_multiples_table(int n, secp256k1_gej *prej, sec
96
96
secp256k1_fe_mul (& prej [n - 1 ].z , & prej [n - 1 ].z , & d .z );
97
97
}
98
98
99
- /** Fill a table 'pre' with precomputed odd multiples of a.
100
- *
101
- * The resulting point set is brought to a single constant Z denominator, stores the X and Y
102
- * coordinates as ge_storage points in pre, and stores the global Z in rz.
103
- * It only operates on tables sized for WINDOW_A wnaf multiples.
104
- *
105
- * To compute a*P + b*G, we compute a table for P using this function,
106
- * and use the precomputed table in <ecmult_static_pre_g.h> for G.
107
- */
108
- static void secp256k1_ecmult_odd_multiples_table_globalz_windowa (secp256k1_ge * pre , secp256k1_fe * globalz , const secp256k1_gej * a ) {
109
- secp256k1_gej prej [ECMULT_TABLE_SIZE (WINDOW_A )];
110
- secp256k1_fe zr [ECMULT_TABLE_SIZE (WINDOW_A )];
111
-
112
- /* Compute the odd multiples in Jacobian form. */
113
- secp256k1_ecmult_odd_multiples_table (ECMULT_TABLE_SIZE (WINDOW_A ), prej , zr , a );
114
- /* Bring them to the same Z denominator. */
115
- secp256k1_ge_globalz_set_table_gej (ECMULT_TABLE_SIZE (WINDOW_A ), pre , globalz , prej , zr );
116
- }
117
-
118
99
/** The following two macro retrieves a particular odd multiple from a table
119
100
* of precomputed multiples. */
120
101
#define ECMULT_TABLE_GET_GE (r ,pre ,n ,w ) do { \
0 commit comments