TODO for 5.2

Niels Möller nisse at
Sun Dec 29 16:33:40 UTC 2013

Torbjorn Granlund <tg at> writes:

> I notice you make this non-public.  Is it premature to make it part of
> the public interface?

I just put the declarations together with the other mpn_sec_* functions.
I think it makes sense to make mpn_sec_div_*, mpn_sec_minvert and
mpn_sec_powm public together. Does mpn_sec_powm need more work (besides
the rename) before made public?

Also about naming, I noticed the inconsistency between mpz_invert and
mpn_invert, which do very different things. If/when we add an mpz
function corresponding to mpn_sec_minvert, I guess that would be named


Niels Möller. PGP-encrypted email is preferred. Keyid C0B98E26.
Internet email is subject to wholesale government surveillance.

More information about the gmp-devel mailing list