Title: A digital design flow for secure integrated circuits
Review: The author of this paper are Kris Tiri and Ingrid Verbauwhede, who have published a lot of secure IC design papers in the crypto world. I started to know him when I was doing a project on “differential power anlaysis”. I appreciate Kris’ work because he built a bridge between crypto fields and CMOS design fields.
The DPA-resistant logic SABL and WDDL are first proposed by the auther. In this journal paper, the author introduces an entire design flow to implement WDDL logic gates in cryptosystems. This design flow uses the standard cell design flow with merely small changes. It includes specific logic synthesis, place & route and layout stages for the WDDL logic style. An AES prototype is generated by the design flow and tested by DPA attack. The results demonstrate the efficiency of DPA-resistant logic at the stage of IC fabrication.
Some points of interests:
1. Why Differential power analysis can work?
The power consumption of standard CMOS gates is dependent on the signal activity. When the output of the logic gate makes a 0 to 1 transition, a current comes from the power supply and charges the output capacitance. On the other hand, when the output sees a 1 to 0, a 0 to 0, or a 1 to 1 transition, no or only a limited amount of energy is consumed from the power supply.
2. The requirements of a DPA-resistant logic:
1) a logic gate must have exactly one switching event per signal transition; 2) the logic gate must charge a constant capacitance in that switching event.
3. Some facts about the design methodology:
Two new design processes: “cell substitution” and “interconnect decomposition”
Prototype technology: TSMC 6M 0.18um process with 1.8V supply voltage
Design tools: HSPICE for low-level circuit simulation, DesignAnalyzer for netlist generation, Silicon Ensemble for place & route
Weeknesses:
1. To balance the dynamic power of WDDL logic gates, the interconnect capacitances have to be matched. This is the most difficulty task in designing WDDL gates, but the most important feature to resistant differential power analysis. The author discusses this big issue in section III, where the matched interconnected capacitances are obtained by routing the dual-rail output with parallel routes on the same layers with the same length. Figure 4 depicts such routing method. However, I wonder whether the load effect can influence this routing method. Does each WDDL gate have the same fanout? Is the load capacitance comparable with the interconnect capacitance? Anyway, due to the uncertainty of parasitic capacitance, the DPA-resistance of different WDDL-based chips will be various.
2. It is always essential to seek an ideal trade-off between power consumption and security level of a DPA-resistant IC. As the auther mentioned at the end of the paper, the protected AES core has 4 times power consumption more than the unprotected one. This is an unavoidable cost. However, when we design power-constraint electrical systems or battery-assisted systems, we may not be able to tolerate this cost. This is a great challenge in desiging secure RFIDs, smartcards and wireless sensor systems. It is still unclear of a DPA-resistant logic style that is suitable for a real pervasive computing system or a portable device.