comparison bignum.h @ 805:724c3e0c8734 ecc

Add m_mp_alloc_init_multi() helper
author Matt Johnston <matt@ucc.asn.au>
date Thu, 23 May 2013 22:18:16 +0800
parents 7dcb46da72d9
children deed0571cacc
comparison
equal deleted inserted replaced
804:34b73c9d8aa3 805:724c3e0c8734
28 #include "includes.h" 28 #include "includes.h"
29 #include "dbutil.h" 29 #include "dbutil.h"
30 30
31 void m_mp_init(mp_int *mp); 31 void m_mp_init(mp_int *mp);
32 void m_mp_init_multi(mp_int *mp, ...) ATTRIB_SENTINEL; 32 void m_mp_init_multi(mp_int *mp, ...) ATTRIB_SENTINEL;
33 void m_mp_alloc_init_multi(mp_int **mp, ...) ATTRIB_SENTINEL;
33 void bytes_to_mp(mp_int *mp, const unsigned char* bytes, unsigned int len); 34 void bytes_to_mp(mp_int *mp, const unsigned char* bytes, unsigned int len);
34 void hash_process_mp(const struct ltc_hash_descriptor *hash_desc, 35 void hash_process_mp(const struct ltc_hash_descriptor *hash_desc,
35 hash_state *hs, mp_int *mp); 36 hash_state *hs, mp_int *mp);
36 37
37 #endif /* _BIGNUM_H_ */ 38 #endif /* _BIGNUM_H_ */