updates. New data types.
[silc.git] / lib / silcmath / mpbin.h
index 41ebf12b711ff1365a991b60f0b605621ccf1252..b3a2d2e001930f688499a4a7636e53655bea61de 100644 (file)
@@ -4,7 +4,7 @@
   
   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