Skip to content

Commit 725370c

Browse files
committed
Rename ecmult_gen_prec -> ecmult_gen_compute_table
1 parent 075252c commit 725370c

5 files changed

+11
-11
lines changed

Makefile.am

+2-2
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@ noinst_HEADERS += src/ecmult_const.h
3030
noinst_HEADERS += src/ecmult_const_impl.h
3131
noinst_HEADERS += src/ecmult_gen.h
3232
noinst_HEADERS += src/ecmult_gen_impl.h
33-
noinst_HEADERS += src/ecmult_gen_prec.h
34-
noinst_HEADERS += src/ecmult_gen_prec_impl.h
33+
noinst_HEADERS += src/ecmult_gen_compute_table.h
34+
noinst_HEADERS += src/ecmult_gen_compute_table_impl.h
3535
noinst_HEADERS += src/field_10x26.h
3636
noinst_HEADERS += src/field_10x26_impl.h
3737
noinst_HEADERS += src/field_5x52.h

src/ecmult_gen_prec.h src/ecmult_gen_compute_table.h

+3-3
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@
44
* file COPYING or https://www.opensource.org/licenses/mit-license.php.*
55
***********************************************************************/
66

7-
#ifndef SECP256K1_ECMULT_GEN_PREC_H
8-
#define SECP256K1_ECMULT_GEN_PREC_H
7+
#ifndef SECP256K1_ECMULT_GEN_COMPUTE_TABLE_H
8+
#define SECP256K1_ECMULT_GEN_COMPUTE_TABLE_H
99

1010
#include "ecmult_gen.h"
1111

1212
static void secp256k1_ecmult_gen_create_prec_table(secp256k1_ge_storage* table, const secp256k1_ge* gen, int bits);
1313

14-
#endif /* SECP256K1_ECMULT_GEN_PREC_H */
14+
#endif /* SECP256K1_ECMULT_GEN_COMPUTE_TABLE_H */

src/ecmult_gen_prec_impl.h src/ecmult_gen_compute_table_impl.h

+4-4
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@
44
* file COPYING or https://www.opensource.org/licenses/mit-license.php.*
55
***********************************************************************/
66

7-
#ifndef SECP256K1_ECMULT_GEN_PREC_IMPL_H
8-
#define SECP256K1_ECMULT_GEN_PREC_IMPL_H
7+
#ifndef SECP256K1_ECMULT_GEN_COMPUTE_TABLE_IMPL_H
8+
#define SECP256K1_ECMULT_GEN_COMPUTE_TABLE_IMPL_H
99

10-
#include "ecmult_gen_prec.h"
10+
#include "ecmult_gen_compute_table.h"
1111
#include "group_impl.h"
1212
#include "field_impl.h"
1313
#include "ecmult_gen.h"
@@ -78,4 +78,4 @@ static void secp256k1_ecmult_gen_create_prec_table(secp256k1_ge_storage* table,
7878
free(prec);
7979
}
8080

81-
#endif /* SECP256K1_ECMULT_GEN_PREC_IMPL_H */
81+
#endif /* SECP256K1_ECMULT_GEN_COMPUTE_TABLE_IMPL_H */

src/precompute_ecmult_gen.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
#include "util.h"
1313
#include "group.h"
1414
#include "ecmult_gen.h"
15-
#include "ecmult_gen_prec_impl.h"
15+
#include "ecmult_gen_compute_table_impl.h"
1616

1717
int main(int argc, char **argv) {
1818
const char outfile[] = "src/precomputed_ecmult_gen.h";

src/tests_exhaustive.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
#include "assumptions.h"
2323
#include "group.h"
2424
#include "testrand_impl.h"
25-
#include "ecmult_gen_prec_impl.h"
25+
#include "ecmult_gen_compute_table_impl.h"
2626

2727
static int count = 2;
2828

0 commit comments

Comments
 (0)