Paper 2024/1968

SoK: Pseudorandom Generation for Masked Cryptographic Implementation

Rei Ueno
Naofumi Homma
Kazuhiko Minematsu
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, there has been little study on how randomness should be generated in masked implementation. The lack of analysis on mask-bits generators obscures the practical security of masked cryptographic implementation, potentially confusing practitioners (e.g., designer, implementer, and evaluator) about how to realize them securely. This paper provides a novel viewpoint and comprehensive analyses by developing three new models, each of which corresponds to a practical scenario: leakage assessment, experimental evaluation of attack success rate or key lifetime, and deployment. We reveal what PRG properties are required. In particular, we support a long-held belief/folklore through proof and experiment: for the output of PRG for masking, cryptographic security (i.e., unpredictability) is not necessary. In addition, we thoroughly investigate the practical security of PRGs within the masking context. We conclude this paper with some recommendations for practitioners and a proposal of leakage-resilient method offering comparative performance.

PDF
BibTeX
ePrint ↗
@misc{cryptoeprint:2024/1968,
      author = {Rei Ueno and Naofumi Homma 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}
}
Category
Implementation
License
CC BY
Submitted
Updated
Versions
2 earlier

Report a problem

Comments

Log in or create an account

Privacy