From 1f9db0b3c5877b9a3b545be65ae55c6fcd7fd82a Mon Sep 17 00:00:00 2001 From: Nikos Mavrogiannopoulos Date: Mon, 10 Apr 2000 14:26:28 +0000 Subject: Added anonymous diffie-hellman key exchange. It does not work yet, and the whole code is mess. --- lib/gnutls_dh.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'lib/gnutls_dh.h') 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 ); -- cgit v1.2.1