News for hackers. Stuff that matters.
Re:OneRNG – Open Hardware Random Number Generator by deutronium on Tuesday October 28, 2014 @05:22AM (#8520086)
I'm curious why they chose to use an avalanche diode which doesn't generate quantum-random numbers, unlike a reverse-biased transistor.

As far as I'm aware, this means you could effect the numbers, by varying temperature.

Re:OneRNG – Open Hardware Random Number Generator by DanBC on Tuesday October 28, 2014 @06:21AM (#8520240)
https://news.ycombinator.com/item?id=7728216

> This article seems to be talking about using quantum effects for random number generation.

> The devices you point to use the semiconductor avalanche effect (http://en.wikipedia.org/wiki/Avalanche_breakdown) which is a thermal effect.

> > Most noise is quantum noise (including the one quoted, even though electron avalanche is a classic phenomenon, in semiconductors it's going to have quantum effects)

> > But in the end it doesn't matter, any unpredictable, non manipulable source of randomness is fine. Other sources of noise in electrical circuits (apart from quantum noise origins) are interference (like the 60Hz hum, radio interference, and even background radiation)

Re:OneRNG – Open Hardware Random Number Generator by raverbashing on Tuesday October 28, 2014 @05:42AM (#8520127)
I doesn't matter.

And being in a semiconductor it is a quantum process (in fact most sources of noise in circuits are quantum in origin - not that it matters)

Re:OneRNG – Open Hardware Random Number Generator by deutronium on Tuesday October 28, 2014 @05:47AM (#8520134)
That's untrue, just because it's a semiconductor, doesn't mean it can't generate data effected by non-quantum properties such as temperature.
Re:OneRNG – Open Hardware Random Number Generator by raverbashing on Tuesday October 28, 2014 @05:50AM (#8520140)
"it can't generate data effected by non-quantum properties such as temperature"

And do you think quantum effects are not affected by temperature? REALLY?!

Start here http://ecee.colorado.edu/~bart/book/distrib.htm

Re:OneRNG – Open Hardware Random Number Generator by Taniwha on Tuesday October 28, 2014 @05:39AM (#8520125)
actually it is a reverse biased transistor
Re:OneRNG – Open Hardware Random Number Generator by deutronium on Tuesday October 28, 2014 @06:35AM (#8520263)
Aha cool, is the schematic online?
Re:OneRNG – Open Hardware Random Number Generator by WaywardGeek on Tuesday October 28, 2014 @09:38AM (#8520847)
Every TRNG I've seen so far that uses "zener noise" is actually using the reverse breakdown voltage across the emitter-base junction of a cheap NPN transistor. This is a zener diode! The reason this form of zener is used is simply because the fab does not bother to put in any effort to reduce the avalanche noise. Noise like that makes zeners sold as zeners unpopular.

Zener avalanche noise is unpredictable. How is an attacker supposed to guess when the next electron/hole pair is going to be created in the depletion region? Physically, what happens is the emitter-base junction is reverse biased, turning it into a diode that is blocking current from flowing from the emitter to the base. Every once in a while, due to thermal noise and likely quantum effects, an electron jumps up a valence level, creating an electron/hole pair in the middle of the reversed-biased N/P junction, where there is a strong electric field. This launches the electron in one direction and the hole in the other, where they gain speed rapidly. The electron has higher mobility and will gain enough speed to bang into other electron/hole pairs, creating an avalanche of electrons.

There is no known way for anyone to guess when the next avalanche will occur, or how large it will be, so long as there is no outside signal controlling this effect. Implemented poorly, it can just put out power supply noise, and not true unpredictable entropy. Implemented well, it is a solid, reliable, cheap, and fast entropy source. It is absolutely critical that a zener noise TRNG has an open auditable design!

As for "quantum" effects, I consider that marketing fluff. What we need is provable, reliable unpredictability, not some radioactive decay or photon emission. We don't need 100% unbiased unpredictability either, just a signal that cannot be predicted with much accuracy.

Re:OneRNG – Open Hardware Random Number Generator by Taniwha on Tuesday October 28, 2014 @06:55AM (#8520322)
not yet, the actual RNG circuit is pretty standard - we'll put up the eagle files, along with the software sources, before we open the kickstarter
Re:OneRNG – Open Hardware Random Number Generator by joeschmoe097845 on Tuesday October 28, 2014 @11:41AM (#8521520)
If it's faster, could you put up a .png of the schematic?

Also, the CC2531 looks like a QFN. Does it come in any hand-solderable packages?

Re:OneRNG – Open Hardware Random Number Generator by Taniwha on Tuesday October 28, 2014 @01:58PM (#8522374)
There's an almost current schematic on the "Theory of Operation" page:

http://moonbaseotago.com/onerng/theory.html

few (any?) chips that do 2.5GHz RF come in chips with traditional pins (too much inductance).

QFNs are completely hand solderable (with hot air, solder paste and a pair of tweezers)