Patch to speed-up LibTomMath

Rob Landley rob at landley.net
Sun Dec 21 11:49:09 WST 2008


On Friday 19 December 2008 09:22:07 Peter Turczak wrote:
> Hi Marco,
>
> On Dec 19, 2008, at 3:57 PM, bodrato at mail.dm.unipi.it wrote:
> > Hi Peter,
> >
> >> clocked at 166 MHz), I realised that libtommath was simply too slow.
> >
> > I agree. LibTomMath has two basic advantages: it is simple, it is
> > portable.
> > Speed is not it's main goal, nor memory efficiency (on my 32-bit CPU
> > it
> > stores 28 bit per word).
>
> Ok, here you are right. Libtomsfastmath contains ansi-C for
> portability reasons as well as assembler-snippets. So portability
> should not be an issue, more the maintainability.  (See
> http://tfm.libtomcrypt.com/features.html )

Matt mentioned that libtomcrypt might not be particularly maintained anymore, 
did Libtomsfastmath replace it or has the maintainer gone on to other things 
entirely?

Also, does the assembly in libtomsfastmath potentially make it less portable, 
or is it just optional alternative implementations you can use if you happen 
to build on a supported platform, with C fallback for everything?

The freshmeat project was last updated over 2 years ago, libtomcrypt.org isn't 
resolving at the DNS level, and the google cache says it moved to libtom.org 
which times out when I try to connect to it.

Rob



More information about the Dropbear mailing list