summaryrefslogtreecommitdiff
path: root/bignum.h
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2005-05-05 03:58:21 +0000
committerMatt Johnston <matt@ucc.asn.au>2005-05-05 03:58:21 +0000
commitc8bac936d2e72629cf2b68a3224e26b6b394ceb1 (patch)
tree34034ef46643844cbece5ea3c8926b4db0346200 /bignum.h
parentf3ba1c0042f84a38d8588a4c7aaabfcc09fc4f1e (diff)
downloaddropbear-c8bac936d2e72629cf2b68a3224e26b6b394ceb1.tar.gz
- refactored random mp_int generation and byte->mp_int code
- added RSA blinding
Diffstat (limited to 'bignum.h')
-rw-r--r--bignum.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/bignum.h b/bignum.h
index 2a807af..042f811 100644
--- a/bignum.h
+++ b/bignum.h
@@ -29,7 +29,7 @@
void m_mp_init(mp_int *mp);
void m_mp_init_multi(mp_int *mp, ...);
-void bytestomp(mp_int *mp, unsigned char* bytes, unsigned int len);
+void bytes_to_mp(mp_int *mp, const unsigned char* bytes, unsigned int len);
void sha1_process_mp(hash_state *hs, mp_int *mp);
#endif /* _BIGNUM_H_ */