Function olm_sys::olm_account_generate_fallback_key [−][src]
pub unsafe extern "C" fn olm_account_generate_fallback_key(
account: *mut OlmAccount,
random: *mut c_void,
random_length: usize
) -> usize
Generates a new fallback key. Only one previous fallback key is stored. Returns olm_error() on error. If the number of random bytes is too small then olm_account_last_error() will be “NOT_ENOUGH_RANDOM”.