simon-svn: putty: ben

tartarus-commits at lists.tartarus.org tartarus-commits at lists.tartarus.org
Thu Apr 28 09:21:04 BST 2005


SVN root:       svn://ixion.tartarus.org/main
Changes by:     ben
Revision:       5699
Date:           2005-04-28 09:21:04 +0100 (Thu, 28 Apr 2005)

Log message (10 lines):
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.

Modified files:
U   putty/sshdes.c

Links:
http://www.tartarus.org/~simon-anonsvn/viewcvs.cgi?rev=5699&view=rev
http://www.tartarus.org/~simon-anonsvn/viewcvs.cgi/putty/sshdes.c?rev=5699&r1=5698&r2=5699



More information about the tartarus-commits mailing list