The invention discloses a differential
power attack testing method for a DES
algorithm circuit. A DES
algorithm is a widely-applied grouping symmetric
encryption algorithm. According to the method, a differential
power attack test is performed on the DES algorithm circuit at a
design stage, and the method comprises the steps as follows: (1),
functional simulation and acquisition of a
power consumption sample; (2), preprocessing of the
power consumption sample; (3), acquisition of a hypothetical
power consumption sample; and (4) calculation of correlation coefficients and analysis of
attack results. According to the differential
power attack testing method, only varying power consumption points are sampled, a large number of power consumption sample data are saved, the power
attack calculation amount is reduced substantially, the method has the advantages of high evaluation efficiency and high speed, and above all, the power
attack test can be performed at the
circuit design stage, so that the anti-attack capability of a
password circuit is evaluated in advance, and the redesign risk of the DES circuit after
assembly line production of chips is reduced.