summaryrefslogtreecommitdiff
path: root/lib/gnutls_dh.h
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2003-08-07 18:01:45 +0000
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2003-08-07 18:01:45 +0000
commite9964513db0626bda7ade731b39c388514f653c2 (patch)
tree822bea73eff3248b3d0c14ca8f7a5c17ea60fb31 /lib/gnutls_dh.h
parent2df1162fa6b6df695d2bd5d50f481c18783538f6 (diff)
downloadgnutls-e9964513db0626bda7ade731b39c388514f653c2.tar.gz
Ported to the new libgcrypt (still unstable). Also added the RC2 cipher and improved the PKCS #12 stuff in order to support it.
Diffstat (limited to 'lib/gnutls_dh.h')
-rw-r--r--lib/gnutls_dh.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/gnutls_dh.h b/lib/gnutls_dh.h
index 87432148aa..192d95faba 100644
--- a/lib/gnutls_dh.h
+++ b/lib/gnutls_dh.h
@@ -18,7 +18,7 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*/
-int _gnutls_get_dh_params(gnutls_dh_params, MPI *ret_p, MPI* ret_g);
-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);
+int _gnutls_get_dh_params(gnutls_dh_params, GNUTLS_MPI *ret_p, GNUTLS_MPI* ret_g);
+GNUTLS_MPI gnutls_calc_dh_secret( GNUTLS_MPI *ret_x, GNUTLS_MPI g, GNUTLS_MPI prime );
+GNUTLS_MPI gnutls_calc_dh_key( GNUTLS_MPI f, GNUTLS_MPI x, GNUTLS_MPI prime );
+int _gnutls_dh_generate_prime(GNUTLS_MPI *ret_g, GNUTLS_MPI* ret_n, int bits);