aboutsummaryrefslogtreecommitdiff
path: root/src/cm
diff options
context:
space:
mode:
authorJ08nY2017-02-16 21:31:50 +0100
committerJ08nY2017-02-16 21:31:50 +0100
commit7ae0d913d7bbfb286aaa9a5c9984e9bd7eb81df2 (patch)
treeb0f2d97310b9d0a3e4ba2e0a1cfbcf31d608383e /src/cm
parent5d9d12811441930169b0517318dcf21c51b72e2d (diff)
downloadecgen-7ae0d913d7bbfb286aaa9a5c9984e9bd7eb81df2.tar.gz
ecgen-7ae0d913d7bbfb286aaa9a5c9984e9bd7eb81df2.tar.zst
ecgen-7ae0d913d7bbfb286aaa9a5c9984e9bd7eb81df2.zip
Optimized invalid curve generation, added optional args to gen_t
- Optimized invalid curve generation - Invalid curve generation for secp256r1 now takes around 90minutes instead of 5hours as before - Optimized prime point generation(if only some small prime order points are needed -> points_primet) - Added a_once and b_once that prompt for parameter input and then set the input parameter repeatedly - Added optional args to gen_t functions - Integer input now ignores whitespace and doesnt errorneously prompt stdout when reading from file - Specified C standard(C11) + feature macros in code.
Diffstat (limited to 'src/cm')
-rw-r--r--src/cm/cm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cm/cm.c b/src/cm/cm.c
index 6595226..8b61c65 100644
--- a/src/cm/cm.c
+++ b/src/cm/cm.c
@@ -5,6 +5,6 @@
#include "cm.h"
int cm_do(config_t *cfg) {
- //TODO implement
+ // TODO implement
return INT_MIN;
-} \ No newline at end of file
+}