Closed tlepoint closed 8 years ago
@tlepoint great job !!
Some questions/remarks:
(sizeof(T) /* for the multiplication when lifting */ + sizeof(size_t) /* for the degree */)*8
%s/shoup/newton/gc %s/Shoup/Newton quotients/gc
command would be nicestatic_log2<params<T>::kMaxNbModuli>::value
should replace them in gmp.hppThanks a lot, I pushed some modifications.
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 ?
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.
Thanks @serge-sans-paille, I cleaned up the setters. Is it better now?
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.
@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!
Merging! Thanks @carlosaguilarmelchor and @serge-sans-paille
Add conversion functions from and back to gmp (mpz_t, mpz_class).