Function gnunet_sys::GNUNET_CRYPTO_ecc_pmul_mpi[][src]

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

Multiply the point @a p on the elliptic curve by @a val.

@param edc calculation context for ECC operations @param p point to multiply @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()