Re: Write error : dbclient

2014-10-08 Thread pratik singh
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

Re: Write error : dbclient

2014-09-28 Thread Matt Johnston
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

Re: Write error : dbclient

2014-09-24 Thread Matt Johnston
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