Transferred from: http://blog.sina.com.cn/s/blog_6cb58dbf0102v7ym.html
SPA Spa is a technique that directly explains the value of energy consumption measurement. The amount of energy consumed by the system varies depending on the instructions executed by the microprocessor, and when the microprocessor performs operations on different parts of the cryptographic algorithm, the energy consumption changes are obvious. With this feature, an attacker can distinguish a single instruction from the purpose of a crack algorithm.
DPA (Differential power analysis) attack technology is more aggressive and decryption efficiency, its principle is: when the chip in the implementation of different instructions for various operations, the corresponding power consumption also corresponding changes. By using special electronic measuring instruments and mathematical statistics techniques, these changes are detected and analyzed to obtain specific key information in the chip. This is a method of analyzing cryptographic algorithms and passwords using the current variation of the instruction.
DPA's attack power is much stronger than spa, and more difficult to prevent, it is not like the spa from the system's energy consumption to make intuitive judgments, but the use of statistical methods to extract information related to the key. Although the process of implementation is more complex, it reduces the level of technical expertise required for the attacker's smart card.
Commonly used in the defense spa with DPA attack means is to add random power interference, hardware to prevent attacks.
Spa and DPA attack "Go"