{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,7,14]],"date-time":"2026-07-14T03:42:12Z","timestamp":1784000532431,"version":"3.55.0"},"reference-count":44,"publisher":"MDPI AG","issue":"4","license":[{"start":{"date-parts":[[2023,11,23]],"date-time":"2023-11-23T00:00:00Z","timestamp":1700697600000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0\/"}],"funder":[{"name":"Synopsys Inc.","award":["200021_1920981"],"award-info":[{"award-number":["200021_1920981"]}]},{"name":"SNF","award":["200021_1920981"],"award-info":[{"award-number":["200021_1920981"]}]}],"content-domain":{"domain":[],"crossmark-restriction":false},"short-container-title":["Cryptography"],"abstract":"<jats:p>Garbled circuit (GC) is one of the few promising protocols to realize general-purpose secure computation. The target computation is represented by a Boolean circuit that is subsequently transformed into a network of encrypted tables for execution. The need for distributing GCs among parties, however, requires excessive data communication, called garbling cost, which bottlenecks system performance. Due to the zero garbling cost of XOR operations, existing works reduce garbling cost by representing the target computation as the XOR-AND graph (XAG) with minimal structural multiplicative complexity (MC). Starting with a thorough study of the cipher-text efficiency of different types of logic primitives, for the first time, we propose XOR-OneHot graph (X1G) as a suitable logic representation for the generation of low-cost GCs. Our contribution includes (a) an exact algorithm to synthesize garbling-cost-optimal X1G implementations for small-scale functions and (b) a set of logic optimization algorithms customized for X1Gs, which together form a robust optimization flow that delivers high-quality X1Gs for practical functions. The effectiveness of the proposals is evidenced by comprehensive evaluations: compared with the state of the art, 7.34%, 26.14%, 13.51%, and 4.34% reductions in garbling costs are achieved on average for the involved benchmark suites, respectively, with reasonable runtime overheads.<\/jats:p>","DOI":"10.3390\/cryptography7040061","type":"journal-article","created":{"date-parts":[[2023,11,23]],"date-time":"2023-11-23T06:06:23Z","timestamp":1700719583000},"page":"61","update-policy":"https:\/\/doi.org\/10.3390\/mdpi_crossmark_policy","source":"Crossref","is-referenced-by-count":2,"title":["Garbled Circuits Reimagined: Logic Synthesis Unleashes Efficient Secure Computation"],"prefix":"10.3390","volume":"7","author":[{"ORCID":"https:\/\/orcid.org\/0009-0009-6816-8903","authenticated-orcid":false,"given":"Mingfei","family":"Yu","sequence":"first","affiliation":[{"name":"Integrated System Laboratory, \u00c9cole Polytechnique F\u00e9d\u00e9rale de Lausanne (EPFL), 1015 Lausanne, Switzerland"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-4438-307X","authenticated-orcid":false,"given":"Dewmini Sudara","family":"Marakkalage","sequence":"additional","affiliation":[{"name":"Integrated System Laboratory, \u00c9cole Polytechnique F\u00e9d\u00e9rale de Lausanne (EPFL), 1015 Lausanne, Switzerland"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Giovanni","family":"De Micheli","sequence":"additional","affiliation":[{"name":"Integrated System Laboratory, \u00c9cole Polytechnique F\u00e9d\u00e9rale de Lausanne (EPFL), 1015 Lausanne, Switzerland"}],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"1968","published-online":{"date-parts":[[2023,11,23]]},"reference":[{"key":"ref_1","unstructured":"Bogetoft, P., Damg\u00e5rd, I., Jakobsen, T., Nielsen, K., Pagter, J., and Toft, T. (March, January 27). A Practical Implementation of Secure Auctions Based on Multiparty Integer Computation. Proceedings of the International Conference on Financial Cryptography and Data Security, Anguilla, British West Indies."},{"key":"ref_2","doi-asserted-by":"crossref","unstructured":"Clarkson, M.R., Chong, S., and Myers, A.C. (2008, January 18\u201322). Civitas: Toward a Secure Voting System. Proceedings of the IEEE Symposium on Security and Privacy, Oakland, CA, USA.","DOI":"10.1109\/SP.2008.32"},{"key":"ref_3","unstructured":"Gilad-Bachrach, R., Dowlin, N., Laine, K., Lauter, K., Naehrig, M., and Wernsing, J. (2016, January 19\u201324). CryptoNets: Applying Neural Networks to Encrypted Data with High Throughput and Accuracy. Proceedings of the 33rd International Conference on International Conference on Machine Learning, New York, NY, USA."},{"key":"ref_4","doi-asserted-by":"crossref","first-page":"32","DOI":"10.1109\/MIC.2018.112102542","article-title":"Perfectly Secure and Efficient Two-Party Electronic-Health-Record Linkage","volume":"22","author":"Chen","year":"2018","journal-title":"IEEE Internet Comput."},{"key":"ref_5","doi-asserted-by":"crossref","unstructured":"Yao, A.C.C. (1986, January 27\u201329). How to Generate and Exchange Secrets. Proceedings of the 27th Annual Symposium on Foundations of Computer Science (SFCS 1986), Toronto, ON, Canada.","DOI":"10.1109\/SFCS.1986.25"},{"key":"ref_6","unstructured":"Gentry, C. (2009). A Fully Homomorphic Encryption Scheme, Stanford University."},{"key":"ref_7","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":"ref_8","unstructured":"Kolesnikov, V., and Schneider, T. (2008, January 7\u201311). Improved garbled circuit: Free XOR gates and applications. Proceedings of the International Colloquium on Automata, Languages, and Programming, Reykjavik, Iceland."},{"key":"ref_9","doi-asserted-by":"crossref","unstructured":"Zahur, S., Rosulek, M., and Evans, D. (2015, January 26\u201330). Two Halves Make a Whole. Proceedings of the Advances in Cryptology\u2014EUROCRYPT 2015, Sofia, Bulgaria.","DOI":"10.1007\/978-3-662-46803-6_8"},{"key":"ref_10","doi-asserted-by":"crossref","unstructured":"Ball, M., Malkin, T., and Rosulek, M. (2016, January 24\u201328). Garbling Gadgets for Boolean and Arithmetic Circuits. Proceedings of the ACM SIGSAC Conference on Computer and Communications Security, Vienna, Austria.","DOI":"10.1145\/2976749.2978410"},{"key":"ref_11","doi-asserted-by":"crossref","unstructured":"Songhori, E.M., Hussain, S.U., Sadeghi, A.R., Schneider, T., and Koushanfar, F. (2015, January 17\u201321). TinyGarble: Highly Compressed and Scalable Sequential Garbled Circuits. Proceedings of the IEEE Symposium on Security and Privacy, San Jose, CA, USA.","DOI":"10.1109\/SP.2015.32"},{"key":"ref_12","doi-asserted-by":"crossref","unstructured":"Riazi, M.S., Javaheripi, M., Hussain, S.U., and Koushanfar, F. (2019, January 5\u201310). MPCircuits: Optimized Circuit Generation for Secure Multi-Party Computation. Proceedings of the IEEE International Symposium on Hardware Oriented Security and Trust (HOST), McLean, VA, USA.","DOI":"10.1109\/HST.2019.8740831"},{"key":"ref_13","doi-asserted-by":"crossref","unstructured":"Testa, E., Soeken, M., Riener, H., Amar\u00f9, L., and De Micheli, G. (2020, January 9\u201313). A Logic Synthesis Toolbox for Reducing the Multiplicative Complexity in Logic Networks. Proceedings of the Design, Automation & Test in Europe Conference & Exhibition (DATE), Grenoble, France.","DOI":"10.23919\/DATE48585.2020.9116467"},{"key":"ref_14","doi-asserted-by":"crossref","first-page":"4821","DOI":"10.1109\/TCAD.2022.3147444","article-title":"A Don\u2019t-Care-Based Approach to Reducing the Multiplicative Complexity in Logic Networks","volume":"41","author":"Liu","year":"2022","journal-title":"IEEE Trans. Comput.-Aided Des. Integr. Circuits Syst."},{"key":"ref_15","doi-asserted-by":"crossref","unstructured":"Yu, M., and De Micheli, G. (2023, January 1\u20134). Generating Lower-Cost Garbled Circuits: Logic Synthesis Can Help. Proceedings of the IEEE International Symposium on Hardware Oriented Security and Trust (HOST), San Jose, CA, USA.","DOI":"10.1109\/HOST55118.2023.10133215"},{"key":"ref_16","unstructured":"Yu, M., and De Micheli, G. (November, January 29). Striving for Both Quality and Speed: Logic Synthesis for Practical Garbled Circuits. Proceedings of the IEEE\/ACM International Conference on Computer-Aided Design (ICCAD), San Francisco, CA, USA. accepted."},{"key":"ref_17","doi-asserted-by":"crossref","unstructured":"Beaver, D., Micali, S., and Rogaway, P. (1990, January 13\u201317). The Round Complexity of Secure Protocols. Proceedings of the 23rd Annual ACM Symposium on Theory of Computing, Baltimore, MD, USA.","DOI":"10.1145\/100216.100287"},{"key":"ref_18","doi-asserted-by":"crossref","unstructured":"Bellare, M., Hoang, V.T., and Rogaway, P. (2012, January 16\u201318). Foundations of Garbled Circuits. Proceedings of the ACM Conference on Computer and Communications Security, Raleigh, NC, USA.","DOI":"10.1145\/2382196.2382279"},{"key":"ref_19","unstructured":"Ball, M., Carmer, B., Malkin, T., Rosulek, M., and Schimanski, N. (2023, November 20). Garbled Neural Networks Are Practical; Cryptology ePrint Archive: 2019. Available online: https:\/\/eprint.iacr.org\/2019\/338."},{"key":"ref_20","doi-asserted-by":"crossref","unstructured":"Naor, M., Pinkas, B., and Sumner, R. (1999, January 3\u20135). Privacy Preserving Auctions and Mechanism Design. Proceedings of the ACM Conference on Electronic Commerce, Denver, CO, USA.","DOI":"10.1145\/336992.337028"},{"key":"ref_21","doi-asserted-by":"crossref","first-page":"283","DOI":"10.1145\/321229.321232","article-title":"An Approach to Multilevel Boolean Minimization","volume":"11","author":"Lawler","year":"1964","journal-title":"J. ACM"},{"key":"ref_22","doi-asserted-by":"crossref","unstructured":"Soeken, M., Haaswijk, W., Testa, E., Mishchenko, A., Amar\u00f9, L., Brayton, R.K., and De Micheli, G. (2018, January 19\u201323). Practical exact synthesis. Proceedings of the Design, Automation & Test in Europe Conference & Exhibition (DATE), Dresden, Germany.","DOI":"10.23919\/DATE.2018.8342027"},{"key":"ref_23","doi-asserted-by":"crossref","first-page":"871","DOI":"10.1109\/TCAD.2019.2897703","article-title":"SAT-Based Exact Synthesis: Encodings, Topology Families, and Parallelism","volume":"39","author":"Haaswijk","year":"2020","journal-title":"IEEE Trans. Comput.-Aided Des. Integr. Circuits Syst."},{"key":"ref_24","unstructured":"Murray, C.D., and Williams, R.R. (2015, January 17\u201319). On the (Non) NP-Hardness of Computing Circuit Complexity. Proceedings of the 30th Conference on Computational Complexity, Portland, OR, USA."},{"key":"ref_25","doi-asserted-by":"crossref","unstructured":"Cong, J., Wu, C., and Ding, Y. (1999, January 21\u201323). Cut Ranking and Pruning: Enabling a General and Efficient FPGA Mapping Solution. Proceedings of the ACM\/SIGDA Seventh International Symposium on Field Programmable Gate Arrays, Monterey, CA, USA.","DOI":"10.1145\/296399.296425"},{"key":"ref_26","doi-asserted-by":"crossref","first-page":"240","DOI":"10.1109\/TCAD.2006.887925","article-title":"Improvements to Technology Mapping for LUT-Based FPGAs","volume":"26","author":"Mishchenko","year":"2007","journal-title":"IEEE Trans. Comput.-Aided Des. Integr. Circuits Syst."},{"key":"ref_27","doi-asserted-by":"crossref","unstructured":"Yang, W., Wang, L., and Mishchenko, A. (2012, January 5\u20138). Lazy Man\u2019s Logic Synthesis. Proceedings of the IEEE\/ACM International Conference on Computer-Aided Design (ICCAD), San Jose, CA, USA.","DOI":"10.1145\/2429384.2429513"},{"key":"ref_28","doi-asserted-by":"crossref","unstructured":"Mishchenko, A., Chatterjee, S., and Brayton, R. (2006, January 24\u201328). DAG-Aware AIG Rewriting: A Fresh Look at Combinational Logic Synthesis. Proceedings of the 43rd Annual Design Automation Conference, San Francisco, CA, USA.","DOI":"10.1145\/1146909.1147048"},{"key":"ref_29","doi-asserted-by":"crossref","unstructured":"(1983). Brand. Redundancy and Don\u2019t Cares in Logic Synthesis. IEEE Trans. Comput., C-32, 947\u2013952.","DOI":"10.1109\/TC.1983.1676139"},{"key":"ref_30","unstructured":"Mishchenko, A., and Brayton, R.K. (2005, January 7\u201311). SAT-Based Complete Don\u2019t-Care Computation for Network Optimization. Proceedings of the Design, Automation & Test in Europe Conference & Exhibition (DATE), Munich, Germany."},{"key":"ref_31","unstructured":"Goto, E., and Takahasi, T. (September, January 27). Some Theorems Useful in Threshold Logic for Enumerating Boolean Functions. Proceedings of the International Federation for Information Processing Congress, Munich, Germany."},{"key":"ref_32","doi-asserted-by":"crossref","first-page":"48","DOI":"10.1109\/T-C.1975.224082","article-title":"The Application of the Rademacher\u2013Walsh Transform to Boolean Function Classification and Threshold Logic Synthesis","volume":"C-24","author":"Edwards","year":"1975","journal-title":"IEEE Trans. Comput."},{"key":"ref_33","doi-asserted-by":"crossref","first-page":"43","DOI":"10.1016\/S0304-3975(99)00182-6","article-title":"On the Multiplicative Complexity of Boolean Functions over the Basis (\u2227, \u2295, 1)","volume":"235","author":"Boyar","year":"2000","journal-title":"Theor. Comput. Sci."},{"key":"ref_34","unstructured":"S\u00f6nmez Turan, M. (2023, November 20). New Bounds on the Multiplicative Complexity of Boolean Functions; Cryptology ePrint Archive: 2022. Available online: https:\/\/eprint.iacr.org\/2022\/1077."},{"key":"ref_35","doi-asserted-by":"crossref","first-page":"93","DOI":"10.1007\/s12095-018-0297-2","article-title":"The Multiplicative Complexity of 6-variable Boolean Functions","volume":"11","author":"Peralta","year":"2019","journal-title":"Cryptogr. Commun."},{"key":"ref_36","doi-asserted-by":"crossref","first-page":"1339","DOI":"10.1007\/s12095-019-00377-3","article-title":"Upper Bounds on the Multiplicative Complexity of Symmetric Boolean Functions","volume":"11","author":"Peralta","year":"2019","journal-title":"Cryptogr. Commun."},{"key":"ref_37","unstructured":"H\u00e4ner, T., and Soeken, M. (2022). The multiplicative complexity of interval checking. arXiv."},{"key":"ref_38","doi-asserted-by":"crossref","first-page":"2184","DOI":"10.1109\/TCAD.2020.3032625","article-title":"Three-Input Gates for Logic Synthesis","volume":"40","author":"Marakkalage","year":"2021","journal-title":"IEEE Trans. Comput.-Aided Des. Integr. Circuits Syst."},{"key":"ref_39","doi-asserted-by":"crossref","unstructured":"Mishchenko, A., Brayton, R., Jang, S., and Kravets, V. (2011, January 7\u201310). Delay Optimization using SOP Balancing. Proceedings of the IEEE\/ACM International Conference on Computer-Aided Design (ICCAD), San Jose, CA, USA.","DOI":"10.1109\/ICCAD.2011.6105357"},{"key":"ref_40","unstructured":"Soeken, M. (2020). Determining the Multiplicative Complexity of Boolean Functions using SAT. arXiv."},{"key":"ref_41","unstructured":"Knuth, D.E. (2013). Art of Computer Programming, Volume 4, Fascicle 4, The: Generating All Trees\u2013History of Combinatorial Generation, Addison-Wesley Professional."},{"key":"ref_42","unstructured":"Miller, D.M., and Soeken, M. (2020). Advanced Boolean Techniques, Springer."},{"key":"ref_43","unstructured":"Tseitin, G.S. (1983). Automation of Reasoning: 2: Classical Papers on Computational Logic 1967\u20131970, Springer."},{"key":"ref_44","doi-asserted-by":"crossref","unstructured":"E\u00e9n, N., and S\u00f6rensson, N. (2004, January 5\u20139). An Extensible SAT-solver. Proceedings of the Theory and Applications of Satisfiability Testing, Barcelona, Spain.","DOI":"10.1007\/978-3-540-24605-3_37"}],"container-title":["Cryptography"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/www.mdpi.com\/2410-387X\/7\/4\/61\/pdf","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2025,10,10]],"date-time":"2025-10-10T21:28:22Z","timestamp":1760131702000},"score":1,"resource":{"primary":{"URL":"https:\/\/www.mdpi.com\/2410-387X\/7\/4\/61"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2023,11,23]]},"references-count":44,"journal-issue":{"issue":"4","published-online":{"date-parts":[[2023,12]]}},"alternative-id":["cryptography7040061"],"URL":"https:\/\/doi.org\/10.3390\/cryptography7040061","relation":{},"ISSN":["2410-387X"],"issn-type":[{"value":"2410-387X","type":"electronic"}],"subject":[],"published":{"date-parts":[[2023,11,23]]}}}