summaryrefslogtreecommitdiff
path: root/lib/gnutls_dh.h
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2001-10-10 09:25:49 +0000
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2001-10-10 09:25:49 +0000
commitad3fc4e173fc30561bcb669f19831594592feaff (patch)
tree94c4fb916b7105a0e82562ae97341cbfae006389 /lib/gnutls_dh.h
parent139c90878ed0367d1890f5fc803b49c8c43a5a37 (diff)
downloadgnutls-ad3fc4e173fc30561bcb669f19831594592feaff.tar.gz
better prime handling
Diffstat (limited to 'lib/gnutls_dh.h')
-rw-r--r--lib/gnutls_dh.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/gnutls_dh.h b/lib/gnutls_dh.h
index 9426ee2701..e1becc7c0f 100644
--- a/lib/gnutls_dh.h
+++ b/lib/gnutls_dh.h
@@ -22,5 +22,8 @@ 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);
+void _gnutls_dh_clear_mpis();
+int _gnutls_dh_calc_mpis();
+
#define DEFAULT_BITS 1024