Skip to content

Instantly share code, notes, and snippets.

@adulau
Last active December 30, 2015 21:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save adulau/7886815 to your computer and use it in GitHub Desktop.
Save adulau/7886815 to your computer and use it in GitHub Desktop.
Hardware Random Generator

Notes about Hardware Random Generator

Previously, I used the entropykey from Simtec but it's no more manufactured.

http://www.foo.be/cgi-bin/wiki.pl/TestingSimtecEntropyKey

So I tried to explore all the other options.

XR232-TRNG as USB

"This ain't yet another ultimate, ultrafast and all-too-miniaturized USB-gadget. It is the "official" USB-version of the XR232-TRNG, taking advantage from the benefits of USB, but retaining fundamental XR232-philosophy of independency, security, transparency and compatibility."

XR232-TRNG potential improvement

  • Unique PSK (Private Shared Key) in each device
  • Discriminators (like von neumann model) for generated random streams
  • Circular buffer and random pool selection
  • NIST continuous test
  • Improve control on external factors (e.g. temperatures or electromagnetic fields)
  • SMD to reduce noise
  • "Plan de masse"/Ground plan? on one side of the PCB board
  • Linearise the input power with a Maxim/Linear component

Notes and recommendation from other H/PRNG implementations

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment