History log of /openbsd/sys/dev/usb/urng.c (Results 1 – 11 of 11)
Revision Date Author Comments
# 81508fe3 23-May-2024 jsg <jsg@openbsd.org>

remove unneeded includes; ok mpi@


# c8f27247 29-May-2020 deraadt <deraadt@openbsd.org>

dev/rndvar.h no longer has statistical interfaces (removed during various
conversion steps). it only contains kernel prototypes for 4 interfaces,
all of which legitimately belong in sys/systm.h, whi

dev/rndvar.h no longer has statistical interfaces (removed during various
conversion steps). it only contains kernel prototypes for 4 interfaces,
all of which legitimately belong in sys/systm.h, which are already included
by all enqueue_randomness() users.

show more ...


# f40ee4da 09-Jul-2018 jasper <jasper@openbsd.org>

sprinkle comments and rename iface to match its use to ctl_iface_idx

ok abieber@


# 9e9abf5b 28-Apr-2018 jasper <jasper@openbsd.org>

replace add_*_randomness with enqueue_randomness()

this gets rid of the source annotation which doesn't really add
anything other than adding complexitiy. randomess is generally
good enough that the

replace add_*_randomness with enqueue_randomness()

this gets rid of the source annotation which doesn't really add
anything other than adding complexitiy. randomess is generally
good enough that the few extra bits that the source type would
add are not worth it.

ok mikeb@ deraadt@

show more ...


# e0d879fc 12-Sep-2017 jasper <jasper@openbsd.org>

- sprinkle variable name and printf tweaks
- save product type for future use


# 78523cff 10-Sep-2017 jasper <jasper@openbsd.org>

- call usbd_deactivate() rather than simply returning in case of errors
- explicitly clear sc_xfer upon detach
- fix spacing in urng_softc definition


# 02e484bf 05-Sep-2017 jasper <jasper@openbsd.org>

explicitly clear the output pipe

ok mpi@


# ebd6eee6 30-Aug-2017 abieber <abieber@openbsd.org>

Use endpoint 5 for chaoskey, it should have been 5 from the start, this
puts us in line with the linux driver. Also add a DPRINTF for endpoints.

"i'd say go for it" jasper@


# 5fd8c5c8 29-Aug-2017 jasper <jasper@openbsd.org>

add _MEASURE_RATE bits from uonerng(4)

tested by abieber@


# 134c19d3 29-Aug-2017 jasper <jasper@openbsd.org>

rename sc_pipe to sc_outpipe to indicate it's direction as there'll come an
sc_inpipe too


# c51cbc79 28-Aug-2017 jasper <jasper@openbsd.org>

Add urng(4) which supports various USB RNG devices. Instead of adding one
driver per device, start bundling them into a single driver.

urng(4) supports the device currently supported by ualea(4) and

Add urng(4) which supports various USB RNG devices. Instead of adding one
driver per device, start bundling them into a single driver.

urng(4) supports the device currently supported by ualea(4) and adds support for
the Altusmetrum ChaosKey 1.0, by abieber@

This was tested by abieber@ with a ChaosKey and Sean Levy with an Alea II

ok abieber@ deraadt@ naddy@

show more ...