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)
commit36537913f69228c5a11335a42637feba36c96677 (patch)
treee0c3d30912f2b67d620d935f3dead47ac4f3533d /libtommath/bn_mp_read_unsigned_bin.c
parentd2b645df1ab7b43093f7553808c64fedaa3b3a49 (diff)
downloadtcl-36537913f69228c5a11335a42637feba36c96677.zip
tcl-36537913f69228c5a11335a42637feba36c96677.tar.gz
tcl-36537913f69228c5a11335a42637feba36c96677.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 $ */