aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/char/hw_random/core.c
AgeCommit message (Expand)AuthorFilesLines
2023-12-08hwrng: core - Fix page fault dead lock on mmap-ed hwrngHerbert Xu1-13/+21
2023-09-15hwrng: bcm2835 - Fix hwrng throughput regressionStefan Wahren1-0/+6
2023-08-18hwrng: core - Remove duplicated includeGUO Zihua1-2/+1
2022-12-14Merge tag 'v6.2-p1' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert/...Linus Torvalds1-6/+3
2022-11-18hwrng: core - treat default_quality as a maximum and default to 1024Jason A. Donenfeld1-6/+3
2022-11-18hw_random: use add_hwgenerator_randomness() for early entropyJason A. Donenfeld1-3/+5
2022-09-30hwrng: core - start hwrng kthread also for untrusted sourcesDominik Brodowski1-26/+10
2022-08-19hwrng: core - let sleep be interrupted when unregistering hwrngJason A. Donenfeld1-4/+15
2022-03-21Merge branch 'linus' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert...Linus Torvalds1-40/+121
2022-02-21random: pull add_hwgenerator_randomness() declaration into random.hJason A. Donenfeld1-0/+1
2022-02-18hwrng: core - introduce rng_quality sysfs attributeDominik Brodowski1-1/+63
2022-02-18hwrng: core - use per-rng quality value instead of global settingDominik Brodowski1-13/+20
2022-02-18hwrng: core - start and stop in-kernel rngd in separate functionDominik Brodowski1-10/+14
2022-02-18hwrng: core - do not bother to order list of devices by qualityDominik Brodowski1-20/+16
2022-02-05hwrng: core - credit entropy for low quality sources of randomnessDominik Brodowski1-1/+10
2022-02-05hwrng: core - break out of hwrng_fillfn if current rng is not trustedDominik Brodowski1-0/+3
2022-02-05hwrng: core - only set cur_rng_set_by_user if it is workingDominik Brodowski1-1/+2
2022-02-05hwrng: core - use rng_fillbuf in add_early_randomness()Dominik Brodowski1-2/+2
2022-02-05hwrng: core - read() callback must be called for size of 32 or more bytesDominik Brodowski1-2/+1
2022-02-05hwrng: core - explicit ordering of initcallsDominik Brodowski1-1/+1
2021-05-28hwrng: core - Use DEVICE_ATTR_<RW|RO> macroYueHaibing1-21/+15
2021-05-28hwrng: core - remove redundant initialization of variable errShaokun Zhang1-1/+1
2021-03-26hwrng: core - convert sysfs sprintf/snprintf family to sysfs_emitZihao Tang1-1/+1
2020-07-31hwrng: core - remove redundant initialization of variable retColin Ian King1-1/+1
2019-11-25Merge git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6Linus Torvalds1-17/+44
2019-11-17Revert "hwrng: core - Freeze khwrng thread during suspend"Herbert Xu1-4/+1
2019-10-23hwrng: core - Fix use-after-free warning in hwrng_register()Laurent Vivier1-17/+16
2019-10-10hwrng: core - move add_early_randomness() out of rng_mutexLaurent Vivier1-16/+44
2019-09-20hwrng: core - don't wait on add_early_randomness()Laurent Vivier1-1/+1
2019-08-15hwrng: core - Freeze khwrng thread during suspendStephen Boyd1-1/+4
2019-07-15docs: admin-guide: add a series of orphaned documentsMauro Carvalho Chehab1-1/+1
2018-10-05hwrng: core - document the quality fieldMichael S. Tsirkin1-2/+2
2018-06-15hwrng: core - Always drop the RNG in hwrng_unregister()Michael Büsch1-2/+9
2017-12-22hwrng: core - Clean up RNG list when last hwrng is unregisteredGary R Hook1-0/+4
2017-11-03hwrng: core - Reset user selected rng by writing "" to rng_currentPrasannaKumar Muralidharan1-19/+32
2017-10-12hwrng: core - pr_err() strings should end with newlinesArvind Yadav1-1/+1
2017-07-18hwrng: remember rng chosen by userHarald Freudenberger1-2/+19
2017-07-18hwrng: use rng source with best qualityHarald Freudenberger1-6/+19
2017-03-02sched/headers: Prepare to move signal wakeup & sigpending methods from <linux...Ingo Molnar1-0/+1
2017-02-23Merge branch 'linus' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert...Linus Torvalds1-46/+18
2017-02-08Revert "hwrng: core - zeroize buffers with random data"David Daney1-3/+0
2016-12-27hwrng: core - remove unused PFX macroCorentin LABBE1-1/+0
2016-12-27hwrng: core - Move hwrng miscdev minor number to include/linux/miscdevice.hCorentin LABBE1-2/+1
2016-12-27hwrng: core - Replace asm/uaccess.h by linux/uaccess.hCorentin LABBE1-7/+7
2016-12-27hwrng: core - Rewrite the headerCorentin LABBE1-29/+9
2016-12-27hwrng: core - rewrite better comparison to NULLCorentin LABBE1-2/+1
2016-12-27hwrng: core - do not use multiple blank linesCorentin LABBE1-5/+0
2016-12-24Replace <asm/uaccess.h> with <linux/uaccess.h> globallyLinus Torvalds1-1/+1
2016-11-01hwrng: core - zeroize buffers with random dataStephan Mueller1-0/+3
2016-10-19hwrng: core - Don't use a stack buffer in add_early_randomness()Andrew Lutomirski1-3/+3
2016-09-13hwrng: core - Allocate memory during module initPrasannaKumar Muralidharan1-17/+20
2015-12-04hwrng: core - sleep interruptible in readJiri Slaby1-1/+5
2015-09-21hwrng: core - Simplify RNG switching from sysfsLee Jones1-1/+1
2015-07-28hwrng: core - correct error check of kthread_run callMartin Schwidefsky1-1/+1
2015-04-21Merge tag 'char-misc-4.1-rc1' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds1-23/+11
2015-03-25hwrng: Avoid manual device_create_file() callsTakashi Iwai1-23/+11
2015-03-18hwrng: core - allow perfect entropy from hardware devicesKeith Packard1-1/+2
2015-03-16hwrng: add devm_* interfacesDmitry Torokhov1-0/+42
2014-12-26hwrng: core - Move hwrng_init call into set_current_rngHerbert Xu1-14/+16
2014-12-26hwrng: core - Drop current rng in set_current_rngHerbert Xu1-1/+2
2014-12-26hwrng: core - Do not register device opportunisticallyHerbert Xu1-11/+12
2014-12-26hwrng: core - Fix current_rng init/cleanup race yet againHerbert Xu1-3/+11
2014-12-26hwrng: core - Use struct completion for cleanup_doneHerbert Xu1-9/+3
2014-12-22hwrng: don't init list element we're about to add to list.Rusty Russell1-1/+0
2014-12-22hwrng: don't double-check old_rng.Rusty Russell1-3/+2
2014-12-22hwrng: fix unregister race.Rusty Russell1-0/+12
2014-12-22hwrng: use reference counts on each struct hwrng.Rusty Russell1-43/+92
2014-12-22hwrng: move some code out mutex_lock for avoiding underlying deadlockAmos Kong1-3/+3
2014-12-22hwrng: place mutex around read functions and buffers.Rusty Russell1-3/+17
2014-10-24hwrng: core - Changed from using strncat to strlcatRickard Strandqvist1-8/+4
2014-08-10Merge tag 'virtio-next-for-linus' of git://git.kernel.org/pub/scm/linux/kerne...Linus Torvalds1-6/+0
2014-08-06Merge tag 'random_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git...Linus Torvalds1-2/+65
2014-08-05hwrng: Pass entropy to add_hwgenerator_randomness() in bits, not bytesStephen Boyd1-1/+1
2014-07-27Revert "hwrng: virtio - ensure reads happen after successful probe"Amit Shah1-6/+0
2014-07-15hw_random: fix sparse warning (NULL vs 0 for pointer)Torsten Duwe1-1/+1
2014-07-15hwrng: add per-device entropy deratingTorsten Duwe1-1/+10
2014-07-15hwrng: create filler threadTorsten Duwe1-5/+64
2014-07-14hwrng: virtio - ensure reads happen after successful probeAmit Shah1-0/+6
2014-07-14hwrng: fetch randomness only after device initAmit Shah1-8/+33
2014-04-03Merge git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6Linus Torvalds1-7/+10
2014-03-10hwrng: add randomness to system from rng sourcesKees Cook1-0/+7
2014-02-09hwrng: cleanup in hwrng_register()Dan Carpenter1-7/+3
2014-02-07drivers/char: delete non-required instances of include <linux/init.h>Paul Gortmaker1-1/+0
2013-03-20hw_random: free rng_buffer at module exitSatoru Takeuchi1-0/+9
2013-03-05hw_random: make buffer usable in scatterlist.Rusty Russell1-3/+16
2011-07-07Update my e-mail addressMichael Büsch1-1/+1
2010-11-17BKL: remove extraneous #include <smp_lock.h>Arnd Bergmann1-1/+0
2010-10-15llseek: automatically add .llseek fopArnd Bergmann1-0/+1
2009-12-23hwrng: core - Fix double unlock in rng_dev_readHerbert Xu1-2/+3
2009-12-09Merge branch 'bkl-drivers-for-linus' of git://git.kernel.org/pub/scm/linux/ke...Linus Torvalds1-1/+0
2009-12-03hwrng: core - Prevent too-small buffer sizesIan Molton1-1/+2
2009-12-01Merge git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6Herbert Xu1-1/+1
2009-12-01hwrng: core - Replace u32 in driver API with byte arrayIan Molton1-43/+64
2009-10-14hw_random: Remove BKL from coreThomas Gleixner1-1/+0
2009-09-19Driver-Core: extend devnode callbacks to provide permissionsKay Sievers1-1/+1
2009-06-15Driver Core: misc: add nodename support for misc devices.Kay Sievers1-0/+1
2008-06-20hw-random: BKL pushdownArnd Bergmann1-0/+2
2008-04-19PM: Remove destroy_suspended_device()Rafael J. Wysocki1-5/+5
2008-04-17[S390] hw_random: allow rng_dev_read() to return hardware errors.Ralph Wuerthner1-0/+4
2008-02-05HWRNG: add possibility to remove hwrng devices during suspend/resumeRafael J. Wysocki1-5/+5
2008-01-11[HWRNG]: move status polling loop to data_present callbacksPatrick McHardy1-18/+6
2006-12-04[PATCH] severing fs.h, radix-tree.h -> sched.hAl Viro1-0/+1
2006-12-01Driver core: change misc class_devices to be real devicesGreg Kroah-Hartman1-19/+19
2006-07-03[PATCH] make more file_operation structs staticArjan van de Ven1-1/+1
2006-06-26[PATCH] Add new generic HW RNG coreMichael Buesch1-0/+354