Formal Verification of Arithmetic Masking in Hardware and Software


연구 분야: Verification



학회: International Conference on Applied Cryptography and Network Security


초록

Masking is a popular countermeasure to protect cryptographic implementations against physical attacks like differential power analysis. So far, research focused on Boolean masking for symmetric algorithms like AES and Keccak. With the advent of post-quantum cryptography (PQC), arithmetic masking has received increasing attention because many PQC algorithms require a combination of arithmetic and Boolean masking and respective conversion algorithms (A2B/B2A), which represent an interesting but very challenging research topic. While there already exist formal verification concepts for Boolean masked implementations, the same cannot be said about arithmetic masking and accompanying mask conversion algorithms. In this work, we demonstrate the first formal verification approach for (any-order) Boolean and arithmetic masking which can be applied to both hardware and software, while considering side-effects such as glitches and transitions. First, we show how a formal verification approach for Boolean masking can be used in the context of arithmetic masking such that we can verify A2B/B2A conversions for arbitrary masking orders. We investigate various conversion algorithms in hardware and software, and point out several new findings such as glitch-based issues for straightforward implementations of Coron et al.-A2B in hardware, transition-based leakage in Goubin-A2B in software, and more general implementation pitfalls when utilizing common optimization techniques in PQC. We provide the first formal analysis of table-based A2Bs from a probing security perspective and point out that they might not be easy to implement securely on processors that use of memory buffers or caches.


Author Profile
Barbara Gigerl

Graz University of Technology Graz Austria

Austria
Author Profile
Robert Primas

Graz University of Technology Graz Austria

Austria
Author Profile
Stefan Mangard

Graz University of Technology Graz Austria

Austria

📄 논문 정보

발행 연도 2023년
인용수 0
출판 국가 Austria
사이트 Springer
좋아요 수 0

연관 논문 목록 (192건)