aboutsummaryrefslogtreecommitdiff
path: root/src/math/poly.h
diff options
context:
space:
mode:
authorJ08nY2017-05-23 19:47:10 +0200
committerJ08nY2017-05-23 19:47:10 +0200
commitca21d236ea409fa40f4bda693777054add7ef73f (patch)
tree2f48596d5a28c631be159bed5637e3350f187f4b /src/math/poly.h
parent3f9e42b055c305f05da3f57b2501600488d377a7 (diff)
downloadecgen-ca21d236ea409fa40f4bda693777054add7ef73f.tar.gz
ecgen-ca21d236ea409fa40f4bda693777054add7ef73f.tar.zst
ecgen-ca21d236ea409fa40f4bda693777054add7ef73f.zip
Added generating of points on all subgroups of a curve.
- Use --points=all, the number of points can be quite large however, it's 2^(num of prime subgroups of the curve).
Diffstat (limited to 'src/math/poly.h')
-rw-r--r--src/math/poly.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/math/poly.h b/src/math/poly.h
index 664ca6b..83b909a 100644
--- a/src/math/poly.h
+++ b/src/math/poly.h
@@ -12,10 +12,10 @@
#include <stdbool.h>
typedef struct {
- int m;
- int e1;
- int e2;
- int e3;
+ unsigned int m;
+ unsigned int e1;
+ unsigned int e2;
+ unsigned int e3;
} polynomial_t;
/**