chiark / gitweb /
pubkey.c: Change the arguments to {DSA,KCDSA}{Pub,Priv}.
authorMark Wooding <mdw@distorted.org.uk>
Mon, 1 May 2017 00:38:30 +0000 (01:38 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Thu, 4 May 2017 23:45:50 +0000 (00:45 +0100)
commit16178155513725d7fee6e61316c200aaed7eff17
tree60f8c3b7dc937b3ce00354ca7b1ec6fd9f123ced
parentd7012c2b527e1a079c78ec4c383083ac4f0eb850
pubkey.c: Change the arguments to {DSA,KCDSA}{Pub,Priv}.

  * Don't allow a private-key `u' argument to `*Pub'.

  * Have the private key argument `u' precede the public key `p' to
    `*Priv'.

  * Make the public key optional to `*Priv', and compute it correctly if
    not provided.

This is an incompatible change, but I've resolved not to care.  The old
interface was obviously crazy.
pubkey.c