Tartarus CVS: putty: simon

tartarus-commits@lists.tartarus.org tartarus-commits@lists.tartarus.org
Wed, 23 Apr 2003 15:49:00 +0100


CVS Root:       /home/cvs
Module:         putty
Changes by:     simon
Date:           Wed Apr 23 2003  15:49:00 BST

Log message:
Added framework to sshbn.c to make it possible to vary the
underlying integer type forming the Bignum. Using this, arranged
that gcc/x86 uses 32-bit chunks rather than the guaranteed ANSI-
portable 16-bit chunks. This has gained another 30% on key exchanges
by my measurements, but I'm not yet convinced that it's all
perfectly robust - it seems to work fine for SSH1 and SSH2/RSA but
I haven't ensured that every bignum routine is actually being
tested, so it may yet show up problems in DSA or key generation.

Modified files:
    .               : ssh.h sshbn.c

Links:
http://cvs.tartarus.org//putty/ssh.h.diff?r1=1.69&r2=1.70
http://cvs.tartarus.org//putty/sshbn.c.diff?r1=1.22&r2=1.23