Patent ID: 7290151

Claim:
A logic circuit for performing a logic function, and having N data inputs and M data outputs, N being at least equal to 2 and M being at least equal to 1, the logic circuit comprising: different logic gates or different transistors for performing the logic function in at least two different ways corresponding to different data paths or different electrical paths through the different logic gates or different transistors, the way in which the logic function is performed being based upon a value of a selection signal such that for identical data received at the N data inputs and for different values of the selection signal, at least one of polarities of certain internal nodes of the logic circuit are not identical and current consumption of the logic circuit is not identical; at least one logic block comprising N inputs linked to the N data inputs of the logic circuit, and N outputs linked to the M data outputs of the logic circuit, said at least one logic block including the different logic gates or different transistors for performing a first or a second logic function corresponding to the different data paths or the different electrical paths through the different logic gates or the different transistors based upon the value of the selection signal; and reversing circuitry for reversing the data applied to the N inputs of said at least one logic block, and for reversing the data delivered by said at least one logic block based upon the value of the selection signal so that the first and second logic functions are performed by the logic circuit regardless of the value of the selection signal and regardless of the logic function performed by the at least one logic block.