aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJ08nY2018-03-05 19:23:57 +0100
committerJ08nY2018-03-05 19:27:55 +0100
commit49406044628b61f12493775e5797ac3ef441e19c (patch)
tree6e4037d4e72e5834469d62d9abfe749a47c5e721
parent676ddeb64f9d184c36598c64aa22768a41251b1d (diff)
downloadecgen-49406044628b61f12493775e5797ac3ef441e19c.tar.gz
ecgen-49406044628b61f12493775e5797ac3ef441e19c.tar.zst
ecgen-49406044628b61f12493775e5797ac3ef441e19c.zip
-rw-r--r--Doxyfile2
-rw-r--r--src/ecgen.c4
-rw-r--r--src/gen/order.c1
3 files changed, 4 insertions, 3 deletions
diff --git a/Doxyfile b/Doxyfile
index f95f983..10af0f3 100644
--- a/Doxyfile
+++ b/Doxyfile
@@ -38,7 +38,7 @@ PROJECT_NAME = "ecgen"
# could be handy for archiving the generated documentation or if some version
# control system is used.
-PROJECT_NUMBER = 0.6.3
+PROJECT_NUMBER = 0.6.5
# Using the PROJECT_BRIEF tag one can provide an optional one line description
# for a project that appears at the top of each page and should give viewer a
diff --git a/src/ecgen.c b/src/ecgen.c
index fbf6030..6311c64 100644
--- a/src/ecgen.c
+++ b/src/ecgen.c
@@ -20,7 +20,7 @@
/**
* @file ecgen.c
* @author J08nY <johny@neuromancer.sk>
- * @version 0.6.3
+ * @version 0.6.5
* @copyright GPL v2.0
*/
#include <pari/pari.h>
@@ -32,7 +32,7 @@
#include "util/timeout.h"
const char *argp_program_version =
- "ecgen 0.6.3\n"
+ "ecgen 0.6.5\n"
"Copyright (C) 2017-2018 J08nY\n"
"License GPLv2: GNU GPL version 2 (or later) "
"<http://gnu.org/licenses/gpl.html>\n"
diff --git a/src/gen/order.c b/src/gen/order.c
index 1f0d829..019ba13 100644
--- a/src/gen/order.c
+++ b/src/gen/order.c
@@ -83,6 +83,7 @@ GENERATOR(order_gen_koblitz) {
GEN order = koblitz_get_order(cfg->bits, itou(curve->a));
if (order) {
curve->order = gerepilecopy(ltop, order);
+ obj_insert_shallow(curve->curve, 1, curve->order);
} else {
GEN ord = ellff_get_card(curve->curve);
if (isclone(ord)) {