Function gnunet_sys::GNUNET_CRYPTO_ecdhe_key_get_public[][src]

pub unsafe extern "C" fn GNUNET_CRYPTO_ecdhe_key_get_public(
    priv_: *const GNUNET_CRYPTO_EcdhePrivateKey,
    pub_: *mut GNUNET_CRYPTO_EcdhePublicKey
)

@ingroup crypto Extract the public key for the given private key.

@param priv the private key @param pub where to write the public key