Design Methodology For Differential Power Analysis Resistant Circuits