[Cryptech Tech] Hardware entropy
Joachim Strömbergson
joachim at secworks.se
Fri May 23 13:43:07 UTC 2014
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Aloha!
Joachim Strömbergson wrote:
> Short answer to your latest emails: Cool and thanks for doing this.
> I will try to recreate the results when I get back to my dev boards.
Short update on my implementation test:
I've created a FPGA project for testing Berndts FPGA entropy source and
integrate it into the coretest system:
https://github.com/secworks/coretest_bpaysan_entropy
Berndt: I didn't know what license you want use on your code so I just
added (C) 2014, Berndy Paysan to it. Is it ok to use 2-clause BSD?
Besides minor edits to get the code integrated into coretest it was
fairly easy going. I've also added a debug port that samples internal
values in the entropy source about 10 times/minute. The debug port is
connected to the LEDs on the dev board to give some direct feedback that
something is happening.
The project includes pin assignments, clocks etc needed to build the
system on the TerasIC C5G board. Quartus complains in the combinational
loops, but have no problems actually generating a FPGA design. The
resulting design requires 521 ALMs and 472 registers. Most of that is
from coretest and uart.
I have not yet been able to complete the SW needed to read out data from
the entropy source and save it to be able to run Dieharder on it. I will
try to do that the coming evenings.
If one wants to see the entropy source in action, there is a little 10
second movie with blinkenlights here:
http://secworks.se/wp-content/uploads/2014/05/fpga_entropy.mov
The LEDs at the lower right corner is the debug port and are currently
connected to the lower 8 bits of the n-vector in entropy.v
Very random. Much blinken. Wow.
- --
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/
iQIcBAEBCAAGBQJTf1BqAAoJEF3cfFQkIuyNxK0QALVZ0q01dlFn6mVsPA82Bl5d
HL7TwHadnsl7lPFyH/MWnuBCZccIEBVW8ivTH6L6+h89u1gwYmYE5d7asFVJ92hJ
pbpVO0l8K/+wddSK4NiB2io5KO8Oz5q3F0ewnGsdJo+EbdJkM/iqAOyQkOz2cjD5
Lg2zVXlY+eYLZdEg2hubX85vQoG4X8DapCNUjhxGeD9BNejo3+9ER4aFUEORUk8n
VAGXMo1WGVb3VpXJlkPAW0MIAGWvI2iWJr3wD3NotOKbpM1VXhH/5KlEm78XhceD
WRBQzMl3VRQmoORrUuYEnn9v9IlALHGtoxui/vK/K/+I2wBHvpwEZL6Z+Jp7GYua
2tWEDx6WoA6iOPN9QR0S41PLHxj0rqYNFCKc0KjU1sp7JzqwHjnfSO3RNPfldQ6j
K1ZNqJvZjX/yH45MKxePrnQGcWx3jVQlv1RG2lVYFqMWj91d1fqyqDwBPEDMTyHe
EvNW2L2n39JQoYMO3MRlcxt3qZ6u04LoSxmnUkDkHfoY2BBN5WQ+GzOLTSY77CFt
cBzXINluq4FhgE9shdWaUGDUYLmVbDy/p9CLongC/wYm3T9PMtpOMq+Tnz9rrYHY
fxZrv0IfwoFyv1+IqZ3ChHxfQuLzMplTfIHdQSa0RhcSA+tueSoldm5Wq2kJtEfZ
MLN/LlqBOuFA4NPaeaXn
=rn20
-----END PGP SIGNATURE-----
More information about the Tech
mailing list