From fca74d4bc3569506a6659880a89aa009dc11f552 Mon Sep 17 00:00:00 2001 From: wukong Date: Mon, 23 Nov 2015 17:48:48 +0100 Subject: moon-abe cleanup Change-Id: Ie1259856db03f0b9e80de3e967ec6bd1f03191b3 --- moon-abe/pbc-0.5.14/gen/geneparam.c | 21 --------------------- 1 file changed, 21 deletions(-) delete mode 100644 moon-abe/pbc-0.5.14/gen/geneparam.c (limited to 'moon-abe/pbc-0.5.14/gen/geneparam.c') diff --git a/moon-abe/pbc-0.5.14/gen/geneparam.c b/moon-abe/pbc-0.5.14/gen/geneparam.c deleted file mode 100644 index a8109127..00000000 --- a/moon-abe/pbc-0.5.14/gen/geneparam.c +++ /dev/null @@ -1,21 +0,0 @@ -// Generate type E pairings. -// Usage: -// geneparam [RBITS [QBITS]] -// -// RBITS -// The number of bits in r, the order of the subgroup G1. Default is 160. -// QBITS -// The number of bits in q, the order of the full group. Default is 1024. - -#include "pbc.h" - -int main(int argc, char **argv) { - int rbits = argc > 1 ? atoi(argv[1]) : 160; - int qbits = argc > 2 ? atoi(argv[2]) : 1024; - - pbc_param_t par; - pbc_param_init_e_gen(par, rbits, qbits); - pbc_param_out_str(stdout, par); - pbc_param_clear(par); - return 0; -} -- cgit 1.2.3-korg