Download PDF

Secure and efficient coprocessor design for cryptographic applications on FPGAs

Publication date: 2007-06-20

Author:

Mentens, Nele
Preneel, Bart ; Verbauwhede, Ingrid

Abstract:

Security in embedded systems requires the choice of a suitable implementation platform. For some systems, a general purpose microprocessor satisfies the requirements, but when high performance is the main criterium, cryptographic coprocessors in hardware are indispensable. When very high performance is required or when a high volume of coprocessors is needed, ASICs (Application Specific Integrated Circuits) are chosen as implementation platforms. In this case, the reconfigurability of FPGAs (Field Programmable Gate Arrays) is only used for prototyping. However, because of the efforts of FPGA manufacturing companies, the performance gap between ASICs and FPGAs becomes smaller and smaller. FPGAs have become heterogeneous systems with a variety of dedicated resources such as multiplier blocks, DSP slices, RAM blocks,... This explains the trend that FPGAs are more and more used as end products. Following this trend, the need for specific FPGA architectures can be justified. This work focuses on cryptographic coprocessor design, optimized for FPGAs. We implemented a coprocessor for public key cryptography, which provides RSA and elliptic curve cryptography. The most important operation in these algorithms is modular multiplication, for which we developed a high-speed architecture based on Montgomery's method. The control logic built on top of this data path provides a hierarchical solution, where all instructions in the hierarchy are accessible from outside the coprocessor. Our public key coprocessor shows a better area-speed trade-off than all known solutions. Furthermore, the area of the S-box in the symmetric key algorithm AES was evaluated. The conclusion of this evaluation was that all other known solutions were suboptimal.