]> asedeno.scripts.mit.edu Git - PuTTY.git/commit
Factor out the DSA deterministic k generator.
authorSimon Tatham <anakin@pobox.com>
Sat, 1 Nov 2014 19:48:48 +0000 (19:48 +0000)
committerSimon Tatham <anakin@pobox.com>
Sun, 2 Nov 2014 18:16:54 +0000 (18:16 +0000)
commita2b64dca4715b6b1bac1dcba1dd29e21847fd59c
treefbe0516925463518b4a5dba810753b7f52d883d6
parenteac7e041f100291169304a99cc9c7300093f2c78
Factor out the DSA deterministic k generator.

It's now a separate function, which you call with an identifying
string to be hashed into the generation of x. The idea is that other
DSA-like signature algorithms can reuse the same function, with a
different id string.

As a minor refinement, we now also never return k=1.
ssh.h
sshdss.c