aboutsummaryrefslogtreecommitdiff
path: root/src/exhaustive/exhaustive.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/exhaustive/exhaustive.c')
-rw-r--r--src/exhaustive/exhaustive.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/exhaustive/exhaustive.c b/src/exhaustive/exhaustive.c
index dbc1125..5ecac24 100644
--- a/src/exhaustive/exhaustive.c
+++ b/src/exhaustive/exhaustive.c
@@ -20,6 +20,7 @@
#include "io/output.h"
#include "misc/config.h"
#include "obj/curve.h"
+#include "supersingular.h"
#include "util/memory.h"
#include "util/timeout.h"
@@ -124,6 +125,9 @@ static void exhaustive_ginit(gen_f *generators) {
if (cfg->method == METHOD_ANOMALOUS) {
generators[OFFSET_A] = &gen_skip;
generators[OFFSET_B] = &anomalous_gen_equation;
+ } else if (cfg->method == METHOD_SUPERSINGULAR) {
+ generators[OFFSET_A] = &gen_skip;
+ generators[OFFSET_B] = &supersingular_gen_equation;
} else if (cfg->koblitz) {
switch (cfg->koblitz_value) {
case 0: