]> asedeno.scripts.mit.edu Git - PuTTY.git/commit - ssh.c
Remove arbitrary limit SSH2_MKKEY_ITERS.
authorSimon Tatham <anakin@pobox.com>
Fri, 21 Aug 2015 22:40:16 +0000 (23:40 +0100)
committerSimon Tatham <anakin@pobox.com>
Fri, 21 Aug 2015 22:41:05 +0000 (23:41 +0100)
commite460f3083112ca29024ec48de2815011afd761ff
tree47aeece2ad79e617faf0c068921bc7d79a8b4003
parent42cf086b6bdf05e2d48504508fb4849c11e60298
Remove arbitrary limit SSH2_MKKEY_ITERS.

Tim Kosse points out that we now support some combinations of crypto
primitives which break the hardwired assumption that two blocks of
hash output from the session-key derivation algorithm are sufficient
to key every cipher and MAC in the system.

So now ssh2_mkkey is given the desired key length, and performs as
many iterations as necessary.
ssh.c