projects
/
silc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Integer type name change.
[silc.git]
/
lib
/
silcmath
/
mpbin.c
diff --git
a/lib/silcmath/mpbin.c
b/lib/silcmath/mpbin.c
index 8074f2bc706429416fd087563a8ac187bdfb0d35..29d80f7711e71e007b2ddb8d20dde27fd766cd9d 100644
(file)
--- a/
lib/silcmath/mpbin.c
+++ b/
lib/silcmath/mpbin.c
@@
-25,11
+25,11
@@
must be free'd by the caller. If `len' is provided the destination
buffer is allocated that large. If zero then the size is approximated. */
must be free'd by the caller. If `len' is provided the destination
buffer is allocated that large. If zero then the size is approximated. */
-unsigned char *silc_mp_mp2bin(SilcMPInt *val,
ui
nt32 len,
-
ui
nt32 *ret_len)
+unsigned char *silc_mp_mp2bin(SilcMPInt *val,
SilcUI
nt32 len,
+
SilcUI
nt32 *ret_len)
{
int i;
{
int i;
-
ui
nt32 size;
+
SilcUI
nt32 size;
unsigned char *ret;
SilcMPInt tmp;
unsigned char *ret;
SilcMPInt tmp;
@@
-56,10
+56,10
@@
unsigned char *silc_mp_mp2bin(SilcMPInt *val, uint32 len,
returned into `dst' and it's length to the `ret_len'. */
void silc_mp_mp2bin_noalloc(SilcMPInt *val, unsigned char *dst,
returned into `dst' and it's length to the `ret_len'. */
void silc_mp_mp2bin_noalloc(SilcMPInt *val, unsigned char *dst,
-
ui
nt32 dst_len)
+
SilcUI
nt32 dst_len)
{
int i;
{
int i;
-
ui
nt32 size = dst_len;
+
SilcUI
nt32 size = dst_len;
SilcMPInt tmp;
silc_mp_init(&tmp);
SilcMPInt tmp;
silc_mp_init(&tmp);
@@
-76,7
+76,7
@@
void silc_mp_mp2bin_noalloc(SilcMPInt *val, unsigned char *dst,
/* Decodes binary data into MP integer. The integer sent as argument
must be initialized. */
/* Decodes binary data into MP integer. The integer sent as argument
must be initialized. */
-void silc_mp_bin2mp(unsigned char *data,
ui
nt32 len, SilcMPInt *ret)
+void silc_mp_bin2mp(unsigned char *data,
SilcUI
nt32 len, SilcMPInt *ret)
{
int i;
{
int i;