Function gnunet_sys::GNUNET_CRYPTO_eddsa_setup_hostkey[][src]

pub unsafe extern "C" fn GNUNET_CRYPTO_eddsa_setup_hostkey(
    cfg_name: *const c_char
)

@ingroup crypto Setup a hostkey file for a peer given the name of the configuration file (!). This function is used so that at a later point code can be certain that reading a hostkey is fast (for example in time-dependent testcases).

@param cfg_name name of the configuration file to use