summaryrefslogtreecommitdiff
path: root/sys/libkern/arc4random.c
AgeCommit message (Expand)Author
2025-10-13libkern: Use proper prototype for SYSINIT functionsZhenlei Huang
2023-11-26sys: Automated cleanup of cdefs and other formattingWarner Losh
2023-08-16sys: Remove $FreeBSD$: one-line .c patternWarner Losh
2021-12-28sys/libkern: Use C99 fixed-width integer types.John Baldwin
2021-08-13arc4random: Avoid KMSAN false positives from pre-seeding resultsMark Johnston
2021-08-08Remove "All Rights Reserved" from FreeBSD Foundation sys/ copyrightsEd Maste
2020-10-10arc4random(9): Integrate with RANDOM_FENESTRASX push-reseedConrad Meyer
2019-05-12random(4): depessimize arc4randomMateusz Guzik
2019-04-18random(4): Restore availability tradeoff prior to r346250Conrad Meyer
2019-04-15random(4): Block read_random(9) on initial seedingConrad Meyer
2017-04-16Replace the RC4 algorithm for generating in-kernel secure randomMark Murray
2017-03-14Discard first 3072 bytes of RC4 keystream, this is a bandaidXin LI
2016-11-25Update r309143 to prevent false sharing.Fabien Thomas
2016-11-25In a dual processor system (2*6 cores) during IPSec throughput tests,Fabien Thomas
2015-06-30Huge cleanup of random(4) code.Mark Murray
2013-04-19Attempt to mitigate poor initialization of arc4 by one-shotAndrey A. Chernov
2008-07-26Return arc4_i = arc4_j = 0; line from previous backing out sinceAndrey A. Chernov
2008-07-25Per rwatson's request:Andrey A. Chernov
2008-07-221) Initialize arc4_i and arc4_j to 0 after key mixing as recommended inAndrey A. Chernov
2003-08-15Lock down arc4random so it can be safely called w/o Giant.Mike Silbersack
2003-06-11Use __FBSDID().David E. O'Brien
2002-10-11Slight overhaul of arc4random() and friends.Poul-Henning Kamp
2001-08-30Fixed some typos, verboseness and misformatting in comments.Bruce Evans
2001-08-30Minor improvements to arc4random():Mike Silbersack
2000-12-02Recouple arc4random(9) to the entropy device. This works whether theMark Murray
2000-09-11Back out previous revision now that sys/random.h is properly fixed.John Baldwin
2000-09-11Add #include's of sys/proc.h and sys/param.h to silence a warning.John Baldwin
2000-06-25Comment out unavailable call. This needs to be revisited when the entropyMark Murray
1999-11-29In the extremely miniscule chance that read_random returns <= 0, don't tryDan Moschuk
1999-11-28Address the concerns of the ``randomness'' of the initial PRNG. Now, weDan Moschuk
1999-11-28Introduce OpenBSD-like Random PIDs. Controlled by a sysctl knobDan Moschuk