Rename ecmult_gen_static_prec_table -> precomputed_ecmult_gen
This commit is contained in:
parent
f95b8106d0
commit
7cf47f72bc
|
@ -1,2 +1,2 @@
|
|||
src/ecmult_static_pre_g.h linguist-generated
|
||||
src/ecmult_gen_static_prec_table.h linguist-generated
|
||||
src/precomputed_ecmult_gen.h linguist-generated
|
||||
|
|
|
@ -150,11 +150,11 @@ precompute_ecmult_gen_LDADD = $(SECP_LIBS) $(COMMON_LIB)
|
|||
src/ecmult_static_pre_g.h:
|
||||
$(MAKE) $(AM_MAKEFLAGS) precompute_ecmult$(EXEEXT)
|
||||
./precompute_ecmult$(EXEEXT)
|
||||
src/ecmult_gen_static_prec_table.h:
|
||||
src/precomputed_ecmult_gen.h:
|
||||
$(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
|
||||
PRECOMP = src/precomputed_ecmult_gen.h src/ecmult_static_pre_g.h
|
||||
noinst_HEADERS += $(PRECOMP)
|
||||
precomp: $(PRECOMP)
|
||||
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
#include "group.h"
|
||||
#include "ecmult_gen.h"
|
||||
#include "hash_impl.h"
|
||||
#include "ecmult_gen_static_prec_table.h"
|
||||
#include "precomputed_ecmult_gen.h"
|
||||
|
||||
static void secp256k1_ecmult_gen_context_build(secp256k1_ecmult_gen_context *ctx) {
|
||||
secp256k1_ecmult_gen_blind(ctx, NULL);
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
/* 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
|
||||
#ifndef SECP256K1_PRECOMPUTED_ECMULT_GEN_H
|
||||
#define SECP256K1_PRECOMPUTED_ECMULT_GEN_H
|
||||
#include "group.h"
|
||||
#define S(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p) SECP256K1_GE_STORAGE_CONST(0x##a##u,0x##b##u,0x##c##u,0x##d##u,0x##e##u,0x##f##u,0x##g##u,0x##h##u,0x##i##u,0x##j##u,0x##k##u,0x##l##u,0x##m##u,0x##n##u,0x##o##u,0x##p##u)
|
||||
#ifdef EXHAUSTIVE_TEST_ORDER
|
||||
|
@ -9745,4 +9745,4 @@ S(9de52b81,157165cc,aef44485,4c2b3535,a599a79,80d024de,5334b385,ecbb2e91,74fca16
|
|||
};
|
||||
#endif /* EXHAUSTIVE_TEST_ORDER */
|
||||
#undef SC
|
||||
#endif /* SECP256K1_ECMULT_GEN_STATIC_PREC_TABLE_H */
|
||||
#endif /* SECP256K1_PRECOMPUTED_ECMULT_GEN_H */
|
Loading…
Reference in New Issue