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
#ifndef MPBIN_H
#define MPBIN_H
-unsigned char *silc_mp_mp2bin(SilcInt *val, unsigned int *ret_len);
-void silc_mp_bin2mp(unsigned char *data, unsigned int len, SilcInt *ret);
+unsigned char *silc_mp_mp2bin(SilcInt *val, uint32 len,
+ uint32 *ret_len);
+void silc_mp_mp2bin_noalloc(SilcInt *val, unsigned char *dst,
+ uint32 dst_len);
+void silc_mp_bin2mp(unsigned char *data, uint32 len, SilcInt *ret);
#endif