1 Montgomery Modular Multiplication in Hard- ware
1 Montgomery Modular Multiplication in Hard- ware
1 Montgomery Modular Multiplication in Hard- ware
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
FEI KEMT<br />
2.3.2 <strong>Montgomery</strong> <strong>Multiplication</strong> Coprocessor<br />
Hav<strong>in</strong>g the optimised PE for the MMM computations our objective is to complete<br />
the MMM coprocessor with all necessary parts. The memory registers, the <strong>in</strong>terface<br />
to the control unit and the clock distribution logic are <strong>in</strong>tegral parts of the MMM<br />
coprocessor. The IP block <strong>in</strong>clud<strong>in</strong>g all mentioned design units is very suitable for<br />
quick system development provid<strong>in</strong>g the full functionality for operations demand<strong>in</strong>g<br />
the MMM and a universal <strong>in</strong>terface for connection to the control processor.<br />
The architecture of the coprocessor and all its parts has been discussed <strong>in</strong> the<br />
Section 2.2. In the Table 2 – 4 we provide the results for the area occupation and<br />
the critical path expressed as the maximal clock<strong>in</strong>g frequency on the Altera APEX<br />
20K200E FPGA. For the sample configuration we have chosen the MMM coprocessor<br />
based on the multiplier unit based on the MWR2MM CSA Algorithm with operands<br />
word width (w = 32) and precision k = 1024 and k = 2048 bits, respectively.<br />
Table 2 – 4 Area occupation <strong>in</strong> number of LEs and maximal clock frequency (fclkMMM ) (MHz) of<br />
the MMM coprocessor (w = 32, n = 1..4) with MWR2MM CSA algorithm<br />
k = 1024 k = 2048<br />
LEs (fclkMMM ) (LEs) (fclkMMM )<br />
n = 1 542 107.22 551 105.83<br />
n = 2 1100 110.43 1136 106.96<br />
n = 3 1621 108.34 1644 104.39<br />
n = 4 1943 106.67 1980 103.85<br />
2.3.3 <strong>Hard</strong><strong>ware</strong>-Soft<strong>ware</strong> Co-design of MMM: a Case Study<br />
For configurable platform is typical a SOC architecture. Such approach reduces<br />
the production costs and on the other hand provides very suitable platform for the<br />
cryptographic applications. The SOC m<strong>in</strong>imises the number of external <strong>in</strong>terfaces<br />
and <strong>in</strong> this way decreases also the amount of leaked <strong>in</strong>formation.<br />
Another advantage of use of the SOC is that hard<strong>ware</strong> and soft<strong>ware</strong> solutions can<br />
be compared <strong>in</strong> a better way. Therefore the choice of optimal resources utilisation<br />
is based on a proper analysis. In the SOC both soft<strong>ware</strong> and hard<strong>ware</strong> solutions<br />
occupy the same resources.<br />
The fully soft<strong>ware</strong> solution usually needs relatively large logic resources and small<br />
memory resources to implement the processor and sometimes large memory to im-<br />
38