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.

Thanks to the measurements we got the information about the jitter value, and also about<br />

the probability of edges overlapping that both are higher as expected. Therefore the delay<br />

line is not needed anymore. The decimated output signal<br />

( Q) = ( Q) ⊕ ( Q − CLK) … ⊕ ( Q−( D−1) CLK)<br />

xnT qnT qnT T qnT K T<br />

which is generated at the output of an Exclusive-OR (XOR)-based decimator as a bit-wise<br />

addition modulo 2 ( ⊕ ) of K D samples ( ) . q sampled with the frequency F CLK , will be<br />

nondeterministic, too.<br />

It can be seen that in reference to [6] we have changed basic structure of the generator<br />

in several ways:<br />

- because of higher jitter value, which has been approved by precise jitter<br />

measurements we could replace the delay line and the bank of flip-flops by a single<br />

flip-flop,<br />

- the metastability behavior of the signal qn ( T CLK ) and thus of the generator in general<br />

was improved by addition of the second flip-flop,<br />

- we have validated that if condition (6) is fulfilled, the speed of the generator can be<br />

increased by reducing the decimation factor to NK D , where N = 1 is number of T Q<br />

periods.<br />

4 TRNG implementation<br />

We have validated our simplified structure of the random bitstream generator using Altera<br />

analog <strong>PLL</strong>s embedded in Apex E family. We have used an evaluation board with a PC<br />

Card interface. The Apex EP20K160 device has included generator, 16x128-bit FIFO, PC<br />

Card interface and a custom logic. As the best option a 2-<strong>PLL</strong> configuration (shown in<br />

Figure 4) with only one input clock signal has been chosen.<br />

Synthesized clock signals CLK and CLJ are not fed out from the FPLD (in design<br />

presented in [6] one synthesized signal has been fed out of the device and again reused in<br />

FPLD, what is definitely less secure). Therefore they cannot be manipulated separately<br />

without a circuit reconfiguration. This fact is very important for cryptographic applications,<br />

because it significantly improves overall system security.<br />

Oscil<br />

40 MHz<br />

CLK4p<br />

CLK2p (NC)<br />

CLKLK_FB2p (NC)<br />

CLKLK_OUT2p (NC)<br />

APEX EP20K160E-2X<br />

<strong>PLL</strong>4<br />

clk1<br />

inclk<br />

clk0<br />

<strong>PLL</strong>2<br />

clk1<br />

inclk<br />

clk0<br />

fCLJ<br />

(96,4 MHz)<br />

Random<br />

bitstream<br />

generator<br />

fCLK (95 MHz)<br />

S/P<br />

Conv.<br />

Serial output 454 kbits/s<br />

Custom logic<br />

&<br />

PC Card interface<br />

FIFO<br />

16x128<br />

Figure 4: Block diagram of the experimental PC card with Apex EP20K160 ETC144-2x<br />

(7)

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

Saved successfully!

Ooh no, something went wrong!