This is a fork of libpaillier implemented by John Bethencourt. Please see original README.
Make sure GMP is installed.
$ ./configure
$ make
$ gcc -O3 test.c paillier.o -lgmp -o test -std=gnu11
$ ./test
$ gcc -O3 bench.c paillier.o -lgmp -o bench -std=gnu11
$ ./bench