概述
#include <pbc/pbc.h>
#include <pbc/pbc_test.h>
#include <stdio.h>
#include <math.h>
#include <gmp.h>
#include <string.h>
typedef struct {
field_t Fq, Fq2, Eq;
int exp2, exp1;
int sign1;
} *a_pairing_data_ptr;
typedef struct {
field_ptr field;
element_t a, b;
mpz_ptr cofac;
element_t gen_no_cofac;
element_t gen;
mpz_ptr quotient_cmp;
} *curve_data_ptr;
void messageToValue(void *message, mpz_t message_mpz, char *m){
char* c = NULL;
unsigned int value = 0, size = 0;
c = message;
while(*c != '