unsigned char *silc_mp_mp2bin(SilcMPInt *val, SilcUInt32 len, SilcUInt32 *ret_len);
Encodes MP integer into binary data. Returns allocated data that 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.