aboutsummaryrefslogtreecommitdiffstats
path: root/cipher/elgamal.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--cipher/elgamal.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/cipher/elgamal.h b/cipher/elgamal.h
index 15121f55c..26af1a007 100644
--- a/cipher/elgamal.h
+++ b/cipher/elgamal.h
@@ -39,7 +39,8 @@ typedef struct {
void elg_free_public_key( ELG_public_key *pk );
void elg_free_secret_key( ELG_secret_key *sk );
-void elg_generate( ELG_public_key *pk, ELG_secret_key *sk, unsigned nbits );
+void elg_generate( ELG_public_key *pk, ELG_secret_key *sk,
+ unsigned nbits, MPI **factors );
int elg_check_secret_key( ELG_secret_key *sk );
void elg_encrypt(MPI a, MPI b, MPI input, ELG_public_key *pkey );
void elg_decrypt(MPI output, MPI a, MPI b, ELG_secret_key *skey );