summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--share/man/man4/Makefile4
-rw-r--r--share/man/man4/qcrng.452
2 files changed, 54 insertions, 2 deletions
diff --git a/share/man/man4/Makefile b/share/man/man4/Makefile
index 755ac54c06b..2363983e5ea 100644
--- a/share/man/man4/Makefile
+++ b/share/man/man4/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.844 2023/08/07 03:17:42 dlg Exp $
+# $OpenBSD: Makefile,v 1.845 2023/09/27 07:50:46 phessler Exp $
MAN= aac.4 abcrtc.4 abl.4 ac97.4 acphy.4 acrtc.4 \
acpi.4 acpiac.4 acpials.4 acpiasus.4 acpibat.4 \
@@ -74,7 +74,7 @@ MAN= aac.4 abcrtc.4 abl.4 ac97.4 acphy.4 acrtc.4 \
pms.4 ppb.4 ppp.4 pppoe.4 pppx.4 psci.4 pty.4 puc.4 pvbus.4 \
pvclock.4 pwdog.4 pwmbl.4 pwmfan.4 pwmleds.4 pwmreg.4 \
qccpu.4 qcdwusb.4 qcgpio.4 qciic.4 qcpdc.4 qcpmic.4 qcpmicgpio.4 \
- qcpon.4 qcpwm.4 qcrtc.4 qcspmi.4 \
+ qcpon.4 qcpwm.4 qcrng.4 qcrtc.4 qcspmi.4 \
qla.4 qle.4 qlw.4 qsphy.4 \
radio.4 ral.4 random.4 rdomain.4 rd.4 rdac.4 re.4 rdcphy.4 rgephy.4 \
rge.4 ricohrtc.4 rkanxdp.4 rkclock.4 rkcomphy.4 \
diff --git a/share/man/man4/qcrng.4 b/share/man/man4/qcrng.4
new file mode 100644
index 00000000000..72944d3d8cb
--- /dev/null
+++ b/share/man/man4/qcrng.4
@@ -0,0 +1,52 @@
+.\" $OpenBSD: qcrng.4,v 1.1 2023/09/27 07:50:46 phessler Exp $
+.\"
+.\" Copyright (c) 2020 Mark Kettenis <kettenis@openbsd.org>
+.\"
+.\" 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 27 2023 $
+.Dt QCRNG 4
+.Os
+.Sh NAME
+.Nm qcrng
+.Nd Qualcomm Snapdragon random number generator
+.Sh SYNOPSIS
+.Cd "qcrng* at fdt?"
+.Sh DESCRIPTION
+The
+.Nm
+driver provides support for the random number generator found on the
+Qualcomm Snapdragon SoCs.
+.Pp
+It feeds the random subsystem's entropy pool with 32 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 Peter Hessler Aq Mt phessler@openbsd.org
+based on the
+.Xr amlrng 4
+driver by
+.An -nosplit
+.An Mark Kettenis Aq Mt kettenis@openbsd.org ,