diff options
| author | Werner Koch <[email protected]> | 1998-06-15 15:41:04 +0000 |
|---|---|---|
| committer | Werner Koch <[email protected]> | 1998-06-15 15:41:04 +0000 |
| commit | 6e1ca6b80fb50ff5e1c065b7ac12635487b4a6d2 (patch) | |
| tree | 7c4a888893a91b59753b3d89e59832f8c24ba039 /cipher/elgamal.h | |
| parent | gnupg extension are now working (diff) | |
| download | gnupg-6e1ca6b80fb50ff5e1c065b7ac12635487b4a6d2.tar.gz gnupg-6e1ca6b80fb50ff5e1c065b7ac12635487b4a6d2.zip | |
extensions are now working and fixed a lot of bugs
Diffstat (limited to 'cipher/elgamal.h')
| -rw-r--r-- | cipher/elgamal.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cipher/elgamal.h b/cipher/elgamal.h index a4668ff9d..672f07704 100644 --- a/cipher/elgamal.h +++ b/cipher/elgamal.h @@ -25,7 +25,8 @@ 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 elg_verify( int algo, MPI hash, MPI *data, MPI *pkey, + int (*cmp)(void *, MPI), void *opaquev ); unsigned elg_get_nbits( int algo, MPI *pkey ); const char *elg_get_info( int algo, int *npkey, int *nskey, int *nenc, int *nsig, int *usage ); |
