A Secure and Efficient White-Box Implementation of SM4

Differential Computation Analysis (DCA) leverages memory traces to extract secret keys, bypassing countermeasures employed in white-box designs, such as encodings. Although researchers have made great efforts to enhance security against DCA, most solutions considerably decrease algorithmic efficiency. In our approach, the Feistel cipher SM4 is implemented by a series of table-lookup operations, and the input and output of each table are protected by affine transformations and nonlinear encodings generated randomly. We employ fourth-order non-linear encoding to reduce the loss of efficiency while utilizing a random sequence to shuffle lookup table access, thereby severing the potential link between memory data and the intermediate values of SM4. Experimental results indicate that the DCA procedure fails to retrieve the correct key. Furthermore, theoretical analysis shows that the techniques employed in our scheme effectively prevent existing algebraic attacks. Finally, our design requires only 1.44 MB of memory, significantly less than that of the known DCA-resistant schemes-Zhang et al.'s scheme (24.3 MB), Yuan et al.'s scheme (34.5 MB) and Zhao et al.'s scheme (7.8 MB). Thus, our SM4 white-box design effectively ensures security while maintaining a low memory cost.

Authors

Institutions

Publication Details

Journal
Entropy
Published
2024-12-24
DOI
https://doi.org/10.3390/e27010001
Citations
1
Primary Topic
Cryptographic Implementations and Security
Type
article
Field-Weighted Citation Impact
0.35
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

A Secure and Efficient White-Box Implementation of SM4

Xiaobo Hu, Yinzi Tu, Yuxin Bao, Shihui Zheng et al.
1 citations
Entropy
Cryptographic Implementations and Security
0.35
article

A Secure and Efficient White-Box Implementation of SM4

Xiaobo Hu, Yinzi Tu, Yuxin Bao, Shihui Zheng, Tengyuan Zhang, Yaowen Xing, Yanyan Yu, Shi Chen, Jing Wang
article en
1 citations

Abstract

Differential Computation Analysis (DCA) leverages memory traces to extract secret keys, bypassing countermeasures employed in white-box designs, such as encodings. Although researchers have made great efforts to enhance security against DCA, most solutions considerably decrease algorithmic efficiency. In our approach, the Feistel cipher SM4 is implemented by a series of table-lookup operations, and the input and output of each table are protected by affine transformations and nonlinear encodings generated randomly. We employ fourth-order non-linear encoding to reduce the loss of efficiency while utilizing a random sequence to shuffle lookup table access, thereby severing the potential link between memory data and the intermediate values of SM4. Experimental results indicate that the DCA procedure fails to retrieve the correct key. Furthermore, theoretical analysis shows that the techniques employed in our scheme effectively prevent existing algebraic attacks. Finally, our design requires only 1.44 MB of memory, significantly less than that of the known DCA-resistant schemes-Zhang et al.'s scheme (24.3 MB), Yuan et al.'s scheme (34.5 MB) and Zhao et al.'s scheme (7.8 MB). Thus, our SM4 white-box design effectively ensures security while maintaining a low memory cost.

EntropyVol. 27(1)
Beijing University of Posts and Telecommunications (CN), Beijing Microelectronics Technology Institute (CN)
Openalex Percentile: Top 30%
Cryptographic Implementations and Security
0.35
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

A Secure and Efficient White-Box Implementation of SM4 — Xiaobo Hu, Yinzi Tu, et al. · Entropy (2024) | TGRS Research Map | TGRS