Mercurial > dropbear
comparison 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 |
comparison
equal
deleted
inserted
replaced
518:ce104c8b0be1 | 640:76097ec1a29a |
---|---|
25 #ifndef _BIGNUM_H_ | 25 #ifndef _BIGNUM_H_ |
26 #define _BIGNUM_H_ | 26 #define _BIGNUM_H_ |
27 | 27 |
28 #include "includes.h" | 28 #include "includes.h" |
29 | 29 |
30 void m_mp_init(mp_int *mp); | 30 void m_fp_init(fp_int *fp); |
31 void m_mp_init_multi(mp_int *mp, ...); | 31 void m_fp_init_multi(fp_int *fp, ...); |
32 void bytes_to_mp(mp_int *mp, const unsigned char* bytes, unsigned int len); | 32 void m_fp_zero_multi(fp_int *fp, ...); |
33 void sha1_process_mp(hash_state *hs, mp_int *mp); | 33 void bytes_to_fp(fp_int *fp, const unsigned char* bytes, unsigned int len); |
34 void sha1_process_fp(hash_state *hs, fp_int *fp); | |
34 | 35 |
35 #endif /* _BIGNUM_H_ */ | 36 #endif /* _BIGNUM_H_ */ |