|
NAMErandom_harvest —
gather entropy from the kernel for the entropy device
SYNOPSIS#include <sys/types.h>
#include <sys/random.h>
void
void
void
DESCRIPTIONTherandom_harvest_* () functions are used by device
drivers and other kernel processes to pass data that is considered (at least
partially) stochastic to the entropy device.
The caller should pass a pointer pointing to the “random” data in entropy. The argument size contains the number of bytes pointed to. The source is chosen from one of the values enumerated in sys/dev/random.h. and is used to indicate the source of the entropy. The The The Interrupt harvesting has been in part simplified for the kernel
programmer. If a device driver registers an interrupt handler with
BUS_SETUP_INTR(9)
or
bus_setup_intr(9),
then it is only necessary to include the
SEE ALSOrandom(4), BUS_SETUP_INTR(9)AUTHORSThe FreeBSD random(4) entropy device and supporting documentation was written by Mark R V Murray.
Visit the GSP FreeBSD Man Page Interface. |