aboutsummaryrefslogtreecommitdiffstats
path: root/cipher/elgamal.h
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>1997-12-01 10:33:23 +0000
committerWerner Koch <[email protected]>1997-12-01 10:33:23 +0000
commit5c1cca042e6bc0de22c7913f08457c7b8a46e592 (patch)
tree234246f67cf2e7deb79b94e7491fdd7111c1c65e /cipher/elgamal.h
parentImproved prime number test (diff)
downloadgnupg-5c1cca042e6bc0de22c7913f08457c7b8a46e592.tar.gz
gnupg-5c1cca042e6bc0de22c7913f08457c7b8a46e592.zip
List and check sigs works
Diffstat (limited to 'cipher/elgamal.h')
-rw-r--r--cipher/elgamal.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/cipher/elgamal.h b/cipher/elgamal.h
index e93b49e59..4086a8fc5 100644
--- a/cipher/elgamal.h
+++ b/cipher/elgamal.h
@@ -41,8 +41,8 @@ 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 );
int elg_check_secret_key( ELG_secret_key *sk );
-void elg_encipher(MPI a, MPI b, MPI input, ELG_public_key *pkey );
-void elg_decipher(MPI output, MPI a, MPI b, ELG_secret_key *skey );
+void elg_encrypted(MPI a, MPI b, MPI input, ELG_public_key *pkey );
+void elg_decrypted(MPI output, MPI a, MPI b, ELG_secret_key *skey );
void elg_sign(MPI a, MPI b, MPI input, ELG_secret_key *skey);
int elg_verify(MPI a, MPI b, MPI input, ELG_public_key *pkey);