offline keygeneration

Prasad ndprasad at gmail.com
Sat Sep 30 08:02:48 WST 2006


> > > 4) It also fails few times with this method (need to investigate why)
> >
> > No idea there.
>
> Still i am unsuccessful to make the offline keycreate task stable
> along with multiple session. When i just initialize bywith
> seedrandom() and then calling gen_kexdh_vals() in a loop once in a
> while . The foreground ssh gets struck in the expmod function
> sometimes or the task sometimes gets memalloc error when couple of ssh
> request comes simultaenously. I find that libtommath uses too many

Turns out underlying libtommath exp function changes/reallocates the
value of alloc and dp (in the mp_int) from whatever allocated in
mp_init(). This was the problem that was causing me weird behaviour
(becos of uclinux). Now offline keygeneration works fine for me.

Thanx for your support matt.
- prasad



More information about the Dropbear mailing list