aboutsummaryrefslogtreecommitdiffstats
path: root/cipher/elgamal.h
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>1998-02-09 17:43:42 +0000
committerWerner Koch <[email protected]>1998-02-09 17:43:42 +0000
commitd6fa02add60c1d9ef6c7c576de3beb0a5debfade (patch)
tree4d33ad9fa6f8013b274ecb0dfe36cab7b15b47eb /cipher/elgamal.h
parentremoved aclocal (diff)
downloadgnupg-d6fa02add60c1d9ef6c7c576de3beb0a5debfade.tar.gz
gnupg-d6fa02add60c1d9ef6c7c576de3beb0a5debfade.zip
release 0.2.3
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 );