comparison bignum.h @ 1283:3017bc7d6238

move m_burn and function attributes to dbhelpers use m_burn for libtomcrypt zeromem() too
author Matt Johnston <matt@ucc.asn.au>
date Thu, 17 Mar 2016 23:21:33 +0800
parents deed0571cacc
children c98e242dc505
comparison
equal deleted inserted replaced
1282:a3bb15115816 1283:3017bc7d6238
23 * SOFTWARE. */ 23 * SOFTWARE. */
24 24
25 #ifndef DROPBEAR_BIGNUM_H_ 25 #ifndef DROPBEAR_BIGNUM_H_
26 #define DROPBEAR_BIGNUM_H_ 26 #define DROPBEAR_BIGNUM_H_
27 27
28 #include "includes.h" 28 #include "dbhelpers.h"
29 #include "dbutil.h"
30 29
31 void m_mp_init(mp_int *mp); 30 void m_mp_init(mp_int *mp);
32 void m_mp_init_multi(mp_int *mp, ...) ATTRIB_SENTINEL; 31 void m_mp_init_multi(mp_int *mp, ...) ATTRIB_SENTINEL;
33 void m_mp_alloc_init_multi(mp_int **mp, ...) ATTRIB_SENTINEL; 32 void m_mp_alloc_init_multi(mp_int **mp, ...) ATTRIB_SENTINEL;
34 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);