config: Set preprocessor defaults for ECMULT_* config values
This simplifies manual builds and solves one item in #929.
This commit is contained in:
1 parent
af65d30cc8
commit
d0cf55e13a
2 files changed
+6
No files matched your search
@@ -10,6 +10,9 @@
|
||||
#include "scalar.h"
|
||||
#include "group.h"
|
||||
|
||||
#ifndef ECMULT_GEN_PREC_BITS
|
||||
# define ECMULT_GEN_PREC_BITS 4
|
||||
#endif
|
||||
#if ECMULT_GEN_PREC_BITS != 2 && ECMULT_GEN_PREC_BITS != 4 && ECMULT_GEN_PREC_BITS != 8
|
||||
# error "Set ECMULT_GEN_PREC_BITS to 2, 4 or 8."
|
||||
#endif
|
||||
|
||||
Reference in new issue
Block a user