]> asedeno.scripts.mit.edu Git - PuTTY.git/commit
Support ECDH key exchange using the 'curve25519' curve.
authorChris Staite <chris@yourdreamnet.co.uk>
Sat, 9 May 2015 14:02:52 +0000 (15:02 +0100)
committerSimon Tatham <anakin@pobox.com>
Sat, 9 May 2015 14:07:14 +0000 (15:07 +0100)
commit541abf92583cd93f3952aa0e3b8f61ba9251f3fa
treea8a6449fcf29f925e9f39e41d41b2ce2905fc0ed
parent7d6bf4a6ca94cca24189c5a81c48d78cde407038
Support ECDH key exchange using the 'curve25519' curve.

This is the kex protocol id "curve25519-sha256@libssh.org", so called
because it's over the prime field of order 2^255 - 19.

Arithmetic in this curve is done using the Montgomery representation,
rather than the Weierstrass representation. So 'struct ec_curve' has
grown a discriminant field and a union of subtypes.
ssh.c
ssh.h
sshecc.c
sshecdsag.c