Function oqs_sys::rand::OQS_randombytes_switch_algorithm
source · [−]pub unsafe extern "C" fn OQS_randombytes_switch_algorithm(
algorithm: *const c_char
) -> OQS_STATUSExpand description
Switches OQS_randombytes to use the specified algorithm.
@param[in] algorithm The name of the algorithm to use.
@return OQS_SUCCESS if algorithm is a supported algorithm name, OQS_ERROR otherwise.