simon-git: putty (master): Simon Tatham

Commits to Tartarus CVS repository. tartarus-commits at lists.tartarus.org
Sat May 9 15:16:49 BST 2015


TL;DR:
  a63435f Const-correctness in the debug functions!
  ba3d8fd Vary cmdgen's default key size based on key type.
  7d6bf4a Provide a little-endian version of bignum_from_bytes().
  541abf9 Support ECDH key exchange using the 'curve25519' curve.
  76a4b57 Support public keys using the "ssh-ed25519" method.

Repository:     git://git.tartarus.org/simon/putty.git
On the web:     http://tartarus.org/~simon-git/gitweb/?p=putty.git
Branch updated: master
Committer:      Simon Tatham <anakin at pobox.com>
Date:           2015-05-09 15:16:49

commit a63435f6cce3a11987c573a5e37d345f2fdd673a
web diff http://tartarus.org/~simon-git/gitweb/?p=putty.git;a=commitdiff;h=a63435f6cce3a11987c573a5e37d345f2fdd673a;hp=42c592c4ef024af30af91241f651f699d6dbff0b
Author: Simon Tatham <anakin at pobox.com>
Date:   Sat May 9 15:02:45 2015 +0100

    Const-correctness in the debug functions!
    
    I'm finding missing constifications all over the place this week.
    Turns out that dmemdump() has been taking a non-const memory pointer
    ever since the beginning, and it's never come up until now. How silly.

 misc.c |    6 +++---
 misc.h |    4 ++--
 2 files changed, 5 insertions(+), 5 deletions(-)

commit ba3d8fd1b96a532da1957aaea8f4924667000033
web diff http://tartarus.org/~simon-git/gitweb/?p=putty.git;a=commitdiff;h=ba3d8fd1b96a532da1957aaea8f4924667000033;hp=a63435f6cce3a11987c573a5e37d345f2fdd673a
Author: Simon Tatham <anakin at pobox.com>
Date:   Sat May 9 15:02:47 2015 +0100

    Vary cmdgen's default key size based on key type.
    
    It's a bit silly to have 'puttygen -t ecdsa' immediately crash out
    because the default key size is 2048 and we don't know a 2048-bit
    elliptic curve.

 cmdgen.c |   17 ++++++++++++++++-
 1 file changed, 16 insertions(+), 1 deletion(-)

commit 7d6bf4a6ca94cca24189c5a81c48d78cde407038
web diff http://tartarus.org/~simon-git/gitweb/?p=putty.git;a=commitdiff;h=7d6bf4a6ca94cca24189c5a81c48d78cde407038;hp=ba3d8fd1b96a532da1957aaea8f4924667000033
Author: Chris Staite <chris at yourdreamnet.co.uk>
Date:   Sat May 9 15:02:50 2015 +0100

    Provide a little-endian version of bignum_from_bytes().

 ssh.h   |    1 +
 sshbn.c |   22 ++++++++++++++++++++++
 2 files changed, 23 insertions(+)

commit 541abf92583cd93f3952aa0e3b8f61ba9251f3fa
web diff http://tartarus.org/~simon-git/gitweb/?p=putty.git;a=commitdiff;h=541abf92583cd93f3952aa0e3b8f61ba9251f3fa;hp=7d6bf4a6ca94cca24189c5a81c48d78cde407038
Author: Chris Staite <chris at yourdreamnet.co.uk>
Date:   Sat May 9 15:02:52 2015 +0100

    Support ECDH key exchange using the 'curve25519' curve.
    
    This is the kex protocol id "curve25519-sha256 at 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       |    9 +-
 ssh.h       |   30 +-
 sshecc.c    | 1155 ++++++++++++++++++++++++++++++++++++++++++++++-------------
 sshecdsag.c |    4 +-
 4 files changed, 937 insertions(+), 261 deletions(-)

commit 76a4b576e58fa3b245b02f9fbb052e4651acbfa9
web diff http://tartarus.org/~simon-git/gitweb/?p=putty.git;a=commitdiff;h=76a4b576e58fa3b245b02f9fbb052e4651acbfa9;hp=541abf92583cd93f3952aa0e3b8f61ba9251f3fa
Author: Chris Staite <chris at yourdreamnet.co.uk>
Date:   Sat May 9 15:02:54 2015 +0100

    Support public keys using the "ssh-ed25519" method.
    
    This introduces a third system of elliptic curve representation and
    arithmetic, namely Edwards form.

 cmdgen.c          |   21 +-
 ssh.c             |    1 +
 ssh.h             |   13 +-
 sshecc.c          | 1237 ++++++++++++++++++++++++++++++++++++++++++++++++-----
 sshecdsag.c       |   38 ++
 sshpubk.c         |    2 +
 windows/winpgen.c |   40 +-
 7 files changed, 1245 insertions(+), 107 deletions(-)



More information about the tartarus-commits mailing list