Function umash_sys::umash_params_prepare [−][src]
pub unsafe extern "C" fn umash_params_prepare(
params: *mut umash_params
) -> bool
Expand description
Converts a umash_params
struct filled with random values into
something usable by the UMASH functions below.
When it succeeds, this function is idempotent. Failure happens
with probability < 2**-110 is params
is filled with uniformly
distributed random bits. That’s an astronomically unlikely event,
and most likely signals an issue with the caller’s (pseudo-)random
number generator.
@return false on failure, probably because the input was not random.