comparison bignum.h @ 762:a78a38e402d1 ecc

- Fix various hardcoded uses of SHA1 - rename curves to nistp256 etc - fix svr-auth.c TRACE problem
author Matt Johnston <matt@ucc.asn.au>
date Mon, 08 Apr 2013 00:10:57 +0800
parents c9483550701b
children 7dcb46da72d9
comparison
equal deleted inserted replaced
761:ac2158e3e403 762:a78a38e402d1
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, ...);
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 hash_process_mp(const struct ltc_hash_descriptor *hash_desc,
34 hash_state *hs, mp_int *mp);
34 35
35 #endif /* _BIGNUM_H_ */ 36 #endif /* _BIGNUM_H_ */