Mercurial > dropbear
comparison bignum.h @ 801:7dcb46da72d9 ecc
merge in HEAD
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Tue, 21 May 2013 12:09:35 +0800 |
parents | a78a38e402d1 f62e82c474d5 |
children | 724c3e0c8734 |
comparison
equal
deleted
inserted
replaced
799:c344607b7341 | 801:7dcb46da72d9 |
---|---|
24 | 24 |
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 #include "dbutil.h" | |
29 | 30 |
30 void m_mp_init(mp_int *mp); | 31 void m_mp_init(mp_int *mp); |
31 void m_mp_init_multi(mp_int *mp, ...); | 32 void m_mp_init_multi(mp_int *mp, ...) ATTRIB_SENTINEL; |
32 void bytes_to_mp(mp_int *mp, const unsigned char* bytes, unsigned int len); | 33 void bytes_to_mp(mp_int *mp, const unsigned char* bytes, unsigned int len); |
33 void hash_process_mp(const struct ltc_hash_descriptor *hash_desc, | 34 void hash_process_mp(const struct ltc_hash_descriptor *hash_desc, |
34 hash_state *hs, mp_int *mp); | 35 hash_state *hs, mp_int *mp); |
35 | 36 |
36 #endif /* _BIGNUM_H_ */ | 37 #endif /* _BIGNUM_H_ */ |