pub unsafe extern "C" fn OQS_randombytes_custom_algorithm(
algorithm_ptr: Option<unsafe extern "C" fn(arg1: *mut u8, arg2: usize)>,
)
Expand description
Switches OQS_randombytes to use the given function.
This allows additional custom RNGs besides the provided ones. The provided RNG
function must have the same signature as OQS_randombytes
.
@param[in] algorithm_ptr Pointer to the RNG function to use.