projects
/
silc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
updates.
[silc.git]
/
lib
/
silcmath
/
mpbin.h
diff --git
a/lib/silcmath/mpbin.h
b/lib/silcmath/mpbin.h
index 41ebf12b711ff1365a991b60f0b605621ccf1252..f32f19a33726c3da8901c01a8859780f8a3d5a3d 100644
(file)
--- a/
lib/silcmath/mpbin.h
+++ b/
lib/silcmath/mpbin.h
@@
-4,7
+4,7
@@
Author: Pekka Riikonen <priikone@poseidon.pspt.fi>
Author: Pekka Riikonen <priikone@poseidon.pspt.fi>
- Copyright (C) 2000 Pekka Riikonen
+ Copyright (C) 2000
- 2001
Pekka Riikonen
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@
-21,7
+21,10
@@
#ifndef MPBIN_H
#define MPBIN_H
#ifndef MPBIN_H
#define MPBIN_H
-unsigned char *silc_mp_mp2bin(SilcInt *val, unsigned int *ret_len);
+unsigned char *silc_mp_mp2bin(SilcInt *val, unsigned int len,
+ unsigned int *ret_len);
+void silc_mp_mp2bin_noalloc(SilcInt *val, unsigned char *dst,
+ unsigned int dst_len);
void silc_mp_bin2mp(unsigned char *data, unsigned int len, SilcInt *ret);
#endif
void silc_mp_bin2mp(unsigned char *data, unsigned int len, SilcInt *ret);
#endif