Fix two more stupid bugs in 3des-ctr:
authorben <ben@cda61777-01e9-0310-a592-d414129be87e>
Thu, 28 Apr 2005 08:21:04 +0000 (08:21 +0000)
committerben <ben@cda61777-01e9-0310-a592-d414129be87e>
Thu, 28 Apr 2005 08:21:04 +0000 (08:21 +0000)
commit6236e66e28beb855512418d28b0ba5303f394794
tree6eec22d0d6dbb9d96ede7d73982fc21a8778e64b
parentf579cda810e80c59cc719e0feea999e88ab09907
Fix two more stupid bugs in 3des-ctr:
 - We were using the first word of each block of keystream block twice and the
   second not at all.
 - We were incrementing the high-order word of the counter after every block
   rather than the low-order one.

With those fixed, our 3des-ctr implementation interoperates with the one in
Moussh.  Thanks to der Mouse for his help with the testing.

3des-ctr is now enabled by default.

git-svn-id: svn://svn.tartarus.org/sgt/putty@5699 cda61777-01e9-0310-a592-d414129be87e
sshdes.c