{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,1,2]],"date-time":"2026-01-02T07:25:59Z","timestamp":1767338759566,"version":"3.37.3"},"reference-count":43,"publisher":"Oxford University Press (OUP)","issue":"2","license":[{"start":{"date-parts":[[2023,3,1]],"date-time":"2023-03-01T00:00:00Z","timestamp":1677628800000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/academic.oup.com\/journals\/pages\/open_access\/funder_policies\/chorus\/standard_publication_model"}],"funder":[{"DOI":"10.13039\/501100001809","name":"National Natural Science Foundation of China","doi-asserted-by":"publisher","award":["61379138"],"award-info":[{"award-number":["61379138"]}],"id":[{"id":"10.13039\/501100001809","id-type":"DOI","asserted-by":"publisher"}]}],"content-domain":{"domain":[],"crossmark-restriction":false},"short-container-title":[],"published-print":{"date-parts":[[2024,2,17]]},"abstract":"<jats:title>Abstract<\/jats:title>\n               <jats:p>Masking is a well used and widely deployed countermeasure against side channel attacks, both in software and hardware. With masking comes at a great cost, search has focused on how to lower a performance penalty or find efficient masking implementation. In particular, our contribution is 2-fold: for software masking, we first find bitsliced implementations of Sbox with Multiplicative Complexity 4 and Multiplicative Depth 2, then adapt the common shares approach introduced by Coron et al. at CHES 2016 to make many cross-products $a_{i}\\cdot b_{j}$ can be reuse for parallel ISW-based 32-bit nonlinear operations. Therefore, we improve the efficiency of 2$\\times b\/4\/32$ parallel high-order masking of ISW scheme for RECTANGLE, TANGRAM and KNOT on 32-bit ARM embedded microprocessor, with roughly a 13%-34% speed-up, at cost of $(1+d) \\times 32$-bit randomness. For hardware masking, 4 bit cubic Sboxes with quadratic decomposition length 2, including RECTANGLE, TANGRAM, KNOT and LWC third-round candidates, can be implemented with a 3-share and 4-share threshold implementation (TI) by decomposing cubic permutations $S$ as a composition of sub-permutations having lower algebraic degrees. We use two decomposition form: one composition of two quadratic permutations $G$ and $F$, $S = F\\circ G$, is for efficiency; the other composition of some linear permutations $A_i$ and one quadratic permutation $G$, $S=A_3 \\circ G \\circ A_2 \\circ G \\circ A_1 $, is for reducing the area requirements. For $S = F\\circ G$, we introduce a new approach of searching through all possible quadratic permutations $G$ with 2$^{25.71}$, which is effcient than 2$^{26.23}$ in Poschmann et\u00a0al. at J. Cryptol 2011. For $S=A_3 \\circ G \\circ A_2 \\circ G \\circ A_1 $, our approach of finding $A_i$ with complexity 2$^{27.71} $, which is effcient than the method introduced by Moradi et\u00a0al. at ASIACRYPT 2016. In addition, we proposes a new decomposition that $S=G \\circ A_2 \\circ G \\circ A_1 $. We can find the fastest and the smallest hard-ware decomposition implementation of 4-bit permutations for TI with 3 and 4 shares.<\/jats:p>","DOI":"10.1093\/comjnl\/bxad002","type":"journal-article","created":{"date-parts":[[2023,3,3]],"date-time":"2023-03-03T06:04:15Z","timestamp":1677823455000},"page":"581-603","source":"Crossref","is-referenced-by-count":2,"title":["Secure and Efficient Masking of Lightweight Ciphers in Software and Hardware"],"prefix":"10.1093","volume":"67","author":[{"given":"Xuefeng","family":"Zhao","sequence":"first","affiliation":[{"name":"State Key Laboratory of Information Security, Institute of Information Engineering, Chinese Academy of Sciences , No.19 Shucun Road, Haidian District, Beijing 100093 , China"},{"name":"School of Cyber Security, University of Chinese Academy of Sciences , No.1 Yanqihu East Road, Huairou District, Beijing 101408 , China"}],"role":[{"role":"author","vocabulary":"crossref"}]}],"member":"286","published-online":{"date-parts":[[2023,3,1]]},"reference":[{"key":"2024021913330072400_ref1","first-page":"475","article-title":"Nonce-disrespecting adversaries: practical forgery attacks on GCM in TLS","volume-title":"10th USENIX Workshop on Offensive Technologies, WOOT 16","author":"B\u00f6ck","year":"2016"},{"key":"2024021913330072400_ref2","doi-asserted-by":"crossref","first-page":"769","DOI":"10.1007\/s00145-014-9178-9","article-title":"On weak keys and forgery attacks against polynomial-based MAC schemes","volume":"28","author":"Procter","year":"2015","journal-title":"J. Cryptol."},{"volume-title":"Lightweight Cryptography Standardization Process 2019","year":"2019","key":"2024021913330072400_ref3"},{"key":"2024021913330072400_ref4","doi-asserted-by":"crossref","DOI":"10.6028\/NIST.IR.8369","volume-title":"Status Report on the Second Round of the Nist Lightweight Cryptography Standardization Process: Nistir 8369","author":"Turan","year":"2021"},{"key":"2024021913330072400_ref5","doi-asserted-by":"crossref","first-page":"413","DOI":"10.1007\/978-3-642-15031-9_28","article-title":"Provably secure higher-order masking of AES","volume-title":"Cryptographic Hardware and Embedded Systems, CHES 2010, 12th Int. Workshop","author":"Rivain","year":"2010"},{"key":"2024021913330072400_ref6","doi-asserted-by":"crossref","first-page":"125","DOI":"10.1007\/978-3-642-15031-9_9","article-title":"Correlation-enhanced power analysis collision attack","volume-title":"Cryptographic Hardware and Embedded Systems, CHES 2010, 12th Int. Workshop","author":"Moradi","year":"2010"},{"key":"2024021913330072400_ref7","doi-asserted-by":"crossref","first-page":"292","DOI":"10.1007\/s00145-010-9085-7","article-title":"Secure hardware implementation of nonlinear functions in the presence of glitches","volume":"24","author":"Nikova","year":"2011","journal-title":"J. Cryptol."},{"key":"2024021913330072400_ref8","doi-asserted-by":"crossref","first-page":"498","DOI":"10.1007\/978-3-662-53140-2_24","article-title":"Faster evaluation of sboxes via common shares","volume-title":"Cryptographic Hardware and Embedded Systems - CHES 2016 - 18th Int. Conf.","author":"Coron","year":"2016"},{"key":"2024021913330072400_ref9","doi-asserted-by":"crossref","first-page":"463","DOI":"10.1007\/978-3-540-45146-4_27","article-title":"Private circuits: securing hardware against probing attacks","volume-title":"Advances in Cryptology - CRYPTO 2003, 23rd Annual Int. Cryptology Conf.","author":"Ishai","year":"2003"},{"key":"2024021913330072400_ref10","first-page":"45","article-title":"The multiplicative complexity of boolean functions","volume-title":"Applied Algebra, Algebraic Algorithms and Error-Correcting Codes, 6th Int. Conf., AAECC-6","author":"Schnorr","year":"1988"},{"key":"2024021913330072400_ref11","first-page":"373","article-title":"Construction of lightweight s-boxes using feistel and MISTY structures","volume-title":"Selected Areas in Cryptography - SAC 2015 - 22nd Int. Conf.","author":"Canteaut","year":"2015"},{"key":"2024021913330072400_ref12","first-page":"275","article-title":"GMW vs. yao? efficient secure two-party computation with low depth circuits","volume-title":"Financial Cryptography and Data Security - 17th Int. Conf., FC 2013","author":"Schneider","year":"2013"},{"volume-title":"Analysis and design of symmetric encryption algorithms","year":"2007","author":"Canni\u00e8re","key":"2024021913330072400_ref13"},{"key":"2024021913330072400_ref14","doi-asserted-by":"crossref","first-page":"3","DOI":"10.1007\/s12095-014-0104-7","article-title":"Threshold implementations of small s-boxes","volume":"7","author":"Bilgin","year":"2015","journal-title":"Cryptogr. Commun."},{"key":"2024021913330072400_ref15","first-page":"159","article-title":"On the classification of 4 bit s-boxes","volume-title":"Arithmetic of Finite Fields, First Int. Workshop, WAIFI 2007","author":"Leander","year":"2007"},{"key":"2024021913330072400_ref16","doi-asserted-by":"crossref","first-page":"267","DOI":"10.1007\/3-540-36178-2_17","article-title":"Cryptanalysis of block ciphers with overdefined systems of equations","volume-title":"Advances in Cryptology - ASIACRYPT 2002, 8th Int. Conf. on the Theory and Application of Cryptology and Information Security","author":"Courtois","year":"2002"},{"key":"2024021913330072400_ref17","first-page":"118","article-title":"Cryptographic analysis of all 4 x 4-bit s-boxes","volume-title":"Selected Areas in Cryptography - 18th Int. Workshop, SAC 2011","author":"Saarinen","year":"2011"},{"key":"2024021913330072400_ref18","first-page":"326","article-title":"Higher-order threshold implementations","volume-title":"Advances in Cryptology - ASIACRYPT 2014 - 20th Int. Conf. on the Theory and Application of Cryptology and Information Security, December 7\u201311, 2014, Proceedings, Part II","author":"Bilgin","year":"2014"},{"key":"2024021913330072400_ref19","first-page":"99","article-title":"On 3-share threshold implementations for 4-bit s-boxes","volume-title":"Constructive Side-Channel Analysis and Secure Design - 4th Int. Workshop, COSADE 2013","author":"Kutzner","year":"2013"},{"key":"2024021913330072400_ref20","first-page":"1","article-title":"RECTANGLE: a bit-slice lightweight block cipher suitable for multiple platforms","volume":"58","author":"Zhang","year":"2015","journal-title":"Sci. China Inf. Sci."},{"key":"2024021913330072400_ref21","first-page":"727","article-title":"Tangram: a bit-slice block cipher suitable for multiple platforms","volume":"6","author":"Zhang","year":"2019","journal-title":"J. Cryptol. Res."},{"journal-title":"National Institute of Standards and Technology","key":"2024021913330072400_ref22"},{"volume-title":"National Institute of Standards and Technology","author":"Lightweight cryptography workshop 2015","key":"2024021913330072400_ref23"},{"key":"2024021913330072400_ref24","first-page":"159","article-title":"Permutation-based encryption, authentication and authenticated encryption","volume-title":"Directions in Authenticated Ciphers, DIAC2012","author":"Bertoni","year":"2012"},{"key":"2024021913330072400_ref25","article-title":"Sponge functions","author":"Bertoni","year":"2007","journal-title":"ECRYPT Hash Workshop 2007"},{"key":"2024021913330072400_ref26","first-page":"351","article-title":"Side-channel leakage of masked CMOS gates","volume-title":"Topics in Cryptology - CT-RSA 2005, The Cryptographers\u2019 Track at the RSA Conf. 2005","author":"Mangard","year":"2005"},{"key":"2024021913330072400_ref27","doi-asserted-by":"crossref","first-page":"157","DOI":"10.1007\/11545262_12","article-title":"Successfully attacking masked AES hardware implementations","volume-title":"Cryptographic Hardware and Embedded Systems - CHES 2005, 7th Int. Workshop","author":"Mangard","year":"2005"},{"key":"2024021913330072400_ref28","first-page":"529","article-title":"Threshold implementations against side-channel attacks and glitches","volume-title":"Information and Communications Security, 8th Int. Conf., ICICS 2006","author":"Nikova","year":"2006"},{"key":"2024021913330072400_ref29","doi-asserted-by":"crossref","first-page":"612","DOI":"10.1145\/359168.359176","article-title":"How to share a secret","volume":"22","author":"Shamir","year":"1979","journal-title":"Commun. ACM"},{"key":"2024021913330072400_ref30","first-page":"160","article-title":"Protocols for secure computations (extended abstract)","volume-title":"23rd Annual Symposium on Foundations of Computer Science","author":"Yao","year":"1982"},{"key":"2024021913330072400_ref31","article-title":"Finding optimal bitsliced implementations of $4\\times 4$-bit s-boxes","volume-title":"Symmetric Key Encryption Workshop, SKEW 2011","author":"Ullrich","year":"2011"},{"key":"2024021913330072400_ref32","first-page":"18","article-title":"Ls-designs: Bitslice encryption for efficient masked software implementations","volume-title":"Fast Software Encryption - 21st Int. Workshop, FSE 2014","author":"Grosso","year":"2014"},{"journal-title":"Technology","key":"2024021913330072400_ref33"},{"key":"2024021913330072400_ref34","doi-asserted-by":"crossref","first-page":"529","DOI":"10.1007\/11935308_38","article-title":"Threshold implementations against side-channel attacks and glitches","volume-title":"Information and Communications Security","author":"Nikova","year":"2006"},{"key":"2024021913330072400_ref35","doi-asserted-by":"crossref","first-page":"76","DOI":"10.1007\/978-3-642-33027-8_5","article-title":"Threshold implementations of all 3 3 and 4 4 s-boxes","volume-title":"Cryptographic Hardware and Embedded Systems - CHES 2012 - 14th Int. Workshop","author":"Bilgin","year":"2012"},{"key":"2024021913330072400_ref36","doi-asserted-by":"crossref","first-page":"322","DOI":"10.1007\/s00145-010-9086-6","article-title":"Side-channel resistant crypto for less than 2, 300 GE","volume":"24","author":"Poschmann","year":"2011","journal-title":"J. Cryptol."},{"key":"2024021913330072400_ref37","doi-asserted-by":"crossref","first-page":"45","DOI":"10.55630\/sjc.2017.11.45-57","article-title":"Fast bitwise implementation of the algebraic normal form transform","volume":"11","author":"Bakoev","year":"2017","journal-title":"Serdica J. Comput."},{"key":"2024021913330072400_ref38","doi-asserted-by":"crossref","first-page":"33","DOI":"10.1007\/3-540-39200-9_3","article-title":"A toolbox for cryptanalysis: Linear and affine equivalence algorithms","volume-title":"Advances in Cryptology - EUROCRYPT 2003","author":"Biryukov","year":"2003"},{"key":"2024021913330072400_ref39","doi-asserted-by":"crossref","first-page":"2110","DOI":"10.1109\/TIFS.2019.2957974","article-title":"Threshold implementations of gift: a trade-off analysis","volume":"15","author":"Jati","year":"2020","journal-title":"IEEE Trans. Inf. Forensics Secur."},{"key":"2024021913330072400_ref40","doi-asserted-by":"crossref","first-page":"517","DOI":"10.1007\/978-3-662-53887-6_19","article-title":"Side-channel analysis protection and low-latency in action","volume-title":"Advances in Cryptology - ASIACRYPT 2016 - 22nd Int. Conf. on the Theory and Application of Cryptology and Information Security","author":"Moradi","year":"2016"},{"key":"2024021913330072400_ref41","doi-asserted-by":"crossref","first-page":"708","DOI":"10.46586\/tches.v2021.i3.708-755","article-title":"Second-order SCA security with almost no fresh randomness","volume":"2021","author":"Shahmirzadi","year":"2021","journal-title":"IACR Trans. Cryptogr. Hardw. Embed. Syst."},{"key":"2024021913330072400_ref42","first-page":"227","article-title":"Threshold implementation in software - case study of PRESENT","volume-title":"Constructive Side-Channel Analysis and Secure Design - 9th Int. Workshop, COSADE 2018","author":"Sasdrich","year":"2018"},{"key":"2024021913330072400_ref43","first-page":"679","article-title":"Cryptanalysis of efficient masked ciphers: applications to low latency","volume":"2022","author":"Beyne","year":"2022","journal-title":"IACR Trans. Cryptogr. Hardw. Embed. Syst."}],"container-title":["The Computer Journal"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/academic.oup.com\/comjnl\/article-pdf\/67\/2\/581\/56701467\/bxad002.pdf","content-type":"application\/pdf","content-version":"vor","intended-application":"syndication"},{"URL":"https:\/\/academic.oup.com\/comjnl\/article-pdf\/67\/2\/581\/56701467\/bxad002.pdf","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2024,2,19]],"date-time":"2024-02-19T13:39:18Z","timestamp":1708349958000},"score":1,"resource":{"primary":{"URL":"https:\/\/academic.oup.com\/comjnl\/article\/67\/2\/581\/7066354"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2023,3,1]]},"references-count":43,"journal-issue":{"issue":"2","published-online":{"date-parts":[[2023,3,1]]},"published-print":{"date-parts":[[2024,2,17]]}},"URL":"https:\/\/doi.org\/10.1093\/comjnl\/bxad002","relation":{},"ISSN":["0010-4620","1460-2067"],"issn-type":[{"type":"print","value":"0010-4620"},{"type":"electronic","value":"1460-2067"}],"subject":[],"published-other":{"date-parts":[[2024,2]]},"published":{"date-parts":[[2023,3,1]]}}}