summaryrefslogtreecommitdiffhomepage
path: root/bignum.h
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2013-04-08 00:10:57 +0800
committerMatt Johnston <matt@ucc.asn.au>2013-04-08 00:10:57 +0800
commitc797c1750c46d2e111874e31adf5627b24e97462 (patch)
tree1bfe63d0c11cdb563a4952f7f4617d22111efabb /bignum.h
parentc6bdc810abab5b58aba26a7618c49f3dac58ebd6 (diff)
- Fix various hardcoded uses of SHA1
- rename curves to nistp256 etc - fix svr-auth.c TRACE problem --HG-- branch : ecc
Diffstat (limited to 'bignum.h')
-rw-r--r--bignum.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/bignum.h b/bignum.h
index 042f811..f7abc7d 100644
--- a/bignum.h
+++ b/bignum.h
@@ -30,6 +30,7 @@
void m_mp_init(mp_int *mp);
void m_mp_init_multi(mp_int *mp, ...);
void bytes_to_mp(mp_int *mp, const unsigned char* bytes, unsigned int len);
-void sha1_process_mp(hash_state *hs, mp_int *mp);
+void hash_process_mp(const struct ltc_hash_descriptor *hash_desc,
+ hash_state *hs, mp_int *mp);
#endif /* _BIGNUM_H_ */