{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2025,10,10]],"date-time":"2025-10-10T17:41:13Z","timestamp":1760118073409,"version":"build-2065373602"},"reference-count":19,"publisher":"MDPI AG","issue":"1","license":[{"start":{"date-parts":[[2024,12,24]],"date-time":"2024-12-24T00:00:00Z","timestamp":1734998400000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0\/"}],"funder":[{"name":"Laboratory Specialized Scientific Research Projects of Beijing Smart-chip Microelectronics Technology Co., Ltd","award":["SGSC0000AQQT2400701"],"award-info":[{"award-number":["SGSC0000AQQT2400701"]}]}],"content-domain":{"domain":[],"crossmark-restriction":false},"short-container-title":["Entropy"],"abstract":"<jats:p>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\u2014Zhang et al.\u2019s scheme (24.3 MB), Yuan et al.\u2019s scheme (34.5 MB) and Zhao et al.\u2019s scheme (7.8 MB). Thus, our SM4 white-box design effectively ensures security while maintaining a low memory cost.<\/jats:p>","DOI":"10.3390\/e27010001","type":"journal-article","created":{"date-parts":[[2024,12,24]],"date-time":"2024-12-24T09:00:57Z","timestamp":1735030857000},"page":"1","update-policy":"https:\/\/doi.org\/10.3390\/mdpi_crossmark_policy","source":"Crossref","is-referenced-by-count":1,"title":["A Secure and Efficient White-Box Implementation of SM4"],"prefix":"10.3390","volume":"27","author":[{"given":"Xiaobo","family":"Hu","sequence":"first","affiliation":[{"name":"Beijing Smart-Chip Microelectronics Technology Co., Ltd., Beijing 102299, China"}],"role":[{"role":"author","vocabulary":"crossref"}]},{"given":"Yanyan","family":"Yu","sequence":"additional","affiliation":[{"name":"Beijing Smart-Chip Microelectronics Technology Co., Ltd., Beijing 102299, China"}],"role":[{"role":"author","vocabulary":"crossref"}]},{"given":"Yinzi","family":"Tu","sequence":"additional","affiliation":[{"name":"Beijing Smart-Chip Microelectronics Technology Co., Ltd., Beijing 102299, China"}],"role":[{"role":"author","vocabulary":"crossref"}]},{"given":"Jing","family":"Wang","sequence":"additional","affiliation":[{"name":"Beijing Smart-Chip Microelectronics Technology Co., Ltd., Beijing 102299, China"}],"role":[{"role":"author","vocabulary":"crossref"}]},{"given":"Shi","family":"Chen","sequence":"additional","affiliation":[{"name":"School of Cyberspace Security, Beijing University of Posts and Telecommunications, Beijing 100876, China"}],"role":[{"role":"author","vocabulary":"crossref"}]},{"given":"Yuqi","family":"Bao","sequence":"additional","affiliation":[{"name":"School of Cyberspace Security, Beijing University of Posts and Telecommunications, Beijing 100876, China"}],"role":[{"role":"author","vocabulary":"crossref"}]},{"given":"Tengyuan","family":"Zhang","sequence":"additional","affiliation":[{"name":"School of Cyberspace Security, Beijing University of Posts and Telecommunications, Beijing 100876, China"}],"role":[{"role":"author","vocabulary":"crossref"}]},{"given":"Yaowen","family":"Xing","sequence":"additional","affiliation":[{"name":"School of Cyberspace Security, Beijing University of Posts and Telecommunications, Beijing 100876, China"}],"role":[{"role":"author","vocabulary":"crossref"}]},{"given":"Shihui","family":"Zheng","sequence":"additional","affiliation":[{"name":"School of Cyberspace Security, Beijing University of Posts and Telecommunications, Beijing 100876, China"}],"role":[{"role":"author","vocabulary":"crossref"}]}],"member":"1968","published-online":{"date-parts":[[2024,12,24]]},"reference":[{"key":"ref_1","doi-asserted-by":"crossref","unstructured":"Chow, S., Eisen, P., Johnson, H., and Van Oorschot, P.C. (2002, January 18). A white-box DES implementation for DRM applications. Proceedings of the ACM Workshop on Digital Rights Management, Washington, DC, USA.","DOI":"10.1007\/978-3-540-44993-5_1"},{"key":"ref_2","doi-asserted-by":"crossref","first-page":"250","DOI":"10.1007\/3-540-36492-7_17","article-title":"White-box cryptography and an AES implementation","volume":"9","author":"Chow","year":"2003","journal-title":"Sel. Areas Cryptogr."},{"key":"ref_3","doi-asserted-by":"crossref","unstructured":"Billet, O., Gilbert, H., and Ech-Chatbi, C. (2004, January 9\u201310). Cryptanalysis of a White Box AES Implementation. Proceedings of the International Workshop on Selected Areas in Cryptography, Waterloo, ON, Canada.","DOI":"10.1007\/978-3-540-30564-4_16"},{"key":"ref_4","doi-asserted-by":"crossref","first-page":"1095","DOI":"10.1007\/s00145-019-09315-1","article-title":"White-box cryptography: Don\u2019t forget about grey-box attacks","volume":"32","author":"Bos","year":"2019","journal-title":"J. Cryptol."},{"key":"ref_5","doi-asserted-by":"crossref","unstructured":"Alpirez Bock, E., Brzuska, C., Michiels, W., and Treff, A. (2018, January 2\u20134). On the Ineffectiveness of Internal Encodings\u2014Revisiting the DCA Attack on White-Box Cryptography. Proceedings of the International Conference on Applied Cryptography and Network Security, Leuven, Belgium.","DOI":"10.1007\/978-3-319-93387-0_6"},{"key":"ref_6","doi-asserted-by":"crossref","first-page":"2602","DOI":"10.1109\/TIFS.2018.2825939","article-title":"A masked white-box cryptographic implementation for protecting against Differential Computation Analysis","volume":"13","author":"Lee","year":"2018","journal-title":"IEEE Trans. Inf. Forensics Secur."},{"key":"ref_7","doi-asserted-by":"crossref","first-page":"90992","DOI":"10.1109\/ACCESS.2020.2993651","article-title":"Improvement on a masked white-box cryptographic implementation","volume":"8","author":"Lee","year":"2020","journal-title":"IEEE Access"},{"key":"ref_8","doi-asserted-by":"crossref","unstructured":"Biryukov, A., and Udovenko, A. (2018, January 2\u20136). Attacks and Countermeasures for White-box Designs. Proceedings of the 24th International Conference on the Theory and Application of Cryptology and Information Security, Brisbane, Australia.","DOI":"10.1007\/978-3-030-03329-3_13"},{"key":"ref_9","unstructured":"Xiao, Y.Y., and Lai, X.J. (2009, January 18\u201322). White-Box cryptography and implementations of SMS4. Proceedings of the 2009 CACR Annual Meeting, Denver, CO, USA."},{"key":"ref_10","doi-asserted-by":"crossref","first-page":"2238","DOI":"10.3724\/SP.J.1001.2013.04356","article-title":"Efficient Attack to White-Box SMS4 Implementation","volume":"24","author":"Lin","year":"2013","journal-title":"J. Softw."},{"key":"ref_11","doi-asserted-by":"crossref","first-page":"996","DOI":"10.1002\/sec.1394","article-title":"A secure white-box SM4 implementation","volume":"9","author":"Bai","year":"2015","journal-title":"Secur. Commun. Netw."},{"key":"ref_12","first-page":"651","article-title":"Cryptanalysis of two white-box SM4 implementations","volume":"5","author":"Pan","year":"2018","journal-title":"J. Cryptologic Res."},{"key":"ref_13","doi-asserted-by":"crossref","first-page":"11928","DOI":"10.3390\/s150511928","article-title":"A Lightweight White-Box Symmetric Encryption Algorithm against Node Capture for WSNs","volume":"15","author":"Shi","year":"2015","journal-title":"Sensors"},{"key":"ref_14","first-page":"358","article-title":"A new method for white-box implementation of SM4 algorithm","volume":"7","author":"Yao","year":"2020","journal-title":"J. Cryptologic Res."},{"key":"ref_15","first-page":"2903","article-title":"Analysis and Improvement of White-box SM4 Implementation","volume":"44","author":"Zhang","year":"2022","journal-title":"J. Electron. Inf. Technol."},{"key":"ref_16","first-page":"3891","article-title":"Differential Computation Analysis of White-box SM4 Scheme","volume":"34","author":"Yuan","year":"2022","journal-title":"J. Softw."},{"key":"ref_17","first-page":"386","article-title":"A white-box SM4 scheme against Differential Computation Analysis","volume":"10","author":"Yuan","year":"2023","journal-title":"J. Cryptologic Res."},{"key":"ref_18","doi-asserted-by":"crossref","unstructured":"Zhao, D.Y., Wang, Y.B., Li, Y., Hu, X.B., Yu, Y.Y., Chen, S., and Zheng, S.H. (2024). An Efficient Masked White-Box Implementation of SM4. Electronics, 13.","DOI":"10.3390\/electronics13122326"},{"key":"ref_19","unstructured":"(2024, October 01). SideChannelMarvels\/Deadpool. Available online: https:\/\/github.com\/SideChannelMarvels."}],"container-title":["Entropy"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/www.mdpi.com\/1099-4300\/27\/1\/1\/pdf","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2025,10,10]],"date-time":"2025-10-10T16:59:06Z","timestamp":1760115546000},"score":1,"resource":{"primary":{"URL":"https:\/\/www.mdpi.com\/1099-4300\/27\/1\/1"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2024,12,24]]},"references-count":19,"journal-issue":{"issue":"1","published-online":{"date-parts":[[2025,1]]}},"alternative-id":["e27010001"],"URL":"https:\/\/doi.org\/10.3390\/e27010001","relation":{},"ISSN":["1099-4300"],"issn-type":[{"type":"electronic","value":"1099-4300"}],"subject":[],"published":{"date-parts":[[2024,12,24]]}}}