aboutsummaryrefslogtreecommitdiff
path: root/raw-wiki-dump/GitRepositories%2Fcore%2Frng%2Favalanche_entropy.trac
blob: bf38287a899c2ad72dff0b5dad42d8f0787bceb1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
{{{
#!htmlcomment

This page is maintained automatically by a script.  Don't modify this page by hand,
your changes will just be overwritten the next time the script runs.  Talk to your
Friendly Neighborhood Repository Maintainer if you need to change something here.

}}}

{{{
#!html
<h1>avalanche_entropy</h1>

<p>Entropy provider core for an external avalanche noise based entropy source.</p>

<h2>Functional Description</h2>

<p>This core samples noise provided on an input pin. The noise is expected
to be 'digital' that is fairly rapidly move from voltage levels
matching ones and zeros as handled by the digital process used to
implement the core.</p>

<p>The noise is sampled with double registers. Then phase detection is
applied to find positive flanks. The core contains a free running clock
(clocked at the provided core clock frequency). When a positive flank in
the noise is detected, the LSB of the clock is sampled and added to a
shift registers. When at least 32 bits has been collected, the result is
presented as entropy available to any entropy consumer connected to the
core.</p>

<p>The core also includes a delta time counter. This counter is used for
testing of the core and is available via the API.</p>

<p>The fact that the core uses the flank of the to drive the entropy bit
generation, but that the timing between the flanks means that if
the noise source have a bias for zero or one state does not affect which
entropy bits are generated.</p>

<h2>Implementation Status</h2>

<p>The core has been tested with several revisions of the Cryptech
avalanche noise board. The core has been implemented in Altera
Cyclone-IV and Cyclone-V devices as well as in Xilinx Spartan-6
devices. The core clock frequency used has been 25 MHz, 33 MHz and 50
MHz.</p>

<p>The generated entropy has been extensively tested (using the ent tool as
well as other custom tools) and found to be generating entropy with good
quality.</p>
}}}

[[RepositoryIndex(format=table,glob=core/rng/avalanche_entropy)]]

|| Clone `https://git.cryptech.is/core/rng/avalanche_entropy.git` ||