Hi Janus, The inclusion of multiple gmp.h and time.h is indeed a sloppy. This will fixed in the next release. I'm currently working on there key generation and some additional speedup. I hope to release it at the end of the week. In addition I have some for key extraction and recomputing methods. This make key storage a little easier. If you have any other comments/suggestions please let me know.
Kind regards, -Marc Wed, Jul 29, 2009 at 01:42:09PM +0200, Janus Dam Nielsen wrote: > Hi Marc > > I have successfully compiled and run test.py and time.sh. > > The results where: > > [fagid...@fiona:~/...../PyPaillier]$ ./time.sh > Encrypting: > 10 loops, best of 3: 132 msec per loop > Decrypting > 10 loops, best of 3: 39.2 msec per loop > Nice indeed. > > I have some minor comments: > > In py_paillier.c you import <sys/time.h> twice. > > Also you include gmp.h in a lot of places, both in .c and .h files is > that necessary. > > On 10/07/2009, at 10.18, Marc Makkes wrote: > > Hi Janus, > Attached you find the tarball. > Kind regards, > -Marc > <PyPaillier.tar.gz> > > ____________________________________________________ > Janus Dam Nielsen > R&D SCIENTIST, PhD. > CENTRE FOR IT-SECURITY > THE ALEXANDRA INSTITUTE LTD. > T +45 42 22 93 56 > E [1]janus.niel...@alexandra.dk > W alexandra.dk > ____________________________________________________ > > References > > 1. mailto:janus.niel...@alexandra.dk _______________________________________________ viff-devel mailing list (http://viff.dk/) viff-devel@viff.dk http://lists.viff.dk/listinfo.cgi/viff-devel-viff.dk