TY - CONF A1 - Renner, Sebastian A1 - Pozzobon, Enrico A1 - Mottok, Jürgen A2 - Li, Wenjuan A2 - Furnell, Steven A2 - Meng, Weizhi T1 - Evolving a Boolean Masked Adder Using Neuroevolution T2 - Attacks and Defenses for the Internet-of-Things, 5th International Workshop, ADIoT 2022: Copenhagen, Denmark, September 30, 2022, Revised Selected Papers N2 - The modular addition is a popular building block when designing lightweight ciphers. While algorithms mainly based on the addition can reach very high performance, masking their implementations results in a huge penalty. Since efficient protection against side-channel attacks is a requirement in lots of use cases, we focus on optimizing the Boolean masking of the modular addition. Contrary to recent related work, we target evolving a masked full adder instead of parts of a parallel prefix adder. We study how techniques typically found in neural network evolution and genetic algorithms can be adapted in order to help in evolving an efficiently masked adder. We customize a well-known neuroevolution algorithm, develop an optimized masked adder with our new approach and implement the ChaCha20 cipher on an ARM Cortex-M3 controller. We compare the performance of the protected neuroevolved implementation to solutions found by traditional search methods. Moreover, the leakage of our new solution is validated by a t-test conducted with a leakage simulator. We present under which circumstances our masked implementation outperforms related work and prove the feasibility of successfully using neuroevolution when searching for complex Boolean networks. Y1 - 2022 UR - https://opus4.kobv.de/opus4-oth-regensburg/frontdoor/index/index/docId/5634 SN - 978-3-031-21310-6 SP - 21 EP - 40 PB - Springer Nature CY - Cham ER -