Rename gen_ecmult_static_pre_g -> precompute_ecmult
This commit is contained in:
parent
bae77685eb
commit
f95b8106d0
|
@ -4,7 +4,7 @@ bench_internal
|
||||||
tests
|
tests
|
||||||
exhaustive_tests
|
exhaustive_tests
|
||||||
precompute_ecmult_gen
|
precompute_ecmult_gen
|
||||||
gen_ecmult_static_pre_g
|
precompute_ecmult
|
||||||
valgrind_ctime_test
|
valgrind_ctime_test
|
||||||
*.exe
|
*.exe
|
||||||
*.so
|
*.so
|
||||||
|
|
12
Makefile.am
12
Makefile.am
|
@ -130,12 +130,12 @@ TESTS += exhaustive_tests
|
||||||
endif
|
endif
|
||||||
|
|
||||||
### Precomputed tables
|
### Precomputed tables
|
||||||
EXTRA_PROGRAMS = gen_ecmult_static_pre_g precompute_ecmult_gen
|
EXTRA_PROGRAMS = precompute_ecmult precompute_ecmult_gen
|
||||||
CLEANFILES = $(EXTRA_PROGRAMS)
|
CLEANFILES = $(EXTRA_PROGRAMS)
|
||||||
|
|
||||||
gen_ecmult_static_pre_g_SOURCES = src/gen_ecmult_static_pre_g.c
|
precompute_ecmult_SOURCES = src/precompute_ecmult.c
|
||||||
gen_ecmult_static_pre_g_CPPFLAGS = $(SECP_INCLUDES)
|
precompute_ecmult_CPPFLAGS = $(SECP_INCLUDES)
|
||||||
gen_ecmult_static_pre_g_LDADD = $(SECP_LIBS) $(COMMON_LIB)
|
precompute_ecmult_LDADD = $(SECP_LIBS) $(COMMON_LIB)
|
||||||
|
|
||||||
precompute_ecmult_gen_SOURCES = src/precompute_ecmult_gen.c
|
precompute_ecmult_gen_SOURCES = src/precompute_ecmult_gen.c
|
||||||
precompute_ecmult_gen_CPPFLAGS = $(SECP_INCLUDES)
|
precompute_ecmult_gen_CPPFLAGS = $(SECP_INCLUDES)
|
||||||
|
@ -148,8 +148,8 @@ precompute_ecmult_gen_LDADD = $(SECP_LIBS) $(COMMON_LIB)
|
||||||
# This means that rebuilds of the prebuilt files always need to be
|
# This means that rebuilds of the prebuilt files always need to be
|
||||||
# forced by deleting them, e.g., by invoking `make clean-precomp`.
|
# forced by deleting them, e.g., by invoking `make clean-precomp`.
|
||||||
src/ecmult_static_pre_g.h:
|
src/ecmult_static_pre_g.h:
|
||||||
$(MAKE) $(AM_MAKEFLAGS) gen_ecmult_static_pre_g$(EXEEXT)
|
$(MAKE) $(AM_MAKEFLAGS) precompute_ecmult$(EXEEXT)
|
||||||
./gen_ecmult_static_pre_g$(EXEEXT)
|
./precompute_ecmult$(EXEEXT)
|
||||||
src/ecmult_gen_static_prec_table.h:
|
src/ecmult_gen_static_prec_table.h:
|
||||||
$(MAKE) $(AM_MAKEFLAGS) precompute_ecmult_gen$(EXEEXT)
|
$(MAKE) $(AM_MAKEFLAGS) precompute_ecmult_gen$(EXEEXT)
|
||||||
./precompute_ecmult_gen$(EXEEXT)
|
./precompute_ecmult_gen$(EXEEXT)
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
/* This file was automatically generated by gen_ecmult_static_pre_g. */
|
/* This file was automatically generated by precompute_ecmult. */
|
||||||
/* This file contains an array secp256k1_pre_g with odd multiples of the base point G and
|
/* This file contains an array secp256k1_pre_g with odd multiples of the base point G and
|
||||||
* an array secp256k1_pre_g_128 with odd multiples of 2^128*G for accelerating the computation of a*P + b*G.
|
* an array secp256k1_pre_g_128 with odd multiples of 2^128*G for accelerating the computation of a*P + b*G.
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -87,7 +87,7 @@ int main(void) {
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
fprintf(fp, "/* This file was automatically generated by gen_ecmult_static_pre_g. */\n");
|
fprintf(fp, "/* This file was automatically generated by precompute_ecmult. */\n");
|
||||||
fprintf(fp, "/* This file contains an array secp256k1_pre_g with odd multiples of the base point G and\n");
|
fprintf(fp, "/* This file contains an array secp256k1_pre_g with odd multiples of the base point G and\n");
|
||||||
fprintf(fp, " * an array secp256k1_pre_g_128 with odd multiples of 2^128*G for accelerating the computation of a*P + b*G.\n");
|
fprintf(fp, " * an array secp256k1_pre_g_128 with odd multiples of 2^128*G for accelerating the computation of a*P + b*G.\n");
|
||||||
fprintf(fp, " */\n");
|
fprintf(fp, " */\n");
|
Loading…
Reference in New Issue