summaryrefslogtreecommitdiff
path: root/utils.gp
diff options
context:
space:
mode:
Diffstat (limited to 'utils.gp')
-rw-r--r--utils.gp11
1 files changed, 0 insertions, 11 deletions
diff --git a/utils.gp b/utils.gp
deleted file mode 100644
index bfd0326..0000000
--- a/utils.gp
+++ /dev/null
@@ -1,11 +0,0 @@
-print_params(curve) = {
- printf("%x,%x,%x,%x,%x,%x,%x\n", curve[1], curve[2], curve[3], curve[4], curve[5], curve[6], curve[7]);
-}
-
-print_params_pub(curve) = {
- printf("%x,%x,%x,%x,%x,%x,%x,%x,%x,%x\n", curve[1], curve[2], curve[3], curve[4], curve[5], curve[6], curve[7], curve[8], curve[9], curve[10]);
-}
-
-pack_params(p, a, b, G) = {
- return([p, a, b, lift(G[1][1]), lift(G[1][2]), G[2], G[3]]);
-}