summaryrefslogtreecommitdiffstats
path: root/include/cipher.h
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>1997-12-19 12:41:47 +0100
committerWerner Koch <wk@gnupg.org>1997-12-19 12:41:47 +0100
commitee8d92fefa5902f97e92856b9c657fb18d0dd93e (patch)
treecf86cf2d45d7dbeb3f8c01a53402435ac1257f88 /include/cipher.h
parentadded some stuff for signing keys (diff)
downloadgnupg2-ee8d92fefa5902f97e92856b9c657fb18d0dd93e.tar.xz
gnupg2-ee8d92fefa5902f97e92856b9c657fb18d0dd93e.zip
better prime number generator. improved ELG key generation
Diffstat (limited to 'include/cipher.h')
-rw-r--r--include/cipher.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/cipher.h b/include/cipher.h
index 2fab4daa2..ed553dcb2 100644
--- a/include/cipher.h
+++ b/include/cipher.h
@@ -113,6 +113,7 @@ 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 );
#endif /*G10_CIPHER_H*/