diff options
| author | David Shaw <[email protected]> | 2003-12-17 19:05:23 +0000 |
|---|---|---|
| committer | David Shaw <[email protected]> | 2003-12-17 19:05:23 +0000 |
| commit | 68b3e412f49f7cfe0d00ebc66bce8d14a17439e8 (patch) | |
| tree | 7f27839d5dfc6e8046d035235b6a8bbbd953ebc4 /cipher/elgamal.h | |
| parent | * cipher.h (pubkey_verify): Remove old unused code. (diff) | |
| download | gnupg-68b3e412f49f7cfe0d00ebc66bce8d14a17439e8.tar.gz gnupg-68b3e412f49f7cfe0d00ebc66bce8d14a17439e8.zip | |
* dsa.h, dsa.c (dsa_verify), elgamal.h, elgamal.c (elg_verify), rsa.h,
rsa.c (rsa_verify), pubkey.c (dummy_verify, pubkey_verify): Remove old
unused code.
Diffstat (limited to 'cipher/elgamal.h')
| -rw-r--r-- | cipher/elgamal.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/cipher/elgamal.h b/cipher/elgamal.h index f104c2a52..6c8184219 100644 --- a/cipher/elgamal.h +++ b/cipher/elgamal.h @@ -17,6 +17,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA */ + #ifndef G10_ELGAMAL_H #define G10_ELGAMAL_H @@ -25,11 +26,9 @@ int elg_check_secret_key( int algo, MPI *skey ); int elg_encrypt( int algo, MPI *resarr, MPI data, MPI *pkey ); int elg_decrypt( int algo, MPI *result, MPI *data, MPI *skey ); int elg_sign( int algo, MPI *resarr, MPI data, MPI *skey ); -int elg_verify( int algo, MPI hash, MPI *data, MPI *pkey, - int (*cmp)(void *, MPI), void *opaquev ); +int elg_verify( int algo, MPI hash, MPI *data, MPI *pkey ); unsigned elg_get_nbits( int algo, MPI *pkey ); const char *elg_get_info( int algo, int *npkey, int *nskey, int *nenc, int *nsig, int *use ); - #endif /*G10_ELGAMAL_H*/ |
