journal article·2022-02-22Open access

Boolean Masking for Arithmetic Additions at Arbitrary Order in Hardware

Florian Bache, Tim Güneysu

Applied Sciences· Volume 12· Issue 5

Abstract

Modular addition is an important component of many cryptographic algorithms such as ARX-ciphers and lattice-based post-quantum secure schemes. In order to protect devices that execute these algorithms against side-channel attacks, countermeasures such as masking must be applied. However, if an implementation needs to be secured against multivariate attacks, univariately secure masking schemes do not suffice. In this work, we focus on hardware architectures for higher-order masked addition circuits. We present and discuss three adder designs that are protected with a provably secure masking scheme. Concretely, we discuss Kogge–Stone, Sklansky and Brent–Kung adders regarding their suitability for high-order masking and their performance in this setting. All architectures are fully pipelined and achieve a throughput of one addition per cycle. In order to achieve multivariate security at arbitrary orders, we use HPC2 Gadgets that satisfy the PINI security notion. Additionally, we apply a first-order secure threshold implementation scheme to the adder variants and compare their performance in the univariate case.
Source: crossref · Quality: baseline

Research context

OpenAlex topics: Cryptographic Implementations and Security · Chaos-based Image/Signal Encryption · Coding theory and cryptography

SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.

Affiliations

Horst-Görtz Institute for IT-Security, Ruhr-Universität Bochum, 44801 Bochum, Germany

German Research Center for Artificial Intelligence, 28359 Bremen, Germany

References (23)

Show source-provided references
1. Hardware Private Circuits: From Trivial Composition to Full Verification
2. Arithmetic Addition over Boolean Masking-Towards First- and Second-Order Resistance in Hardware10.1007/978-3-319-28166-7_27 ↗
3. Reparaz, O. (2022, February 12). A note on the security of Higher-Order Threshold Implementations. IACR Cryptology ePrint Archive, Available online: https://eprint.iacr.org/2015/001.
4. Making Masking Security Proofs Concrete-Or How to Evaluate the Security of Any Leaking Device. EUROCRYPT (1)10.1007/978-3-662-46800-5_16 ↗
5. Consolidating Masking Schemes. CRYPTO (1)10.1007/978-3-662-47989-6_37 ↗
6. Bilgin, B., Nikova, S., and Rijmen, V. (2016, January 24). Domain-Oriented Masking: Compact Masked Hardware Implementations with Arbitrary Protection Order. Proceedings of the ACM Workshop on Theory of Implementation Security, TIS@CCS 2016, Vienna, Austria.
7. Threshold Implementations Against Side-Channel Attacks and Glitches. ICICS10.1007/11935308_38 ↗
8. Sarkar, P., and Iwata, T. (2014). Higher-Order Threshold Implementations. Advances in Cryptology–ASIACRYPT 2014, Springer. Number 8874 in Lecture Notes in Computer Science.10.1007/978-3-662-45611-8 ↗
9. Ishai, Y., Sahai, A., and Wagner, D. (2003, January 17–21). Private Circuits: Securing Hardware against Probing Attacks. Proceedings of the 23rd Annual International Cryptology Conference, Santa Barbara, CA, USA. Advances in Cryptology-CRYPTO 2003.10.1007/978-3-540-45146-4_27 ↗
10. Higher-Order Side Channel Security and Mask Refreshing. FSE10.1007/978-3-662-43933-3_21 ↗
11. Barthe, G., Belaïd, S., Dupressoir, F., Fouque, P., Grégoire, B., Strub, P., and Zucchini, R. (2016). Strong Non-Interference and Type-Directed Higher-Order Masking, ACM. CCS.10.1145/2976749.2978427 ↗
12. Trivially and Efficiently Composing Masked Gadgets With Probe Isolating Non-Interference10.1109/TIFS.2020.2971153 ↗
13. Cassiers, G. (2021, September 30). “fullVerif”. Available online: https://github.com/cassiersg/fullverif.
14. A Parallel Algorithm for the Efficient Solution of a General Class of Recurrence Equations10.1109/TC.1973.5009159 ↗
15. Conditional-Sum Addition Logic10.1109/TEC.1960.5219822 ↗
16. A Regular Layout for Parallel Adders10.1109/TC.1982.1675982 ↗
17. Goodwill, G., Jun, B., Jaffe, J., and Rohatgi, P. (2011, January 26–27). A testing methodology for side channel resistance validation. Proceedings of the NIST Non-Invasive Attack Testing Workshop, Nara, Japan.
18. Leakage Assessment Methodology-A Clear Roadmap for Side-Channel Evaluations. CHES10.1007/978-3-662-48324-4_25 ↗
19. Provably Secure Hardware Masking in the Transition- and Glitch-Robust Probing Model: Better Safe than Sorry10.46586/tches.v2021.i2.136-158 ↗
20. Automated Generation of Masked Hardware
21. Müller, N., Knichel, D., Sasdrich, P., and Moradi, A. (2022, February 12). Transitional Leakage in Theory and Practice-Unveiling Security Flaws in Masked Circuits. IACR Cryptology ePrint Archive, Available online: https://eprint.iacr.org/2022/023.10.46586/tches.v2022.i2.266-288 ↗
22. (2022, February 12). Side-Channel AttacK User Reference Architecture. Available online: http://satoh.cs.uec.ac.jp/SAKURA/index.html.
23. Bache, F., Plump, C., and Güneysu, T. (2018, January 19–23). Confident leakage assessment-A side-channel evaluation framework based on confidence intervals. Proceedings of the 2018 Design, Automation & Test in Europe Conference & Exhibition (DATE), Dresden, Germany.10.23919/DATE.2018.8342178 ↗