config: Set preprocessor defaults for ECMULT_* config values

This simplifies manual builds and solves one item in #929.
This commit is contained in:
Tim Ruffing
2022-07-06 15:07:57 +02:00
parent af65d30cc8
commit d0cf55e13a
2 changed files with 6 additions and 0 deletions

View File

@@ -11,6 +11,9 @@
#include "scalar.h"
#include "scratch.h"
#ifndef ECMULT_WINDOW_SIZE
# define ECMULT_WINDOW_SIZE 15
#endif
/* Noone will ever need more than a window size of 24. The code might
* be correct for larger values of ECMULT_WINDOW_SIZE but this is not
* tested.