summaryrefslogtreecommitdiff
path: root/lib/gnutls_dh.h
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2000-04-10 14:26:28 +0000
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2000-04-10 14:26:28 +0000
commit1f9db0b3c5877b9a3b545be65ae55c6fcd7fd82a (patch)
tree7d5f0b5d5b5fa89e5dcb4b632860f3a635910397 /lib/gnutls_dh.h
parent25f9f4858cc2fe31f36f18a1bfb88513e17e15d4 (diff)
downloadgnutls-1f9db0b3c5877b9a3b545be65ae55c6fcd7fd82a.tar.gz
Added anonymous diffie-hellman key exchange. It does not work yet, and
the whole code is mess.
Diffstat (limited to 'lib/gnutls_dh.h')
-rw-r--r--lib/gnutls_dh.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/lib/gnutls_dh.h b/lib/gnutls_dh.h
index bdd5d74ece..67e4810329 100644
--- a/lib/gnutls_dh.h
+++ b/lib/gnutls_dh.h
@@ -1,2 +1,5 @@
-MPI calc_dh_secret( MPI *ret_x );
-MPI calc_dh_key( MPI f, MPI x );
+MPI _gnutls_calc_dh_secret( MPI *ret_x );
+MPI _gnutls_get_dh_params(MPI *ret_p);
+MPI _gnutls_calc_dh_key( MPI f, MPI x );
+MPI __gnutls_calc_dh_secret( MPI *ret_x, MPI g, MPI prime );
+MPI __gnutls_calc_dh_key( MPI f, MPI x, MPI prime );