p The following options are available: l -tag -width 123456 t Fl C Disable collection of data for the given device name or device type. t Fl c Enable collection of data for the given device name or device type. t Fl d Only the device named .Ar devname is altered or displayed. This is mutually exclusive with .Fl t . t Fl E Ignore estimates of entropy from the drivers for the given device name or type.
p If collection is still enabled, data is still collected and mixed into the internal entropy pool, but no entropy is assumed to be present and data from the selected devices will not unblock
a /dev/random . t Fl e Accept estimates of entropy from the drivers for the given device name or type.
p .Cm "rndctl -e" does not change the estimate provided by the driver; if the driver's estimate is zero, as it generally is for devices of types other than c rng , it remains zero after .Cm "rndctl -e" . t Fl i With the .Fl L option to load a seed from a file, ignore any estimate in the file of the entropy of the seed. This still loads the data into the kernel, but won't unblock
a /dev/random even if the file claims to have adequate entropy. This is useful if the file is on a medium, such as an NFS share, that the operator does not know to be secret. t Fl L Load a seed from .Ar save-file generated by .Cm "rndctl -S" . Overwrite it with a seed derived by hashing it together with output from
a /dev/urandom so that the new seed has at least as much entropy as either the old seed had or the system already has. If interrupted, either the old seed or the new seed will be in place. t Fl l List all sources, or, if the .Fl t or .Fl d options are supplied, only those specified by the .Ar devtype or .Ar devname . Details the source, source type, estimated bits, sample count, and associated source flags. Source flags .Dq t and/or .Dq v may be associated, and indicate time vs. value samples, respectively. The .Fl v option expands this output to include individual details about sample counts and bits per source. t Fl S Generate a seed from the system entropy pool and save it to .Ar save-file for later use with .Cm "rndctl -L" .
p The file format is specific to .Nm and includes an estimate of the amount of saved entropy and a checksum. The prior internal state of the system entropy pool cannot be recovered from .Ar save-file , so disclosure of .Ar save-file does not compromise past secrets drawn from
a /dev/urandom or equivalent. t Fl s Display statistics on the current state of the entropy pool. t Fl t All devices of type .Ar devtype are altered or displayed. This is mutually exclusive with .Fl d .
p The available types are: l -tag -width "diskx" t Ic disk Physical hard drives. t Ic net Network interfaces. t Ic tape Tape devices. t Ic tty Terminal, mouse, or other user input devices. t Ic rng Hardware random number generators. .El t Fl v Verbose output, increases the detail provided by the .Fl l option. .El .Sh SEE ALSO .Xr rnd 4 , .Xr entropy 7 , .Xr rnd 9 .Sh HISTORY The .Nm program was first made available in .Nx 1.3 . .Sh AUTHORS The .Nm program was written by .An Michael Graff .Aq explorer (at] flame.org .