diff kex.h @ 640:76097ec1a29a dropbear-tfm

- Bring in original tomsfastmath patch against 0.52 from Peter Turczak in 2008
author Matt Johnston <matt@ucc.asn.au>
date Mon, 21 Nov 2011 19:19:57 +0800
parents d58c478bd399
children 2b1bb792cd4d
line wrap: on
line diff
--- a/kex.h	Wed Nov 12 13:13:00 2008 +0000
+++ b/kex.h	Mon Nov 21 19:19:57 2011 +0800
@@ -33,8 +33,8 @@
 void send_msg_newkeys();
 void recv_msg_newkeys();
 void kexfirstinitialise();
-void gen_kexdh_vals(mp_int *dh_pub, mp_int *dh_priv);
-void kexdh_comb_key(mp_int *dh_pub_us, mp_int *dh_priv, mp_int *dh_pub_them,
+void gen_kexdh_vals(fp_int *dh_pub, fp_int *dh_priv);
+void kexdh_comb_key(fp_int *dh_pub_us, fp_int *dh_priv, fp_int *dh_pub_them,
 		sign_key *hostkey);
 
 #ifndef DISABLE_ZLIB