X-Git-Url: http://git.silcnet.org/gitweb/?a=blobdiff_plain;f=lib%2Fsilcmath%2Fmpbin.h;h=f32f19a33726c3da8901c01a8859780f8a3d5a3d;hb=04f41c4481381e8e7c1e685a4edb6be6ec5d2c66;hp=41ebf12b711ff1365a991b60f0b605621ccf1252;hpb=02c161c97dd908adc4d78b8faf2ca9eb3cc1379d;p=silc.git diff --git a/lib/silcmath/mpbin.h b/lib/silcmath/mpbin.h index 41ebf12b..f32f19a3 100644 --- a/lib/silcmath/mpbin.h +++ b/lib/silcmath/mpbin.h @@ -4,7 +4,7 @@ Author: Pekka Riikonen - 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 @@ -21,7 +21,10 @@ #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