Function pqcrypto_internals::PQCRYPTO_RUST_randombytes [−][src]
#[no_mangle]
pub unsafe extern "C" fn PQCRYPTO_RUST_randombytes(
buf: *mut u8,
len: size_t
) -> c_int
Expand description
Get random bytes; exposed for PQClean implementations.
Safety
Assumes inputs are valid and may panic over FFI boundary if rng failed.