17.01.2013 Views

SIMPLE PLL-BASED TRUE RANDOM NUMBER ... - KEMT FEI TUKE

SIMPLE PLL-BASED TRUE RANDOM NUMBER ... - KEMT FEI TUKE

SIMPLE PLL-BASED TRUE RANDOM NUMBER ... - KEMT FEI TUKE

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

prove even further the quality of the generator, we have applied also very strict Frequency<br />

(Monobit) tests for very long records.<br />

5.2 Frequency (Monobit) test of very long record<br />

The most common statistical test of TRNGs is the Frequency (Monobit) test [14]. Good<br />

TRNGs should provide independent binary (Bernoulli) random variables 0 and 1 with the<br />

same probability. For a sequence of independent identically distributed Bernoulli random<br />

variables x( nNK D ) we can define variable Sn = X1+ … + Xn,<br />

where Xn = 2x( nNKD)<br />

−1<br />

are<br />

antipodaly encoded values { − 1,1}<br />

. By the classic De Moivre-Laplace theorem [14], for a<br />

sufficiently large number of trials, the distribution of the normalized binomial sum<br />

sn = Sn<br />

/ n is closely approximated by a standard normal distribution N ( 0,1)<br />

and, roughly<br />

said, Sn < 3 n for almost all n (note that we used extremely long TRNG record in order to<br />

detect also very small deviations).<br />

Results for 74-Gbit record (bottom curve, for decimation factor N = 1)<br />

and 37-Gbit<br />

record (upper curve, for N = 2 ) are shown in Figure 5. Small deviation for N = 1 is<br />

visible. After decimation by factor 2, deviation is within expected values (marked as<br />

parabola with peak point in 0), but it remains visible. This is the only deviation from an<br />

ideal TRNG currently known to us. On the other hand, the bias decreasing using the XOR<br />

decimator is applicable only for independent bits. The fact that we obtained lower bias after<br />

decimation gives us indirect evidence that output bits are independent and very close to the<br />

perfectly random bits.<br />

Difference<br />

0.5<br />

0<br />

-0.5<br />

-1<br />

-1.5<br />

-2<br />

-2.5<br />

x Cummulated 106<br />

1<br />

"1" and "0" Difference<br />

0 1 2 3 4 5 6 7 8<br />

x 10 10<br />

-3<br />

Record Length<br />

Figure 5: Results of frequency tests of very long TRNG output: a) 74 Gbits ( N = 1)<br />

b) 37 Gbits ( N = 2 )<br />

6 Conclusions<br />

In this paper we have described and evaluated a simplified method of true random bitstream<br />

generation inside digital VLSI circuits. The design of the TRNG and the method of<br />

randomness extraction guarantee that the output depends on a physical undeterministic<br />

b)<br />

a)

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!