LibRBP is a wrapper designed for constructing bilinear pairing groups using the RELIC library. It offers a set of convenient APIs to facilitate the implementation and prototyping of pairing-based cryptographic schemes, leveraging the capabilities of the RELIC library.
To build and install this library, you must first install RELIC and its dependencies. For a detailed installation guide, please refer to their wiki page. Once RELIC is installed and configured with the desired curve, you can simply run the following command in the root directory of this project:
mkdir build
cd build
cmake ..
make
# Optionally, you could run ctest to ensure the compile was successful.
ctest
# Optionally, you could choose to install this library to the default path.
make install
You can refer to the Dockerfile for detailed steps on setting up the environment or just build a docker image as your development environment.
A simple example of how to include and use this library is provided in the demo folder.