Function gnunet_sys::GNUNET_CRYPTO_ecc_dlog_prepare[][src]

pub unsafe extern "C" fn GNUNET_CRYPTO_ecc_dlog_prepare(
    max: c_uint,
    mem: c_uint
) -> *mut GNUNET_CRYPTO_EccDlogContext

Do pre-calculation for ECC discrete logarithm for small factors.

@param max maximum value the factor can be @param mem memory to use (should be smaller than @a max), must not be zero. @return NULL on error