]> asedeno.scripts.mit.edu Git - PuTTY.git/commit
Add support for HMAC-SHA-256 as an SSH-2 MAC algorithm ("hmac-sha2-256")
authorBen Harris <bjh21@bjh21.me.uk>
Wed, 20 Feb 2013 23:30:55 +0000 (23:30 +0000)
committerBen Harris <bjh21@bjh21.me.uk>
Wed, 20 Feb 2013 23:30:55 +0000 (23:30 +0000)
commit8f3cc4a9bff7a6dbce8c175e0061d2300677b131
treecd3a1e2303c706147c4d98f274251e7cc5c69e41
parent3045a9ac8c3202b7917cdfebc349cedb5f763e2c
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.

[originally from svn r9759]
ssh.c
ssh.h
sshsh256.c