summaryrefslogtreecommitdiff
path: root/sys/dev/rnd.c
AgeCommit message (Expand)Author
2020-05-25For large reads from /dev/random, use the arc4random_ctx_*() functionsChristian Weisgerber
2020-05-25Pass bootblock indicator RB_GOODRANDOM to random_start(). Future workTheo de Raadt
2020-05-18During the rekey operation, we feedback 1 word to the lowest level.Theo de Raadt
2020-05-16entropy_add_ptr and entropy_input_rotate are only used insideTheo de Raadt
2020-05-16be more consistant about with using sizeof(object) rather than the constantTheo de Raadt
2020-05-15Describe the purpose of add_entropy_words() in simpler terms.Theo de Raadt
2020-05-15The description of the enqueue_randomness() input parameter was crazy untrue.Theo de Raadt
2020-05-15Explain enqueue_randomness() better. It is the supply-entropy function,Theo de Raadt
2020-05-15The long explanation for CRC stirring isn't helping. If anythingTheo de Raadt
2020-05-15The main comment block from 1996 has become highly inaccurate andTheo de Raadt
2020-05-15remove unneccessary include filesTheo de Raadt
2020-03-06Make sure 'ts' is initialized.tobhe
2020-03-02previous commit accidentally aliased two unique timeoutsTheo de Raadt
2020-03-01rename functions and types unrelated to the higher-level arc4 APITheo de Raadt
2020-02-20Replace field f_isfd with field f_flags in struct filterops to allowVisa Hankala
2019-12-31Use C99 designated initializers with struct filterops. In addition,Visa Hankala
2018-04-28replace add_*_randomness with enqueue_randomness()Jasper Lievisse Adriaanse
2018-02-09Situation occur where bootloader cannot supply kernel with earlyTheo de Raadt
2018-02-08Do not hardcode key length. Pointed out by jsing@mortimer
2018-02-08Use a temporary chacha instance to fill large randomdata sections. Avoidsmortimer
2017-11-26Don't mention XOR as a mix-in function since addition is done since 1.180Mike Belopuhov
2017-11-19Remove interlocks between producers and consumers of randomness dataMike Belopuhov
2017-07-30clang (and newer gcc at high -O) are unaware that objects placed in strangeTheo de Raadt
2017-03-15spelling and whitespaceTheo de Raadt
2016-12-08fix spelling errors and typos, from Michael W. BombardieriTheo de Raadt
2016-10-18when openbsd.randomdata was made readonly, the proto seed copy got doneTheo de Raadt
2016-10-07another unused variable bites the dust. spotted by deraadtTed Unangst
2016-10-07the old time delta code is no longer used. nothing reads these values.Ted Unangst
2016-09-23kern.arandom no longer existsTheo de Raadt
2016-09-22Stop pushing version & cfdata into as entropy, since the contents areTheo de Raadt
2016-09-04Rototil the _rs_clearseed() function once more such that we don't map pagesMark Kettenis
2016-09-03Since the initial entropy pool is 8192 bytes, we need three pages to createMark Kettenis
2016-09-01openbsd.randomdata became RO in userland due to the RELRO work. We shouldTheo de Raadt
2016-07-15Remove unused re_nbits from dev/rnd.cTom Cosgrove
2016-05-23remove the sysctl kern.random counters, since none of the remainingTheo de Raadt
2016-05-17Change the random event buffer from a queue to an endless ring. This wayTed Unangst
2016-02-19Right shift by an amount larger than width of type is undefined behavior.Stefan Kempf
2016-01-08Use uiomove() instead of uiomovei().Stefan Kempf
2015-12-28use ulmin when looking at uio_resid to prevent wrapping around.Ted Unangst
2015-10-27Sync chacha_ivsetup to the version in ssh so that we couldMike Belopuhov
2015-05-25missing word in comment; Kyle MilzTheo de Raadt
2015-05-04use the size of the buffer not the pointer in resume_randomness()Jonathan Gray
2015-03-14Remove some includes include-what-you-use claims don'tJonathan Gray
2015-02-17the rnd event ringbuf calculations aren't correct, which may result inTed Unangst
2015-02-10First step towards making uiomove() take a size_t size argument:Miod Vallat
2015-02-07New framework that allows hibernate to pass in entropy from it's freshTheo de Raadt
2015-01-27remove the second void * argument on tasks.David Gwynne
2014-12-23not necessary to zero hash context; the hash final functions all do that.Ted Unangst
2014-12-23tmp is a bad name for a shactxTed Unangst
2014-12-19rename buffer to digest, more clear. ok deraadtTed Unangst