On Mon, Aug 2, 2010 at 11:30 AM, Atsuhiko Yamanaka <y...@jcraft.com> wrote:
> Can you try the attached patch?
> It is just an ad-hock hack, but it may work.

Many thanks - I'll experiment with the patch.  Initially, with a loop
from 1 to 100, I still got e.length == 1.

I bumped it up to something ridiculous like 100000 and tried again.  I
can tell when it hits the problem, because there is significant delay
while it iterates through that loop.  Strangely enough, when that
happens, it comes back with numbers like 23, 26, 30.

# java -cp .:./jsch-20100802.jar com.jcraft.jsch.Test
129
128
128
129
129
129
129
128
128
128
# java -cp .:./jsch-20100802.jar com.jcraft.jsch.Test
128
128
28
20
22
30
30
23
26
30
# java -cp .:./jsch-20100802.jar com.jcraft.jsch.Test
128
128
128
128
128
129
129
128
128
128

I am going to keep digging.  My gut feeling is that this is specific
to T2 processor, which I believe has some crypto off-loading
capability.

-- 
Best Regards,

Scott Spyrison

------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm
_______________________________________________
JSch-users mailing list
JSch-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jsch-users

Reply via email to