summaryrefslogtreecommitdiffstats
path: root/libtommath/bn_mp_read_unsigned_bin.c
diff options
context:
space:
mode:
authorKevin B Kenny <kennykb@acm.org>2005-09-26 16:31:55 (GMT)
committerKevin B Kenny <kennykb@acm.org>2005-09-26 16:31:55 (GMT)
commit6285bbd18905331a696ae8d31942482672261433 (patch)
tree4ec07aa4ad5cdf752c1df248b9a54a4dd6cfb167 /libtommath/bn_mp_read_unsigned_bin.c
parent12cea33504df70df1758c94a2302e367e3855e43 (diff)
downloadtcl-6285bbd18905331a696ae8d31942482672261433.zip
tcl-6285bbd18905331a696ae8d31942482672261433.tar.gz
tcl-6285bbd18905331a696ae8d31942482672261433.tar.bz2
Import of libtommath 0.36
Diffstat (limited to 'libtommath/bn_mp_read_unsigned_bin.c')
-rw-r--r--libtommath/bn_mp_read_unsigned_bin.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/libtommath/bn_mp_read_unsigned_bin.c b/libtommath/bn_mp_read_unsigned_bin.c
index 946457d..655415a 100644
--- a/libtommath/bn_mp_read_unsigned_bin.c
+++ b/libtommath/bn_mp_read_unsigned_bin.c
@@ -16,8 +16,7 @@
*/
/* reads a unsigned char array, assumes the msb is stored first [big endian] */
-int
-mp_read_unsigned_bin (mp_int * a, unsigned char *b, int c)
+int mp_read_unsigned_bin (mp_int * a, const unsigned char *b, int c)
{
int res;
@@ -50,3 +49,7 @@ mp_read_unsigned_bin (mp_int * a, unsigned char *b, int c)
return MP_OKAY;
}
#endif
+
+/* $Source: /root/tcl/repos-to-convert/tcl/libtommath/bn_mp_read_unsigned_bin.c,v $ */
+/* $Revision: 1.1.1.2 $ */
+/* $Date: 2005/09/26 16:31:56 $ */