Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

where can i find the source code for /dev/random driver?

I want to see how /dev/random creates random numbers. I understand that it uses entropy made from interrupts but I'd still like to see the source and how it works.

Thanks

like image 900
Dr.Knowitall Avatar asked Feb 16 '26 16:02

Dr.Knowitall


1 Answers

http://lxr.linux.no/linux/drivers/char/random.c

like image 86
h0tw1r3 Avatar answered Feb 19 '26 08:02

h0tw1r3



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!