quarkslab / NFLlib

NTT-based Fast Lattice library
MIT License
167 stars 52 forks source link

Feature/gmp #10

Closed tlepoint closed 8 years ago

tlepoint commented 8 years ago

Add conversion functions from and back to gmp (mpz_t, mpz_class).

carlosaguilarmelchor commented 8 years ago

@tlepoint great job !!

Some questions/remarks:

tlepoint commented 8 years ago

Thanks a lot, I pushed some modifications.

carlosaguilarmelchor commented 8 years ago

Everything is ok for me. Hmm by the white paper I meant the paper accepted to CT-RSA (which is not white ...).

@serge-sans-paille @aguinet merge ?

tlepoint commented 8 years ago

Thanks for your comments @serge-sans-paille!

I removed completely all the "length" arguments, and used std::array instead of pointers. It is much cleaner thank you.

tlepoint commented 8 years ago

Thanks @serge-sans-paille, I cleaned up the setters. Is it better now?

carlosaguilarmelchor commented 8 years ago

Ok all comments seem to be adressed. Anyone needs more time to check the merge ?

If no more comments (or delay demands) are done before the end of the week I'll merge the PR.

serge-sans-paille commented 8 years ago

@carlosaguilarmelchor @tlepoint I'm ok with current state, Just made a few non-mandatory suggestion ;-)

Thanks a lot @tlepoint for taking into account my remarks!

tlepoint commented 8 years ago

Merging! Thanks @carlosaguilarmelchor and @serge-sans-paille