mpn_sec_powm

Niels Möller nisse at lysator.liu.se
Tue Feb 11 21:05:48 UTC 2014


Torbjorn Granlund <tg at gmplib.org> writes:

> The exponent size argument docs implies that bits in the leading limb
> beyond the bit count argument are to be ignored.  I am not sure that is
> a wise promise.

Given the current implementation, it's natural. But we could document
that it is required that any left over bits in the top limb must be
zero. Would that be better?

> Please use something else than ebits, since that sounds like the
> arguments contains bits with individual meaning.  IIRC "enb" would
> follow conventions used elsewhere in the manual.

Ok, then I should switch to enb both in the docs and the code.

/Niels

-- 
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