xref: /openbsd/share/man/man4/man4.octeon/octrng.4 (revision 5dea098c)
1.\"	$OpenBSD: octrng.4,v 1.5 2020/04/06 00:01:08 pirofti Exp $
2.\"
3.\" Copyright (c) 2013 Paul Irofti <paul@irofti.net>
4.\"
5.\" Permission to use, copy, modify, and distribute this software for any
6.\" purpose with or without fee is hereby granted, provided that the above
7.\" copyright notice and this permission notice appear in all copies.
8.\"
9.\" THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
10.\" WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
11.\" MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
12.\" ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
13.\" WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
14.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
15.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
16.\"
17.\"
18.Dd $Mdocdate: April 6 2020 $
19.Dt OCTRNG 4 octeon
20.Os
21.Sh NAME
22.Nm octrng
23.Nd octeon random number generator
24.Sh SYNOPSIS
25.Cd "octrng* at iobus?"
26.Sh DESCRIPTION
27The
28.Nm
29driver supports the random number generator found on the CN50XX chip.
30.Pp
31After the 5 seconds it takes for the device to be initialized, the
32.Nm
33driver feeds the random subsystem's entropy pool 32 bits of data every
3410 milliseconds through the
35.Xr enqueue_randomness 9
36API.
37.Sh SEE ALSO
38.Xr intro 4 ,
39.Xr arc4random 9
40.Sh HISTORY
41The
42.Nm
43driver first appeared in
44.Ox 5.5 .
45.Sh AUTHORS
46.An -nosplit
47The
48.Nm
49driver was written by
50.An Paul Irofti Aq Mt paul@irofti.net .
51