Function gnunet_sys::GNUNET_CRYPTO_ecc_dlog [−][src]
pub unsafe extern "C" fn GNUNET_CRYPTO_ecc_dlog(
edc: *mut GNUNET_CRYPTO_EccDlogContext,
input: gcry_mpi_point_t
) -> c_int
Calculate ECC discrete logarithm for small factors. Opposite of #GNUNET_CRYPTO_ecc_dexp().
@param dlc precalculated values, determine range of factors @param input point on the curve to factor @return INT_MAX if dlog failed, otherwise the factor