diff options
| author | J08nY | 2017-02-15 18:09:39 +0100 |
|---|---|---|
| committer | J08nY | 2017-02-15 18:09:39 +0100 |
| commit | 8863bda8116a540134eb6715fc91294c5938d400 (patch) | |
| tree | 6b7e855063ba8c9909b8f5c2f051b053e6a3783b /src/math | |
| parent | 2cf95775a1d1a41d49f86cbd2d66290653201367 (diff) | |
| download | ecgen-8863bda8116a540134eb6715fc91294c5938d400.tar.gz ecgen-8863bda8116a540134eb6715fc91294c5938d400.tar.zst ecgen-8863bda8116a540134eb6715fc91294c5938d400.zip | |
Add some TODOs, fix build
Diffstat (limited to 'src/math')
| -rw-r--r-- | src/math/curve.c | 10 | ||||
| -rw-r--r-- | src/math/equation.c | 10 |
2 files changed, 16 insertions, 4 deletions
diff --git a/src/math/curve.c b/src/math/curve.c index 8c8b514..42844ff 100644 --- a/src/math/curve.c +++ b/src/math/curve.c @@ -80,9 +80,15 @@ int curve_nonzero(curve_t *curve, config_t *config, ...) { } } -int curve_seed_fp(curve_t *curve, config_t *config, ...) {} +int curve_seed_fp(curve_t *curve, config_t *config, ...) { + //TODO implement + return INT_MIN; +} -int curve_seed_f2m(curve_t *curve, config_t *config, ...) {} +int curve_seed_f2m(curve_t *curve, config_t *config, ...) { + //TODO implement + return INT_MIN; +} int curve_seed(curve_t *curve, config_t *config, ...) { switch (typ(curve->field)) { diff --git a/src/math/equation.c b/src/math/equation.c index 1e29ee4..e153405 100644 --- a/src/math/equation.c +++ b/src/math/equation.c @@ -34,7 +34,10 @@ int a_one(curve_t *curve, config_t *config, ...) { return 1; } -int a_seed(curve_t *curve, config_t *config, ...) {} +int a_seed(curve_t *curve, config_t *config, ...) { + //TODO implement + return INT_MIN; +} int b_random(curve_t *curve, config_t *config, ...) { curve->b = genrand(curve->field); @@ -57,4 +60,7 @@ int b_one(curve_t *curve, config_t *config, ...) { return 1; } -int b_seed(curve_t *curve, config_t *config, ...) {} +int b_seed(curve_t *curve, config_t *config, ...) { + //TODO implement + return INT_MIN; +} |
