]> asedeno.scripts.mit.edu Git - PuTTY.git/commit
Added framework to sshbn.c to make it possible to vary the
authorSimon Tatham <anakin@pobox.com>
Wed, 23 Apr 2003 14:48:57 +0000 (14:48 +0000)
committerSimon Tatham <anakin@pobox.com>
Wed, 23 Apr 2003 14:48:57 +0000 (14:48 +0000)
commitafd4b4d662b82c80af0e866d7225c50163e67d86
tree34f8131ecdf89a2d71e491e0065108a93c24761f
parent041dcfd83dab1899fa0cf85a3a4a8575aace2e08
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.

[originally from svn r3135]
ssh.h
sshbn.c