The confusion characteristic of masking technology can increase the difficulty of attackers to analyze the logic value of the circuit,and the combination of masking technology and Dual-Rail Precharge(DRP)technology can further play a role in resisting power analysis attacks.The application of masking technology and dual-rail precharge technology requires corresponding processing of the input signals and output signals.Based on this,this paper proposes a single rail to dual-rail conversion logic circuit,which can realize the conversion of signal.Then a mask logic conversion circuit is proposed,which can realize the conversion of the output value of the circuit according to the mask value.At last,a single-dual rail mask logic structure is proposed to form a circuit design scheme with power attack resistance.The above logic circuits have been verified by Hspice simulation and have correct logic functions,which provides a way for the circuit design against power analysis attacks.