mpn_sec_powm

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


Torbjorn Granlund <tg at gmplib.org> writes:

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

Naming is hard ;-) The docs for mpn_sec_invert use nbcnt (I guess that's
your choice). Docs for mpf_urandomb use nbits. Other mp_bitcnt_t
arguments in the manual give little guidance, names like n, op,
starting_bit, bit_index, prec, bit, m2exp.

So "enb" here is as good as any.

/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