Function gnunet_sys::GNUNET_CRYPTO_rsa_private_key_create[][src]

pub unsafe extern "C" fn GNUNET_CRYPTO_rsa_private_key_create(
    len: c_uint
) -> *mut GNUNET_CRYPTO_RsaPrivateKey

Create a new private key. Caller must free return value.

@param len length of the key in bits (i.e. 2048) @return fresh private key