Function bearssl::br_prng_seeder_system
[−]
[src]
pub unsafe extern "C" fn br_prng_seeder_system(
name: *mut *const c_char
) -> br_prng_seeder
\brief Get a seeder backed by the operating system or hardware.
Get a seeder that feeds on RNG facilities provided by the current operating system or hardware. If no such facility is known, then 0 is returned.
If name
is not NULL
, then *name
is set to a symbolic string
that identifies the seeder implemention. If no seeder is returned
and name
is not NULL
, then *name
is set to a pointer to the
constant string "none"
.
\param name receiver for seeder name, or NULL
.
\return the system seeder, if available, or 0.