From b58c60bcc4a6f3d3ccf4194ef862a808fdc3313b Mon Sep 17 00:00:00 2001 From: Rob Austein Date: Sun, 14 Feb 2021 01:55:38 +0000 Subject: Hack images, store outputs in git again for now Easier to track what each script change does if we keep the before and after versions of the markdown in git too. Clean this up eventually, but simplifies development. --- tracwiki/NoisyDiode.trac | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 tracwiki/NoisyDiode.trac (limited to 'tracwiki/NoisyDiode.trac') diff --git a/tracwiki/NoisyDiode.trac b/tracwiki/NoisyDiode.trac new file mode 100644 index 0000000..d20709b --- /dev/null +++ b/tracwiki/NoisyDiode.trac @@ -0,0 +1,28 @@ + +== Noisy Diode entropy source == + +The Cryptech project is using Avalanche Noise as a physical entropy source connected to the FPGA. + +Avalanche breakdown is a physical process that occurs when current is forced backwards through a diode until it cannot hold back anymore. The diode will then begin conducting for a brief time until the voltage drops to a point where the diode recovers. The breakdown and recovery points are not deterministic, and can thus be used as a source of real physical entropy. + +The unamplified noise looks like this: + +[[Image(noise1.jpg)]] + +After amplification, details are lost but the signal is now 3.3V (blue is noise before amplification, yellow is amplified) + +[[Image(noise2.jpg)]] + +Many implementations on the Internet feed a similar signal into an ADC (Analog Digital converter) and use the resulting data value at the time of the sampling as entropy. The Cryptech project believes a more robust way of extracting entropy is to instead feed the noise to a Schmitt trigger and then measure the time between rising edges. This would be more robust since any analog reading of the noise (such as with an ADC) will be sensitive to changes in temperature, supplied voltage and component aging. + +After beeing fed through a Schmitt trigger, the noise looks like this (yellow signal, blue is just a 4 MHz clock): + +[[Image(noise-schmitt.jpg)]] + +The Cryptech project has to date made a couple of different hardware entropy source boards, but they all share the same design for the avalanche noise source. The core parts of the circuit are shown below. Git repository with full schematics and source code is linked at the bottom of this page. + +[[Image(noise-schematics.png)]] + +Links: + +[[GitRepositories/user/ft/stm32-avalanche-noise| Raspberry-Pi / USB entropy source]] \ No newline at end of file -- cgit v1.2.3