diff bignum.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 c9483550701b
children
line wrap: on
line diff
--- a/bignum.h	Wed Nov 12 13:13:00 2008 +0000
+++ b/bignum.h	Mon Nov 21 19:19:57 2011 +0800
@@ -27,9 +27,10 @@
 
 #include "includes.h"
 
-void m_mp_init(mp_int *mp);
-void m_mp_init_multi(mp_int *mp, ...);
-void bytes_to_mp(mp_int *mp, const unsigned char* bytes, unsigned int len);
-void sha1_process_mp(hash_state *hs, mp_int *mp);
+void m_fp_init(fp_int *fp);
+void m_fp_init_multi(fp_int *fp, ...);
+void m_fp_zero_multi(fp_int *fp, ...);
+void bytes_to_fp(fp_int *fp, const unsigned char* bytes, unsigned int len);
+void sha1_process_fp(hash_state *hs, fp_int *fp);
 
 #endif /* _BIGNUM_H_ */