simon-svn: putty: ben

Commits to Tartarus CVS repository. tartarus-commits at lists.tartarus.org
Wed Feb 20 23:30:57 GMT 2013


SVN root:       svn://svn.tartarus.org/sgt
Changes by:     ben
Revision:       9759
Date:           2013-02-20 23:30:55 +0000 (Wed, 20 Feb 2013)

Log message (8 lines):
Add support for HMAC-SHA-256 as an SSH-2 MAC algorithm ("hmac-sha2-256") 
as specified in RFC 6668.  This is not so much because I think it's 
necessary, but because scrypt uses HMAC-SHA-256 and once we've got it we 
may as well use it.

Code very closely derived from the HMAC-SHA-1 code.

Tested against OpenSSH 5.9p1 Debian-5ubuntu1.

Modified files:
U   putty/ssh.c
U   putty/ssh.h
U   putty/sshsh256.c

Links:
http://svn.tartarus.org/sgt/?rev=9759&view=rev
http://svn.tartarus.org/sgt/putty/ssh.c?rev=9759&r1=9758&r2=9759
http://svn.tartarus.org/sgt/putty/ssh.h?rev=9759&r1=9758&r2=9759
http://svn.tartarus.org/sgt/putty/sshsh256.c?rev=9759&r1=9758&r2=9759



More information about the tartarus-commits mailing list