Posts

Showing posts from 2016

Raspberry PI's hardware random number generator for /dev/random

I've stumble upon that Raspberry PI has a built in hardware random number generator. http://scruss.com/blog/2013/06/07/well-that-was-unexpected-the-raspberry-pis-hardware-random-number-generator/ The BCM2835 datasheet also does not provide any info about the RNG. I also found out that the kernel module is also loaded: pi@raspberrypi ~ $ lsmod | grep bcm snd_bcm2835            22317  0  snd_pcm                92397  1 snd_bcm2835 snd                    66972  5 snd_bcm2835,snd_timer,snd_pcm,snd_seq,snd_seq_device bcm2835_rng             2215  0  bcm2835_gpiomem         3703  0 However, it is currently not fed to /dev/random Also, occasionally, I realize there is a long pause when trying to log in to SSH when the random entropy pool runs out because I'm using it mos...

Simple PIC16F72-based digital clock with DS32KHZ TCXO

Image
Just to keep this blog updated, I've made a digital clock with a DS32KHZ TCXO to provide accurate time keeping. Details are at github: https://github.com/sonofusion82/ds32khz_clock