diff options
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 ); |