diff --git a/.gitignore b/.gitignore index 22cd50050135e..d5159ea3898c6 100644 --- a/.gitignore +++ b/.gitignore @@ -3,7 +3,7 @@ bench_ecmult bench_internal tests exhaustive_tests -gen_ecmult_gen_static_prec_table +precompute_ecmult_gen gen_ecmult_static_pre_g valgrind_ctime_test *.exe diff --git a/Makefile.am b/Makefile.am index 7ea29bc6e3fd5..d47a8a3131ce4 100644 --- a/Makefile.am +++ b/Makefile.am @@ -130,16 +130,16 @@ TESTS += exhaustive_tests endif ### Precomputed tables -EXTRA_PROGRAMS = gen_ecmult_static_pre_g gen_ecmult_gen_static_prec_table +EXTRA_PROGRAMS = gen_ecmult_static_pre_g precompute_ecmult_gen CLEANFILES = $(EXTRA_PROGRAMS) gen_ecmult_static_pre_g_SOURCES = src/gen_ecmult_static_pre_g.c gen_ecmult_static_pre_g_CPPFLAGS = $(SECP_INCLUDES) gen_ecmult_static_pre_g_LDADD = $(SECP_LIBS) $(COMMON_LIB) -gen_ecmult_gen_static_prec_table_SOURCES = src/gen_ecmult_gen_static_prec_table.c -gen_ecmult_gen_static_prec_table_CPPFLAGS = $(SECP_INCLUDES) -gen_ecmult_gen_static_prec_table_LDADD = $(SECP_LIBS) $(COMMON_LIB) +precompute_ecmult_gen_SOURCES = src/precompute_ecmult_gen.c +precompute_ecmult_gen_CPPFLAGS = $(SECP_INCLUDES) +precompute_ecmult_gen_LDADD = $(SECP_LIBS) $(COMMON_LIB) # See Automake manual, Section "Errors with distclean". # We don't list any dependencies for the prebuilt files here because @@ -151,8 +151,8 @@ src/ecmult_static_pre_g.h: $(MAKE) $(AM_MAKEFLAGS) gen_ecmult_static_pre_g$(EXEEXT) ./gen_ecmult_static_pre_g$(EXEEXT) src/ecmult_gen_static_prec_table.h: - $(MAKE) $(AM_MAKEFLAGS) gen_ecmult_gen_static_prec_table$(EXEEXT) - ./gen_ecmult_gen_static_prec_table$(EXEEXT) + $(MAKE) $(AM_MAKEFLAGS) precompute_ecmult_gen$(EXEEXT) + ./precompute_ecmult_gen$(EXEEXT) PRECOMP = src/ecmult_gen_static_prec_table.h src/ecmult_static_pre_g.h noinst_HEADERS += $(PRECOMP) diff --git a/src/ecmult_gen_static_prec_table.h b/src/ecmult_gen_static_prec_table.h index bf4e5ea248f31..057976b8c0e66 100644 --- a/src/ecmult_gen_static_prec_table.h +++ b/src/ecmult_gen_static_prec_table.h @@ -1,4 +1,4 @@ -/* This file was automatically generated by gen_ecmult_gen_static_prec_table. */ +/* This file was automatically generated by precompute_ecmult_gen. */ /* See ecmult_gen_impl.h for details about the contents of this file. */ #ifndef SECP256K1_ECMULT_GEN_STATIC_PREC_TABLE_H #define SECP256K1_ECMULT_GEN_STATIC_PREC_TABLE_H diff --git a/src/gen_ecmult_gen_static_prec_table.c b/src/precompute_ecmult_gen.c similarity index 96% rename from src/gen_ecmult_gen_static_prec_table.c rename to src/precompute_ecmult_gen.c index 22923df3134b1..5f8d274abbc7b 100644 --- a/src/gen_ecmult_gen_static_prec_table.c +++ b/src/precompute_ecmult_gen.c @@ -28,7 +28,7 @@ int main(int argc, char **argv) { return -1; } - fprintf(fp, "/* This file was automatically generated by gen_ecmult_gen_static_prec_table. */\n"); + fprintf(fp, "/* This file was automatically generated by precompute_ecmult_gen. */\n"); fprintf(fp, "/* See ecmult_gen_impl.h for details about the contents of this file. */\n"); fprintf(fp, "#ifndef SECP256K1_ECMULT_GEN_STATIC_PREC_TABLE_H\n"); fprintf(fp, "#define SECP256K1_ECMULT_GEN_STATIC_PREC_TABLE_H\n");