Hi Matt,
Thanks for the prompt response.
Yes, mp_exptmod() call in kexdh_comb_key() is taking around 60 seconds.
Adding #define MP_LOW_MEM 1 to options.h then make clean and rebuild
does not help the situation. I am not sure about data cache type. How to
check it?
Please share your inputs on
Hi Pratik,
Yes, mp_exptmod() the problematic part. Without performing
the verify SSH won't have any security against network
attacks - certainly not advisable.
There's also a mp_exptmod() call in kexdh_comb_key() which
creates the session key - is that call slow too?
Does adding #define
Hi Pratik,
I'm assuming that it is the session timeout that's causing
the disconnection. The log on the OpenSSH server should
confirm that.
I think the only real solution would be to improve the speed
of libtommath on that device. Running a profiler to
determine the slowest parts would be the