Function gnunet_sys::GNUNET_CRYPTO_ecc_dexp_mpi[][src]

pub unsafe extern "C" fn GNUNET_CRYPTO_ecc_dexp_mpi(
    edc: *mut GNUNET_CRYPTO_EccDlogContext,
    val: gcry_mpi_t
) -> gcry_mpi_point_t

Multiply the generator g of the elliptic curve by @a val to obtain the point on the curve representing @a val.

@param edc calculation context for ECC operations @param val (positive) value to encode into a point @return representation of the value as an ECC point, must be freed using #GNUNET_CRYPTO_ecc_free()