PBC library with sgx support.
This library requires SGX compatible GMP library.
Follow the instructions at SGX-enabled GMP library to install GMP library. We recommend you not to set the --prefix
parameter while configuring the library. This will by default install the library uder /usr/local/
which is the requirement of Kaleido.
SGX compatible PBC source code can be found under cess_pbc/pbc. To build the library please follow the instructions below.
You may set the following environment before executing the following commands
export SGX_TSTDC_CPPFLAGS=-I/usr/local/include
cd cess_pbc/pbc
./bootstrap
./configure
make
make install