cipher: Prepare to pass extra info to the sign functions.
authorWerner Koch <wk@gnupg.org>
Wed, 17 Jul 2013 13:54:32 +0000 (15:54 +0200)
committerWerner Koch <wk@gnupg.org>
Wed, 17 Jul 2013 13:54:32 +0000 (15:54 +0200)
commit5940e66cbefea3de5924f494f18aed69bb694bff
tree054fe254b2bd012281e57d594455754c5309c91c
parent6e1adb05d290aeeb1c230c763970695f4a538526
cipher: Prepare to pass extra info to the sign functions.

* src/gcrypt-module.h (gcry_pk_sign_t): Add parms flags and hashalgo.
* cipher/rsa.c (rsa_sign): Add parms and mark them as unused.
* cipher/dsa.c (dsa_sign): Ditto.
* cipher/elgamal.c (elg_sign): Ditto.
* cipher/pubkey.c (dummy_sign): Ditto.
(pubkey_sign): Pass 0 for the new args.

Signed-off-by: Werner Koch <wk@gnupg.org>
cipher/dsa.c
cipher/ecc.c
cipher/elgamal.c
cipher/pubkey.c
cipher/rsa.c
src/gcrypt-module.h