Hi William,
That's puzzling. I wonder if the hotspot is different on the Microblaze device
versus what you see with valgrind - googling I came across a setup that sounds
similar to yours [1], they thought the SDRAM interface was the bottleneck. Do
you know what kind of memory setup your CPU
Hi Matt,
Thank you for your interest. I put the modified files, here:
https://github.com/bvwelch/dropbear
If you prefer a fork, or other approach, let me know and I will revise the
upload.
I can go back to my microblaze and capture the dropbear race output, and
probably could run gprof on the
Greetings,
I completed a first cut of the fast math version -- sadly, it did not help
much. I went back to my linux PC and did some testing with
valgrind/callgrind -- and, according to callgrind, for both the tommath and
the fast math versions, the hot spots are in tight loops inside of
Greetings,
An update -- the first step is complete -- modified the source to make use
of ltc_mp, but using ltm_desc and USE_LTM. I generated an rsa host key and
logged in via ssh, as a basic test case.
A couple of small details I am working on -- there are some small
differences between the
Hi,
I think the solution is to use tomsfastmath instead. There was a patched
version posted a while ago on this list. Eventually I'd like to have Dropbear
able to build against either tomsfastmath (for speed) or libtommath (for
portability) using the ltc_mp mechanism in libtomcrypt.
There's
I'd start from 2013.58. It's mostly a case of search/replace
of function calls, though mp_init is a bit different I
think (it allocates whereas the straight libtommath version
doesn't?). Take a look at
https://secure.ucc.asn.au/hg/dropbear/file/75509065db53/ecdsa.c#l169
- the ltc_mp variable is
OK, thanks for the pointers. I realize that you are in no way obligated to
incorporate such changes into your official version, but I will try to make
these changes in such a way that they may be useful to you...
Right now, after a brief review, my thinking is to add tomsfastmath (TFM)
to your
Hi William,
a few years ago I did the port of dropbear to use TFM. It was more a proof of
concept port, but it worked a treat.
There were some functions missing in TFM, which I had to port forward from
libtommath.
You can find my old tarball here http://peter.turczak.de/dropbear-tfm.tgz .
Greetings,
First -- thank you for dropbear! I have enjoyed using dropbear on various
smallish systems for years now!
But I have a problem with a specific system -- admittedly it is rather slow
-- only 50 BogoMips according to the linux kernel. It is a Microblaze.
I use the Buildroot system for