summaryrefslogtreecommitdiff
path: root/lib/gnutls_dh.h
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2001-10-09 21:40:47 +0000
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2001-10-09 21:40:47 +0000
commit6dc2b250b75362aadc9655f795e01e73b4995c88 (patch)
treee03bcc7e063448678d62bdb63a1369e078f48aba /lib/gnutls_dh.h
parent3870e0504d069303681383a0ffdf9f37162fbdab (diff)
downloadgnutls-6dc2b250b75362aadc9655f795e01e73b4995c88.tar.gz
Updated the handling of prime numbers.
Diffstat (limited to 'lib/gnutls_dh.h')
-rw-r--r--lib/gnutls_dh.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/gnutls_dh.h b/lib/gnutls_dh.h
index 5bf86da8d5..9426ee2701 100644
--- a/lib/gnutls_dh.h
+++ b/lib/gnutls_dh.h
@@ -21,5 +21,6 @@
MPI gnutls_get_dh_params(MPI *ret_p, int bits);
MPI gnutls_calc_dh_secret( MPI *ret_x, MPI g, MPI prime );
MPI gnutls_calc_dh_key( MPI f, MPI x, MPI prime );
+int _gnutls_dh_generate_prime(MPI *ret_g, MPI* ret_n, int bits);
#define DEFAULT_BITS 1024