silc_mp_sinit

SYNOPSIS

    SilcBool silc_mp_sinit(SilcStack stack, SilcMPInt *mp);

DESCRIPTION

Initializes the MP integer. This must be called before calling any other routine in SILC MP API. The silc_mp_uninit must be called to uninitialize the integer. Returns FALSE on error, TRUE otherwise.

If `stack' is non-NULL all memory is allocated from `stack'. If it is NULL this is equivalent to silc_mp_init. The silc_mp_uninit must be called to uninitialize the integer even when `stack' is non-NULL.