Paper 2025/1190 Original: eprint.iacr.org/2025/1190 ↗

Towards AI-driven Optimization of Robust Probing Model-compliant Masked Hardware Gadgets Using Evolutionary Algorithms

David S. Koblah
Dev M. Mehta
Nathan Poch
Mohammad Hashemi
Fatemeh Ganji
Domenic Forte
Abstract

Masked hardware design is a central countermeasure against side-channel analysis (SCA), but its practical deployment remains costly due to the overhead and design complexity of secure implementations. To manage this complexity, modern masked circuits are increasingly built from composable masked building blocks, referred to as gadgets. However, improving the implementation quality of such gadgets is challenging because optimization must not violate formal security requirements. This paper studies the optimization of masked hardware gadgets under formal security by comparing conventional CAD transformations with a security-aware design automation framework based on evolutionary algorithms. The conventional CAD flow explores structural alternatives exposed by technology mapping, FRAIG-based rewriting, and retiming, whereas the evolutionary framework adaptively explores alternative gate-level realizations through circuit-specific mutation, crossover, and multi-objective selection. The resulting implementations are evaluated for power and area while enforcing functional correctness and compliance with the probing model through equivalence checking and pre-silicon side-channel verification. Our results show that conventional CAD techniques can yield substantial improvements in selected cases, up to 60%, but their behavior is not systematic under strict masking constraints. In contrast, the evolutionary framework provides a controlled, adaptive search over alternative gate-level realizations and produces security-preserving implementations with measurable improvements over naïve synthesis, reaching up to 15% reduction in power and area in selected cases. We validate the optimized designs using industry-standard synthesis and pre-silicon side-channel verification tools. We further show, for AES, that additional savings remain possible even relative to a state-of-the-art compressed masked design.

Metadata
Available format(s)
PDF
Category
Implementation
Publication info
Preprint.
History
2026-08-21: last updated
2025-06-25: published
Short URL
https://ia.cr/2025/1190
License
https://creativecommons.org/licenses/by/4.0/

BibTeX

@misc{cryptoeprint:2025/1190,
      author = {David S. Koblah and Dev M. Mehta and Nathan Poch and Mohammad Hashemi and Fatemeh Ganji and Domenic Forte},
      title = {Towards AI-driven Optimization of Robust Probing Model-compliant Masked Hardware Gadgets Using Evolutionary Algorithms},
      howpublished = {Cryptology {ePrint} Archive, Paper 2025/1190},
      year = {2025},
      url = {https://eprint.iacr.org/2025/1190}
}
Note: In order to protect the privacy of readers, this archive does not use cookies or embedded third party content.