Rename ecmult_gen_static_prec_table -> precomputed_ecmult_gen

This commit is contained in:
Pieter Wuille
2021-12-17 11:23:51 -05:00
parent f95b8106d0
commit 7cf47f72bc
5 changed files with 11 additions and 11 deletions

View File

@@ -15,7 +15,7 @@
#include "ecmult_gen_prec_impl.h"
int main(int argc, char **argv) {
const char outfile[] = "src/ecmult_gen_static_prec_table.h";
const char outfile[] = "src/precomputed_ecmult_gen.h";
FILE* fp;
int bits;
@@ -30,8 +30,8 @@ int main(int argc, char **argv) {
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");
fprintf(fp, "#ifndef SECP256K1_PRECOMPUTED_ECMULT_GEN_H\n");
fprintf(fp, "#define SECP256K1_PRECOMPUTED_ECMULT_GEN_H\n");
fprintf(fp, "#include \"group.h\"\n");
@@ -76,7 +76,7 @@ int main(int argc, char **argv) {
fprintf(fp, "};\n");
fprintf(fp, "#endif /* EXHAUSTIVE_TEST_ORDER */\n");
fprintf(fp, "#undef SC\n");
fprintf(fp, "#endif /* SECP256K1_ECMULT_GEN_STATIC_PREC_TABLE_H */\n");
fprintf(fp, "#endif /* SECP256K1_PRECOMPUTED_ECMULT_GEN_H */\n");
fclose(fp);
return 0;