1*8855e28cSpirofti.\" $OpenBSD: octrng.4,v 1.5 2020/04/06 00:01:08 pirofti Exp $ 288d0a922Spirofti.\" 3*8855e28cSpirofti.\" Copyright (c) 2013 Paul Irofti <paul@irofti.net> 488d0a922Spirofti.\" 588d0a922Spirofti.\" Permission to use, copy, modify, and distribute this software for any 688d0a922Spirofti.\" purpose with or without fee is hereby granted, provided that the above 788d0a922Spirofti.\" copyright notice and this permission notice appear in all copies. 888d0a922Spirofti.\" 988d0a922Spirofti.\" THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES 1088d0a922Spirofti.\" WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF 1188d0a922Spirofti.\" MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR 1288d0a922Spirofti.\" ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES 1388d0a922Spirofti.\" WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN 1488d0a922Spirofti.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF 1588d0a922Spirofti.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 1688d0a922Spirofti.\" 1788d0a922Spirofti.\" 18*8855e28cSpirofti.Dd $Mdocdate: April 6 2020 $ 199840847aSjmc.Dt OCTRNG 4 octeon 2088d0a922Spirofti.Os 2188d0a922Spirofti.Sh NAME 2288d0a922Spirofti.Nm octrng 239840847aSjmc.Nd octeon random number generator 2488d0a922Spirofti.Sh SYNOPSIS 2588d0a922Spirofti.Cd "octrng* at iobus?" 2688d0a922Spirofti.Sh DESCRIPTION 2788d0a922SpiroftiThe 2888d0a922Spirofti.Nm 299840847aSjmcdriver supports the random number generator found on the CN50XX chip. 3088d0a922Spirofti.Pp 3188d0a922SpiroftiAfter the 5 seconds it takes for the device to be initialized, the 3288d0a922Spirofti.Nm 339840847aSjmcdriver feeds the random subsystem's entropy pool 32 bits of data every 34c8990e71Ssobrado10 milliseconds through the 359e9abf5bSjasper.Xr enqueue_randomness 9 3688d0a922SpiroftiAPI. 3788d0a922Spirofti.Sh SEE ALSO 389840847aSjmc.Xr intro 4 , 399840847aSjmc.Xr arc4random 9 4088d0a922Spirofti.Sh HISTORY 4188d0a922SpiroftiThe 4288d0a922Spirofti.Nm 4388d0a922Spiroftidriver first appeared in 4488d0a922Spirofti.Ox 5.5 . 4588d0a922Spirofti.Sh AUTHORS 4688d0a922Spirofti.An -nosplit 4788d0a922SpiroftiThe 4888d0a922Spirofti.Nm 4988d0a922Spiroftidriver was written by 50*8855e28cSpirofti.An Paul Irofti Aq Mt paul@irofti.net . 51