diff options
| author | J08nY | 2017-02-07 04:06:09 +0100 |
|---|---|---|
| committer | J08nY | 2017-02-07 04:12:04 +0100 |
| commit | 06d927c9737589ed76b516c54ee74c8e6e44702b (patch) | |
| tree | 8e7560f66a96e5bf5bb391907c3678f65581631a /src/gp.h | |
| parent | 96bf13d11b595aabf514c706adcf57aefc660a1f (diff) | |
| download | ecgen-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.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |
