comparison bignum.h @ 744:504f33c684b5 kexguess

Add sentinel attribute
author Matt Johnston <matt@ucc.asn.au>
date Wed, 03 Apr 2013 00:32:05 +0800
parents c9483550701b
children f62e82c474d5
comparison
equal deleted inserted replaced
743:09c5eb71ec96 744:504f33c684b5
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_mp_init(mp_int *mp);
31 void m_mp_init_multi(mp_int *mp, ...); 31 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); 32 void bytes_to_mp(mp_int *mp, const unsigned char* bytes, unsigned int len);
33 void sha1_process_mp(hash_state *hs, mp_int *mp); 33 void sha1_process_mp(hash_state *hs, mp_int *mp);
34 34
35 #endif /* _BIGNUM_H_ */ 35 #endif /* _BIGNUM_H_ */