]> asedeno.scripts.mit.edu Git - PuTTY.git/commit
Log which elliptic curve we're using for ECDH kex.
authorSimon Tatham <anakin@pobox.com>
Tue, 19 May 2015 07:42:23 +0000 (08:42 +0100)
committerSimon Tatham <anakin@pobox.com>
Tue, 19 May 2015 09:01:42 +0000 (10:01 +0100)
commita209b9044e6536243b4c1b662300b2055776bab2
treedccd39ce8f8bad85451c521f45d45527b60e996d
parent35fde00fd1fdc084a78dc3e4c3f94dbf16bbd236
Log which elliptic curve we're using for ECDH kex.

It seems like quite an important thing to mention in the event log!
Suppose there's a bug affecting only one curve, for example? Fixed-
group Diffie-Hellman has always logged the group, but the ECDH log
message just told you the hash and not also the curve.

To implement this, I've added a 'textname' field to all elliptic
curves, whether they're used for kex or signing or both, suitable for
use in this log message and any others we might find a need for in
future.
ssh.c
ssh.h
sshecc.c