On 03/01/2011 08:43 AM, Jean-Marc Desperrier wrote: > Robert Relyea wrote: >> About the >> only use I could reasonable see for it would be to support PKCS #11 >> modules. > > The other use would be as an optimized base for a big num > implementation, and that's what the original distribution says : "ANSI > C code library that performs arbitrary precision integer arithmetic > functions" ( http://spinning-yarns.org/michael/mpi/#what ). > > If you want to have big nums, it's a bit stupid to separately > implement something that is in fact functionally equivalent to mpi.h My worry is 99% of the uses I ever here of bignums is crypto. Not something I want to encourage outside of the NSS library itself. mpi in NSS has not been optimized for generic arithmetic functions. There is a lot of optimization of things that are of crypto interest (prime calculate, modular exponentiation, etc). If you are really doing number research, there are plenty of libraries out there that can do that.
bob
-- dev-tech-crypto mailing list dev-tech-crypto@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-tech-crypto