04.11.2012 Views

1 Montgomery Modular Multiplication in Hard- ware

1 Montgomery Modular Multiplication in Hard- ware

1 Montgomery Modular Multiplication in Hard- ware

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

FEI KEMT<br />

consequence the RNG designs should provide a test<strong>in</strong>g method designed particularly<br />

for given type of RNG (see e.g. [36]).<br />

In [26] the authors improve model<strong>in</strong>g of RO TRNG, and <strong>in</strong>stead of conventional<br />

time-based models they provide a phase-oriented presentation. The observation<br />

claim<strong>in</strong>g that the ROs tend to couple with each other have been confirmed by the<br />

experiments with global determ<strong>in</strong>istic jitter. Instead of conclusion that coupl<strong>in</strong>g<br />

reduces the randomness of a TRNG, the authors warn of overestimation of the<br />

jitter size. After remov<strong>in</strong>g the impact of global jitter the accumulation of jitter is<br />

much slower, what implies <strong>in</strong> lower sampl<strong>in</strong>g frequency of the generator <strong>in</strong> order to<br />

accumulate obta<strong>in</strong> random sequences.<br />

5.3 PLL-Based TRNG on FPGA<br />

In this section we <strong>in</strong>troduce TRNG implementation based on randomness extrac-<br />

tion from track<strong>in</strong>g jitter that is <strong>in</strong>herent <strong>in</strong> clock signal produced by analog PLL<br />

embedded <strong>in</strong> some FPGA families. The PLL circuitry normally applied for synthesis<br />

of on-chip clock signals derived from external quartz signal is driven to provide a<br />

couple of signals with certa<strong>in</strong> fixed ratio of their frequencies. The ratio is selected<br />

for purpose of the jitter sampl<strong>in</strong>g and sets also other parameters of the generator as<br />

speed of output random sequence.<br />

In the follow<strong>in</strong>g pages we compile dependencies between the PLL and TRNG<br />

parameters and expla<strong>in</strong> their mean<strong>in</strong>g. We expla<strong>in</strong> the fundamental method beh<strong>in</strong>d<br />

the PLL-based TRNG (PLL-TRNG) <strong>in</strong>vented by Fischer and Drutarovsk´y and pub-<br />

lished <strong>in</strong> [60].<br />

5.3.1 Randomness Extraction Method<br />

The track<strong>in</strong>g jitter <strong>in</strong> the output signal of the on-chip analog PLL is detected by<br />

sampl<strong>in</strong>g the signal us<strong>in</strong>g an other rationally related clock signal. The fundamental<br />

issue of allow<strong>in</strong>g jitter sampl<strong>in</strong>g lies <strong>in</strong> sett<strong>in</strong>g of the sampled and sampl<strong>in</strong>g edges<br />

close enough to each other. When this condition is met, the unpredictable jitter<br />

decides on the output values of the sampl<strong>in</strong>g gate. The simplified structure of the<br />

PLL-TRNG is depicted <strong>in</strong> Figure 5 – 5.<br />

Let us have two clock signals CLK and CLJ with frequencies FCLJ and FCLK<br />

<strong>in</strong> the given ratio:<br />

FCLJ<br />

FCLK<br />

= KM<br />

KD<br />

= MCLJDCLK<br />

MCLKDCLJ<br />

85<br />

, (5.2)

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

Saved successfully!

Ooh no, something went wrong!