From 1834586a6850f3c93107271a0351accde78981fd Mon Sep 17 00:00:00 2001 From: J08nY Date: Sun, 9 Apr 2017 18:19:25 +0200 Subject: Added multi-threading support to invalid curve generation Invalid curve generation now supports multi-threading via pthreads, use the --threads= option. - Changed some function params to const, where possible. - Added *_new_copy, *_clone and *_new_clone functions to curve_t*, point_t* and point_t** - Made cfg->bits unsigned long - Made order_any gcopy the generated order(as it can be a clone and screw up stuff later) --- src/math/types.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/math/types.c') diff --git a/src/math/types.c b/src/math/types.c index 431c9c2..49d8620 100644 --- a/src/math/types.c +++ b/src/math/types.c @@ -4,4 +4,4 @@ */ #include "types.h" -int gen_skip(curve_t *curve, config_t *cfg, arg_t *args) { return 1; } +int gen_skip(curve_t *curve, const config_t *cfg, arg_t *args) { return 1; } -- cgit v1.2.3-70-g09d2