aboutsummaryrefslogtreecommitdiff
path: root/src/point.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/point.c')
-rw-r--r--src/point.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/point.c b/src/point.c
new file mode 100644
index 0000000..8fa1007
--- /dev/null
+++ b/src/point.c
@@ -0,0 +1,13 @@
+/*
+ * ecgen, tool for generating Elliptic curve domain parameters
+ * Copyright (C) 2017 J08nY
+ */
+#include "point.h"
+
+
+point_t *gerepile_point(pari_sp ltop, point_t *point) {
+ if (point) {
+ gerepileall(ltop, 2, &point->point, &point->order);
+ }
+ return point;
+} \ No newline at end of file