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

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

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

FEI KEMT<br />

On case of Actel FPGAs we expla<strong>in</strong>ed the way how the basic parameters of the<br />

TRNG can be computed and what is the relation between them and target device<br />

parameters. Follow<strong>in</strong>g the presented results it is possible to implement the TRNG<br />

with required parameters. We can conclude that Actel FPGAs are suitable for<br />

implementation of the TRNG based on discussed method, and achieved parameters<br />

are comparable with the ones from Altera FPGAs.<br />

6.2.4 Stochastic Model of PLL-TRNG<br />

It is a common requirement that a good TRNG design should be supported by a<br />

mathematical (more precisely stochastic) model of the source of randomness. A<br />

reliable model is a necessary requirement for the security evaluation dur<strong>in</strong>g the<br />

certification process [37]. On one hand, the model should be as simple as possible,<br />

but on the other hand, it should also reliably describe a basic behavior of the TRNG.<br />

In our case, the stochastic model should express the probability that the value on<br />

the generator output is equal to one as a function of the jitter variation and the<br />

phase of the CLK and CLJ signals.<br />

Reorder<strong>in</strong>g of the Samples If sampled values of the signal CLJ are ordered <strong>in</strong><br />

a proper way, they create an image of the orig<strong>in</strong>al clock waveform. If we accumulate<br />

the ordered samples <strong>in</strong> KD accumulators dur<strong>in</strong>g Q periods TQ, we obta<strong>in</strong> an image<br />

of the distribution of the probabilities where the i-th sample is equal to one.<br />

The Figure 6 – 5 presents an example of accumulated and reordered samples<br />

obta<strong>in</strong>ed dur<strong>in</strong>g Q = 1000 periods TQ for these parameters:<br />

• KM = 212, KD = 207, FCLJ = 81.93 MHz presented at Figure 6 – 5(a)) and<br />

• KM = 516, KD = 175, FCLJ = 491.43 MHz at Figure 6 – 5(b)).<br />

The variation of the jitter is proportional to the number of po<strong>in</strong>ts (critical sam-<br />

ples) <strong>in</strong> the ris<strong>in</strong>g (or fall<strong>in</strong>g) region of the waveforms (two and six <strong>in</strong> the pre-<br />

sented example). S<strong>in</strong>ce <strong>in</strong> (b) FCLJ = 491.43 MHz, the period TCLJ is divided <strong>in</strong>to<br />

KD = 175 sampl<strong>in</strong>g <strong>in</strong>tervals, the distance between two subsequent samples is equal<br />

to about 11.6 ps. The width of the region <strong>in</strong>fluenced by the jitter is thus about<br />

69.6 ps. This value is equal to approximately 3σjit, so the σjit ∼ 23.2 ps. Us<strong>in</strong>g the<br />

same method, we can get σjit ∼ 29.5 ps from Figure 6 – 5(a). It is clear that the<br />

presented method of the jitter measurement is sufficiently simple to be implemented<br />

<strong>in</strong>side a device and the jitter can thus be monitored cont<strong>in</strong>uously <strong>in</strong> real time.<br />

109

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

Saved successfully!

Ooh no, something went wrong!