Energy-aware design techniques for differential power analysis protection