From: kettenis Date: Sat, 23 Sep 2023 19:11:00 +0000 (+0000) Subject: stfrng(4) X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=19d7a0dbd864472917a7f25378dd513cbab90b5e;p=openbsd stfrng(4) --- diff --git a/share/man/man4/man4.riscv64/Makefile b/share/man/man4/man4.riscv64/Makefile index 73a91e7c8b9..e8c38eb32f1 100644 --- a/share/man/man4/man4.riscv64/Makefile +++ b/share/man/man4/man4.riscv64/Makefile @@ -1,8 +1,8 @@ -# $OpenBSD: Makefile,v 1.10 2023/07/08 10:19:19 kettenis Exp $ +# $OpenBSD: Makefile,v 1.11 2023/09/23 19:11:00 kettenis Exp $ MAN= intro.4 mpfclock.4 mpfgpio.4 mpfiic.4 plic.4 \ sfcc.4 sfclock.4 sfgpio.4 sfuart.4 \ - stfclock.4 stfpcie.4 stfpciephy.4 stfpinctrl.4 + stfclock.4 stfpcie.4 stfpciephy.4 stfpinctrl.4 stfrng.4 MANSUBDIR=riscv64 diff --git a/share/man/man4/man4.riscv64/stfrng.4 b/share/man/man4/man4.riscv64/stfrng.4 new file mode 100644 index 00000000000..a8ad7c07fb3 --- /dev/null +++ b/share/man/man4/man4.riscv64/stfrng.4 @@ -0,0 +1,47 @@ +.\" $OpenBSD: stfrng.4,v 1.1 2023/09/23 19:11:00 kettenis Exp $ +.\" +.\" Copyright (c) 2023 Mark Kettenis +.\" +.\" Permission to use, copy, modify, and distribute this software for any +.\" purpose with or without fee is hereby granted, provided that the above +.\" copyright notice and this permission notice appear in all copies. +.\" +.\" THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES +.\" WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF +.\" MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR +.\" ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES +.\" WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN +.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF +.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. +.\" +.Dd $Mdocdate: September 23 2023 $ +.Dt STFRNG 4 riscv64 +.Os +.Sh NAME +.Nm stfrng +.Nd StarFive JH7110 random number generator +.Sh SYNOPSIS +.Cd "stfrng* at fdt?" +.Sh DESCRIPTION +The +.Nm +driver provides support for the random number generator found on the +StarFive JH7110 SoC. +.Pp +It feeds the random subsystem's entropy pool with 256 bits of random +data every second. +.Sh SEE ALSO +.Xr intro 4 , +.Xr random 4 , +.Xr arc4random 9 +.Sh HISTORY +The +.Nm +driver first appeared in +.Ox 7.4 . +.Sh AUTHORS +.An -nosplit +The +.Nm +driver was written by +.An Mark Kettenis Aq Mt kettenis@openbsd.org .