Function gnunet_sys::GNUNET_CRYPTO_ecc_rnd_mpi[][src]

pub unsafe extern "C" fn GNUNET_CRYPTO_ecc_rnd_mpi(
    edc: *mut GNUNET_CRYPTO_EccDlogContext,
    r: *mut gcry_mpi_t,
    r_inv: *mut gcry_mpi_t
)

Obtain a random scalar for point multiplication on the curve and its multiplicative inverse.

@param edc calculation context for ECC operations @param[out] r set to a random scalar on the curve @param[out] r_inv set to the multiplicative inverse of @a r