Improved ID-based Proxy Signature Scheme with Message Recovery
Improved version provided by Caixue Zhou of the Singh and Verma’s proxy signature scheme with message recovery.
|
The build process can be configured by editing the variables in the Makefile.conf
file.
To build the project, you need to have the PBC library installed. Then, you can build the project by running the following command:
Once it has been compiled, the project can be run by executing the following command:
For a more options, use the make command:
Warning
When using either themake dynamic
,make static
,make test
ormake benchmarks
commands, the source code will be compiled with the custom options of the specified target.
If the object are already present and the sources have not changed, there may not be any compile step.
To make sure the sources are compiled with the right flags, meaning every time the make target changes, it is advised to run themake clean
command first.
The project can be compiled as a dynamic library by running the following command:
This will create a dynamic library in the bin
directory.
To use it in your project, either include the headers in the include
directory or define the functions you intend to use in your code as extern:
When compiling the project, you need to link the library by adding the -lIdSignature
flag.
If the library is not in the default library path, you need to add the -L<path>
flag to the compiler command.
If you get the error error while loading shared libraries: libIdSignature.so: cannot open shared object file: No such file or directory
, you need to tell the linker where to find the library.
This can be achieved by setting the LD_LIBRARY_PATH
environment variable:
The project can be compiled as a static library by running the following command:
This will create a static library in the bin
directory.
To use it in your project, either include the headers in the include
directory or define the functions you intend to use in your code as extern as described in the dynamic library section.
When compiling the project, you need to link the library by adding the -lIdSignature
flag as well as all the dependencies with -lgmp
, -lpbc
and -lnettle
. If the libraries are not in the default library path, you need to add the -L<path>
flag to the compiler command.