Patch to speed-up LibTomMath

Rob Landley rob at landley.net
Fri Dec 19 08:42:47 WST 2008


On Thursday 18 December 2008 05:19:36 Matt Johnston wrote:
> On Wed, Dec 17, 2008 at 11:20:07PM +0100, bodrato at mail.dm.unipi.it wrote:
> > I patched the 3-way Toom from libtommath with some simple optimizations
> > ( http://ln.bodrato.it/FasterToomConvolution_pdf ), now it is
> > significantly faster: on my laptop it "obsoletes" the Karatsuba code,
> > since it is as fast a Karatsuba for small operands, but faster for bigger
> > ones.
> > Now the question is: are you interested in the patch?
> > (maybe you prefer not to modify an "external and imported" library...)
> > In the case you are interested, how should I submit the new files?
>
> Hi Marco,
>
> Speedups for libtommath would be of interest. I guess the
> easiest way would be to email me off-list with a patch or
> a set of the relevant files? I won't guarantee that I'll include
> the changes (given I haven't dealt with the LibTomMath code
> much in depth) though it sounds useful. I'm not 100% sure
> whether Tom is still interested in work on LibTom*
> or not - the releases page suggests not.

Speaking of which:

Last year I posted to this list asking what would be involved in adding 
stunnel support to dropbear:

http://lists.ucc.gu.uwa.edu.au/pipermail/dropbear/2007q3/000638.html

I got forarded to an embedded openssl clone and xrelayd that can presumably 
stunnel on top of that:
http://www.ohloh.net/p/xyssl
http://znerol.ch/

Since dropbear already contains libtomcrypt, it seems like it would be smaller 
(and simpler) to have this functionality integrated, but I dunno how to do it.  
(It would be really nice if dropbear provided stunnel, that would allow the 
busybox web server to trivially grow https support.)

Matt: do you have any idea how much work this would be to add to dropbear?  (I 
downloaded the RFCs on https last year and spent several hours reading them, 
but my brain melted and I never got back to it...)

Rob



More information about the Dropbear mailing list