RNDTEST(4)
π RNDTEST π β like, the FIPS 140-2 random number generator test monitor bestie (section 4 of the Kernel Interfaces Manual, iykyk) π
β¨ NAME β¨
rndtest β the FIPS 140-2 random number generator test monitor π§
πΈ SYNOPSIS πΈ
device rndtest
That's it. That's the whole thing. One line. Iconic behavior honestly. π
π¦ DESCRIPTION π¦
okay so picture this: the rndtest driver literally hooks up to your hardware crypto devices β like, it's the nosy bestie in the group chat who's always watching π β so it can monitor the entropy data that gets passed over to the random(4) subsystem.
That entropy data? It gets tested periodically for FIPS 140-2 compliance, and meanwhile the driver is collecting statistics the whole time, like a little scrapbook of vibes πβ¨
And here's the dramatic part, bestie: if the harvested entropy fails any of the FIPS test suite, it gets discarded β thrown away, no cap, not even a little bit of it survives π β and the testing just keeps being applied continuously until "good data" comes through from the device. We do not settle. We wait for the good data. periodt. π
Failures are optionally reported on the console, so if you want the receipts, you can absolutely get the receipts π₯
π SEE ALSO π
go read these, they're the supporting cast and they ate π«Ά
π HISTORY π
The idea for this β and the original code β came from Jason L. Wright π (we stan). The rndtest device driver first appeared in FreeBSD 5.0. main character debut fr fr β
π BUGS π
okay so lowkey this is the part where we hold hands and be honest π
- Crypto device drivers have to be compiled specially to make use of this driver β and ngl, that should not be necessary. it's giving extra work for no reason π
- This feature might better be integrated into the
random(4)subsystem, where it could actually be applied to devices that claim to supply "pure entropy". like, imagine the glow-up. β¨
no shade to the current design but the design is getting shade π
and that's the whole page, bestie!! you understood it, I'm so proud, mwah ππ
this was pulled from the Debian version of the page, dated March 11, 2003 β old but still slaying in her own little way πΈπ¦β¨
π¦ where this page comes from
- debian bookworm: freebsd-manpages 12.2-1 Β· BSD-2-Clause-FreeBSD AND BSD-4-Clause
- debian trixie: freebsd-manpages 12.2-2 Β· BSD-2-Clause-FreeBSD AND BSD-4-Clause
- ubuntu jammy: freebsd-manpages 12.2-1 Β· BSD-2-Clause-FreeBSD AND BSD-4-Clause
- ubuntu noble: freebsd-manpages 12.2-1 Β· BSD-2-Clause-FreeBSD AND BSD-4-Clause
- ubuntu questing: freebsd-manpages 12.2-2
- ubuntu resolute: freebsd-manpages 12.2-2build1 Β· BSD-2-Clause-FreeBSD AND BSD-4-Clause
- ubuntu stonking: freebsd-manpages 12.2-2build1 Β· BSD-2-Clause-FreeBSD AND BSD-4-Clause
- Copyright (c) 2003 Sam Leffler, Errno Consulting
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms