aboutsummaryrefslogtreecommitdiff
path: root/src/gp.h
diff options
context:
space:
mode:
authorJ08nY2017-02-07 04:06:09 +0100
committerJ08nY2017-02-07 04:12:04 +0100
commit06d927c9737589ed76b516c54ee74c8e6e44702b (patch)
tree8e7560f66a96e5bf5bb391907c3678f65581631a /src/gp.h
parent96bf13d11b595aabf514c706adcf57aefc660a1f (diff)
downloadecgen-06d927c9737589ed76b516c54ee74c8e6e44702b.tar.gz
ecgen-06d927c9737589ed76b516c54ee74c8e6e44702b.tar.zst
ecgen-06d927c9737589ed76b516c54ee74c8e6e44702b.zip
Moved to a more modular generation process
Curves are now generated in a loop through a func. pointer array, built from cli args. - Allows complex behavior from simple funcs - a func can "rewind" previous generation steps, if it can not succesfuly guarantee that it will generate a curve/param/point with property requested. - e.g. curve_nonzero rewinds [b, a, field] (returns -3) if the curve specified by [field, a, b] has a zero discriminant. This way, [field, a, b] can be generated/produced/input again and a curve might get constructed that will be nonzero.
Diffstat (limited to 'src/gp.h')
-rw-r--r--src/gp.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gp.h b/src/gp.h
index f066dec..27e4726 100644
--- a/src/gp.h
+++ b/src/gp.h
@@ -11,4 +11,4 @@ GP;install("init_gp","v","init_gp","./gp/gp.gp.so");
*/
void init_gp(void);
/*End of prototype*/
-#endif //GP_H
+#endif // GP_H