33 lines
1.1 KiB
Groff
33 lines
1.1 KiB
Groff
.\" Copyright (c) (2018,2019,2020) Apple Inc. All rights reserved.
|
||
.\"
|
||
.\" corecrypto is licensed under Apple Inc.’s Internal Use License Agreement (which
|
||
.\" is contained in the License.txt file distributed with corecrypto) and only to
|
||
.\" people who accept that license. IMPORTANT: Any license rights granted to you by
|
||
.\" Apple Inc. (if any) are limited to internal use within your organization only on
|
||
.\" devices and computers you own or control, for the sole purpose of verifying the
|
||
.\" security characteristics and correct functioning of the Apple Software. You may
|
||
.\" not, directly or indirectly, redistribute the Apple Software or any portions thereof.
|
||
.Dd November 13, 2018
|
||
.Dt prng_seedctl 1
|
||
.Os Darwin
|
||
.Sh NAME
|
||
.Nm prng_seedctl
|
||
.Nd Loads and updates the kernel PRNG seed file
|
||
.Sh DESCRIPTION
|
||
The
|
||
.Nm
|
||
loads the kernel PRNG seed file at
|
||
.Nm /var/db/SystemEntropyCache
|
||
(if present) and writes it to
|
||
.Nm /dev/random .
|
||
It then calls
|
||
.Xr getentropy 2
|
||
to get a new seed to update the seed file.
|
||
.Sh EXIT STATUS
|
||
The
|
||
.Nm
|
||
utility exits 0 on success and greater than 0 on error.
|
||
.Sh SEE ALSO
|
||
.Xr getentropy 2 ,
|
||
.Xr random 4
|