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

linux, linux-device-driver, linux-kernel

Solution

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

Problem

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

Original source