summaryrefslogtreecommitdiff
path: root/gp.h
diff options
context:
space:
mode:
authorJ08nY2017-02-05 03:59:52 +0100
committerJ08nY2017-02-05 03:59:52 +0100
commit763fc80153c5e9287f1b0f0609b11fb4f50c90ab (patch)
tree5cd6e7acc4512cca65bcc16a74f3b63879b2d3bc /gp.h
parent3d9bf583ccc5eea61c5f78f52d1e2073daee924c (diff)
downloadecgen-0.2.0.tar.gz
ecgen-0.2.0.tar.zst
ecgen-0.2.0.zip
Diffstat (limited to 'gp.h')
-rw-r--r--gp.h33
1 files changed, 0 insertions, 33 deletions
diff --git a/gp.h b/gp.h
deleted file mode 100644
index 254173c..0000000
--- a/gp.h
+++ /dev/null
@@ -1,33 +0,0 @@
-/*-*- compile-command: "cc -c -o gp.gp.o -g -O3 -Wall -fomit-frame-pointer -fno-strict-aliasing -fPIC -I"/usr/include/x86_64-linux-gnu" gp.gp.c && cc -o gp.gp.so -shared -g -O3 -Wall -fomit-frame-pointer -fno-strict-aliasing -fPIC -Wl,-shared -Wl,-z,relro gp.gp.o -lc -lm -L/usr/lib/x86_64-linux-gnu -lpari"; -*-*/
-#include <pari/pari.h>
-/*
-GP;install("init_gp","v","init_gp","./gp.gp.so");
-GP;install("print_params","vD0,G,","print_params","./gp.gp.so");
-GP;install("print_params_pub","vD0,G,","print_params_pub","./gp.gp.so");
-GP;install("pack_params","D0,G,D0,G,D0,G,D0,G,","pack_params","./gp.gp.so");
-GP;install("find_point","D0,G,D0,G,D0,G,","find_point","./gp.gp.so");
-GP;install("find_points","D0,G,D0,G,D0,G,","find_points","./gp.gp.so");
-GP;install("maxprime_order","D0,G,D0,G,","maxprime_order","./gp.gp.so");
-GP;install("minprime_order","D0,G,D0,G,","minprime_order","./gp.gp.so");
-GP;install("prime_orders","D0,G,D0,G,","prime_orders","./gp.gp.so");
-GP;install("largest_prime","D0,G,D0,G,D0,G,p","largest_prime","./gp.gp.so");
-GP;install("smallest_prime","D0,G,D0,G,D0,G,p","smallest_prime","./gp.gp.so");
-GP;install("generator","D0,G,D0,G,D0,G,p","generator","./gp.gp.so");
-GP;install("all_prime","D0,G,D0,G,D0,G,p","all_prime","./gp.gp.so");
-GP;install("small_pubkey","D0,G,D0,G,D0,G,p","small_pubkey","./gp.gp.so");
-*/
-void init_gp(void);
-void print_params(GEN curve);
-void print_params_pub(GEN curve);
-GEN pack_params(GEN p, GEN a, GEN b, GEN G);
-GEN find_point(GEN e, GEN o, GEN n);
-GEN find_points(GEN e, GEN o, GEN p);
-GEN maxprime_order(GEN e, GEN o);
-GEN minprime_order(GEN e, GEN o);
-GEN prime_orders(GEN e, GEN o);
-GEN largest_prime(GEN p, GEN a, GEN b, long prec);
-GEN smallest_prime(GEN p, GEN a, GEN b, long prec);
-GEN generator(GEN p, GEN a, GEN b, long prec);
-GEN all_prime(GEN p, GEN a, GEN b, long prec);
-GEN small_pubkey(GEN p, GEN a, GEN b, long prec);
-/*End of prototype*/