summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>1998-05-05 22:34:20 +0200
committerWerner Koch <wk@gnupg.org>1998-05-05 22:34:20 +0200
commit69cf10ffab3a75d5afdd59f57a772e880b4f2426 (patch)
tree9ca93abecfbf94121950bf0afe30aa3269f776e4 /include
parentnew release (diff)
downloadgnupg2-69cf10ffab3a75d5afdd59f57a772e880b4f2426.tar.xz
gnupg2-69cf10ffab3a75d5afdd59f57a772e880b4f2426.zip
add DSA key generation
Diffstat (limited to 'include')
-rw-r--r--include/cipher.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/cipher.h b/include/cipher.h
index b64d234db..a78426bb5 100644
--- a/include/cipher.h
+++ b/include/cipher.h
@@ -114,7 +114,8 @@ extern ushort small_prime_numbers[];
/*-- primegen.c --*/
MPI generate_secret_prime( unsigned nbits );
MPI generate_public_prime( unsigned nbits );
-MPI generate_elg_prime( unsigned pbits, unsigned qbits, MPI g, MPI **factors );
+MPI generate_elg_prime( int mode, unsigned pbits, unsigned qbits,
+ MPI g, MPI **factors );
#endif /*G10_CIPHER_H*/