Paper 2024/1968

SoK: Pseudorandom Generation for Masked Cryptographic Implementation

Rei Ueno, Kyoto University
Naofumi Homma, Tohoku University
Akiko Inoue, NEC (Japan)
Kazuhiko Minematsu, NEC (Japan)
Abstract

This paper investigates pseudorandom generation in the context of masked cryptographic implementation. Although masking and pseudorandom generators (PRGs) have been distinctly studied for a long time, little literature studies how the randomness in the masked implementation should be generated. The lack of analysis on mask-bits generators makes the practical security of masked cryptographic implementation unclear, and practitioners (e.g., designer, implementer, and evaluator) may be confused about how to realize it. This paper provides a novel viewpoint and comprehensive analyses by developing new three models, which correspond to respective practical scenarios of leakage assessment, quantitative evaluation of side-channel security (e.g., success rate), and practical deployment. We reveal what properties are required for each scenario. In particular, we support a long-held belief/folklore with a proof: for the output of PRG for masking, cryptographic security (i.e., randomness and unpredictability) is sufficient but not necessary, but only a statistical uniformity is necessary. In addition, we thoroughly investigate the SCA security of PRGs in the wild in the masking context. We conclude this paper with some recommendations for practitioners, with a proposal of leakage-resilient method of comparative performance.

Metadata
Available format(s)
PDF
Category
Implementation
Publication info
Preprint.
Keywords
MaskingPseudorandom generationSide-channel attack
Contact author(s)
ueno rei 2e @ kyoto-u ac jp
naofumi homma c8 @ tohoku ac jp
a_inoue @ nec com
k-minematsu @ nec com
History
2024-12-18: revised
2024-12-05: received
See all versions
Short URL
https://ia.cr/2024/1968
License
Creative Commons Attribution
CC BY

BibTeX

@misc{cryptoeprint:2024/1968,
      author = {Rei Ueno and Naofumi Homma and Akiko Inoue and Kazuhiko Minematsu},
      title = {{SoK}: Pseudorandom Generation for Masked Cryptographic Implementation},
      howpublished = {Cryptology {ePrint} Archive, Paper 2024/1968},
      year = {2024},
      url = {https://eprint.iacr.org/2024/1968}
}
Note: In order to protect the privacy of readers, eprint.iacr.org does not use cookies or embedded third party content.