[Cryptech Tech] First blinkenlight with avalanche based entropy source

Joachim Strömbergson joachim at secworks.se
Thu Aug 21 14:49:49 UTC 2014


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Aloha!

I've now created a first test implementation of an entropy collector
based on the avalanche noise source FredrikT has designed and manufactured.

Short functional description:
The test implementation samples then noise input and detect flanks. The
design contains a free running counter (clocked at 50 MHz). When a
positive flank is detected the LSB of the counter is added as LSB in a
32-bit entropy shift register.

In order to observe the entropy collected the low 8 bits in the entropy
register is sampled at a given rate (currently several times per second)
and the lowest 8 bits are used to drive LEDs on the FPGA board.


I have not yet added any ports for reading out the entropy via serial
interface nor any counters for flanks etc (to allow us to analyze the
design). I'm not doing any decorrelation etc either. This is simply the
first, simplest implementation that tries to use the noise source.

But it blinks very nice! And it looks random. ;-)

I have committed the RTL source code as well as project files as needed
to implement the design on the TerasIC DE0_Nano board.

The source viewer on the wiki has not updated yet, but the code is in
test/external_avalanche_entropy.

- -- 
Med vänlig hälsning, Yours

Joachim Strömbergson - Alltid i harmonisk svängning.
========================================================================
 Joachim Strömbergson          Secworks AB          joachim at secworks.se
========================================================================
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.22 (Darwin)
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQIcBAEBCAAGBQJT9gcNAAoJEF3cfFQkIuyN9lAP/RkqG9BgVCLqK3KsP/7dHTd1
HS4oWihIyBOiBkIacUE6QXAk/cXdnE4Q/yG6xPtIdPDZgDJxljOxYVw9vMqCu0XK
aUuKloy8dQFWLjC9TXRmyoq3wyUxr25aLVV4k/AFp8iyvE7JnO2QYIEUHloWslqN
2mFkxxrA66eQhGXp7gCrCSh4+PtRanlp/xchrk9jiAhFQAkg0OP7iLwMg0t56duG
WimY2/pVzFNDIQm0yMmPkpY8VRuTRzGD+kIcwz8bi1a3uVHo6YR864/pab75A/b2
4T/dGlEojncpdc5WeWppKGvcDGUGajuBzKfm1mVkqfV1pMRNICXmeFzS1IKTdGq+
9ikBqpxEkS9jz2dHF2Nwz+K9qm8KwRwsSmslM8E+xljxLWhFsNIHvxE+ywa3q33z
Aq+b+fAVqZyUeb2ccLLQJ5q/DusucClXXfwbPn8L/HUw5QX/p7KGVxx1rSeEUcrb
B0PhBb4sJGyO1ToNyyNX/UoWuykL9lpiUQVh70yPncoXJ7XmzBJ1/ztoYabZpCjk
E3HM0P0IDotYU0ws+AtRY7P91p2+Ypz3sQuuwJkQr/Vgk4EsBJZyPOBR214KXseb
gxzfHzXnJaJdlKyy4mDjrwr8HqZNKnwvgGAcZ0n0hrGpIeJAV0GxyaQYADPe0CPe
UoGj5RhGni9gQfTrLW/i
=hVh6
-----END PGP SIGNATURE-----


More information about the Tech mailing list