{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,9,30]],"date-time":"2026-09-30T21:02:54Z","timestamp":1790802174764,"version":"4.1.0"},"reference-count":53,"publisher":"International Association for Cryptologic Research","license":[{"start":{"date-parts":[[2024,4,8]],"date-time":"2024-04-08T00:00:00Z","timestamp":1712534400000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0\/"}],"content-domain":{"domain":[],"crossmark-restriction":false},"short-container-title":["IACR CiC"],"accepted":{"date-parts":[[2024,6,3]]},"abstract":"<jats:p>  We introduce InspectorGadget, an Open-Source Python-based software for assessing and comparing the complexity of masking gadgets. By providing a limited set of characteristics of a hardware platform, our tool allows to estimate the cost of a masking gadget in terms of cycle count equivalent and memory footprint. InspectorGadget is highly flexible. It enables the user to define her own estimation functions, as well as to expand the set of gadgets and predefined microcontrollers.  As a case-study, we produce a fair comparison of several masked versions of Kyber compression function from the literature, together with novel alternatives automatically generated by our tool. Our results confirm that an interesting middle ground exists between theoretical performance measures (asymptotic complexity or operations count) and real implementations benchmarks (clock cycle accurate evaluations). InspectorGadget offers both simplicity and genericity while capturing the main performance-related parameters of a hardware platform. <\/jats:p>","DOI":"10.62056\/ah5wommol","type":"journal-article","created":{"date-parts":[[2024,7,8]],"date-time":"2024-07-08T15:52:04Z","timestamp":1720453924000},"update-policy":"https:\/\/doi.org\/10.62056\/adfjwm02dj","source":"Crossref","is-referenced-by-count":1,"title":["Inspector Gadget"],"prefix":"10.62056","author":[{"given":"Camille","family":"Mutschler","sequence":"first","affiliation":[{"name":"LIRMM, CNRS, Univ. Montpellier","place":["Montpellier, France"]},{"name":"NinjaLab","place":["Montpellier, France"]}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0001-9362-2869","authenticated-orcid":false,"given":"Laurent","family":"Imbert","sequence":"additional","affiliation":[{"name":"LIRMM, CNRS, Univ. Montpellier","place":["Montpellier, France"]}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Thomas","family":"Roche","sequence":"additional","affiliation":[{"name":"NinjaLab","place":["Montpellier, France"]}],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"48349","published-online":{"date-parts":[[2024,7,8]]},"reference":[{"key":"ref1:CHES:PriPesMan17","series-title":"LNCS","doi-asserted-by":"publisher","first-page":"513","DOI":"10.1007\/978-3-319-66787-4_25","article-title":"Single-Trace Side-Channel Attacks on Masked Lattice-Based\n  Encryption","volume-title":"CHES\u00a02017","volume":"10529","author":"Robert Primas","year":"2017"},{"key":"ref2:C:GuoJohNil20","series-title":"LNCS","doi-asserted-by":"publisher","first-page":"359","DOI":"10.1007\/978-3-030-56880-1_13","article-title":"A Key-Recovery Timing Attack on Post-quantum Primitives\n  Using the Fujisaki-Okamoto Transformation and Its Application on\n  FrodoKEM","volume-title":"CRYPTO\u00a02020, Part\u00a0II","volume":"12171","author":"Qian Guo","year":"2020"},{"key":"ref3:PQCRYPTO:ACLZ20","doi-asserted-by":"publisher","first-page":"189","DOI":"10.1007\/978-3-030-44223-1_11","article-title":"Defeating NewHope with a Single Trace","volume-title":"Post-Quantum Cryptography - 11th International Conference,\n  PQCrypto 2020","author":"Dorian Amiet","year":"2020"},{"key":"ref4:TCHES:RRCB20","doi-asserted-by":"publisher","first-page":"307","DOI":"10.13154\/tches.v2020.i3.307-335","article-title":"Generic Side-channel attacks on CCA-secure lattice-based\n  PKE and KEMs","volume":"2020","author":"Prasanna Ravi","year":"2020","journal-title":"IACR TCHES","ISSN":"https:\/\/id.crossref.org\/issn\/2569-2925","issn-type":"electronic"},{"key":"ref5:XuPROYZ22","doi-asserted-by":"publisher","first-page":"2163","DOI":"10.1109\/TC.2021.3122997","article-title":"Magnifying Side-Channel Leakage of Lattice-Based\n  Cryptosystems With Chosen Ciphertexts: The Case Study of Kyber","volume":"71","author":"Zhuang Xu","year":"2022","journal-title":"IEEE Trans. Computers"},{"key":"ref6:TCHES:UXTITH22","doi-asserted-by":"publisher","first-page":"296","DOI":"10.46586\/tches.v2022.i1.296-322","article-title":"Curse of Re-encryption: A Generic Power\/EM Analysis on\n  Post-Quantum KEMs","volume":"2022","author":"Rei Ueno","year":"2022","journal-title":"IACR TCHES"},{"key":"ref7:C:CJRR99","series-title":"LNCS","doi-asserted-by":"publisher","first-page":"398","DOI":"10.1007\/3-540-48405-1_26","article-title":"Towards Sound Approaches to Counteract Power-Analysis\n  Attacks","volume-title":"CRYPTO'99","volume":"1666","author":"Suresh Chari","year":"1999"},{"key":"ref8:C:IshSahWag03","series-title":"LNCS","doi-asserted-by":"publisher","first-page":"463","DOI":"10.1007\/978-3-540-45146-4_27","article-title":"Private Circuits: Securing Hardware against Probing\n  Attacks","volume-title":"CRYPTO\u00a02003","volume":"2729","author":"Yuval Ishai","year":"2003"},{"key":"ref9:CCS:BBDFGS16","doi-asserted-by":"publisher","first-page":"116","DOI":"10.1145\/2976749.2978427","article-title":"Strong Non-Interference and Type-Directed Higher-Order\n  Masking","volume-title":"ACM CCS 2016","author":"Gilles Barthe","year":"2016"},{"key":"ref10:CHES:RivPro10","series-title":"LNCS","doi-asserted-by":"publisher","first-page":"413","DOI":"10.1007\/978-3-642-15031-9_28","article-title":"Provably Secure Higher-Order Masking of AES","volume-title":"CHES\u00a02010","volume":"6225","author":"Matthieu Rivain","year":"2010"},{"key":"ref11:FSE:CPRR13","series-title":"LNCS","doi-asserted-by":"publisher","first-page":"410","DOI":"10.1007\/978-3-662-43933-3_21","article-title":"Higher-Order Side Channel Security and Mask Refreshing","volume-title":"FSE\u00a02013","volume":"8424","author":"Jean-S\u00e9bastien Coron","year":"2014"},{"key":"ref12:EC:Coron14","series-title":"LNCS","doi-asserted-by":"publisher","first-page":"441","DOI":"10.1007\/978-3-642-55220-5_25","article-title":"Higher Order Masking of Look-Up Tables","volume-title":"EUROCRYPT\u00a02014","volume":"8441","author":"Jean-S\u00e9bastien Coron","year":"2014"},{"key":"ref13:CHES:CorGroVad14","series-title":"LNCS","doi-asserted-by":"publisher","first-page":"188","DOI":"10.1007\/978-3-662-44709-3_11","article-title":"Secure Conversion between Boolean and Arithmetic Masking\n  of Any Order","volume-title":"CHES\u00a02014","volume":"8731","author":"Jean-S\u00e9bastien Coron","year":"2014"},{"key":"ref14:CassiersStandaert20","doi-asserted-by":"publisher","first-page":"1","DOI":"10.1109\/TIFS.2020.2971153","article-title":"Trivially and Efficiently Composing Masked Gadgets With\n  Probe Isolating Non-Interference","volume":"PP","author":"Gaetan Cassiers","year":"2020","journal-title":"IEEE Transactions on Information Forensics and Security"},{"key":"ref15:CHES:RRVV15","series-title":"LNCS","doi-asserted-by":"publisher","first-page":"683","DOI":"10.1007\/978-3-662-48324-4_34","article-title":"A Masked Ring-LWE Implementation","volume-title":"CHES\u00a02015","volume":"9293","author":"Oscar Reparaz","year":"2015"},{"key":"ref16:PQCRYPTO:RCRVV16","doi-asserted-by":"publisher","first-page":"233","DOI":"10.1007\/978-3-319-29360-8_15","article-title":"Additively Homomorphic Ring-LWE Masking","volume-title":"Post-Quantum Cryptography - 7th International Workshop,\n  PQCrypto 2016","author":"Oscar Reparaz","year":"2016"},{"key":"ref17:TCHES:OSPG18","doi-asserted-by":"publisher","first-page":"142","DOI":"10.13154\/tches.v2018.i1.142-174","article-title":"Practical CCA2-Secure and Masked Ring-LWE Implementation","volume":"2018","author":"Tobias Oder","year":"2018","journal-title":"IACR Transactions on Cryptographic Hardware and Embedded\n  Systems"},{"key":"ref18:EC:BBEFGR18","series-title":"LNCS","doi-asserted-by":"publisher","first-page":"354","DOI":"10.1007\/978-3-319-78375-8_12","article-title":"Masking the GLP Lattice-Based Signature Scheme at Any\n  Order","volume-title":"EUROCRYPT\u00a02018, Part\u00a0II","volume":"10821","author":"Gilles Barthe","year":"2018"},{"key":"ref19:ACNS:MGTF19","series-title":"LNCS","doi-asserted-by":"publisher","first-page":"344","DOI":"10.1007\/978-3-030-21568-2_17","article-title":"Masking Dilithium - Efficient Implementation and\n  Side-Channel Evaluation","volume-title":"ACNS 19","volume":"11464","author":"Vincent Migliore","year":"2019"},{"key":"ref20:BeirendonckDKBV21","doi-asserted-by":"publisher","DOI":"10.1145\/3429983","article-title":"A Side-Channel-Resistant Implementation of SABER","volume":"17","author":"Michiel Van Beirendonck","year":"2021","journal-title":"ACM J. Emerg. Technol. Comput. Syst."},{"key":"ref21:TCHES:BGRSv21","doi-asserted-by":"publisher","first-page":"173","DOI":"10.46586\/tches.v2021.i4.173-214","article-title":"Masking Kyber: First- and Higher-Order Implementations","volume":"2021","author":"Joppe W. Bos","year":"2021","journal-title":"IACR TCHES","ISSN":"https:\/\/id.crossref.org\/issn\/2569-2925","issn-type":"electronic"},{"key":"ref22:TCHES:CGMZ22","doi-asserted-by":"publisher","first-page":"1","DOI":"10.46586\/tches.v2022.i2.1-40","article-title":"High-order Table-based Conversion Algorithms and Masking\n  Lattice-based Encryption","volume":"2022","author":"Jean-S\u00e9bastien Coron","year":"2022","journal-title":"IACR TCHES"},{"key":"ref23:TCHES:BroCas22","doi-asserted-by":"publisher","first-page":"553","DOI":"10.46586\/tches.v2022.i4.553-588","article-title":"Bitslicing Arithmetic\/Boolean Masking Conversions for Fun\n  and Profit with Application to Lattice-Based KEMs","volume":"2022","author":"Olivier Bronchain","year":"2022","journal-title":"IACR TCHES"},{"key":"ref24:TCHES:CGMZ23","doi-asserted-by":"publisher","first-page":"153","DOI":"10.46586\/tches.v2023.i1.153-192","article-title":"High-order Polynomial Comparison and Masking Lattice-based\n  Encryption","volume":"2023","author":"Jean-S\u00e9bastien Coron","year":"2023","journal-title":"IACR TCHES"},{"key":"ref25:TCHES:CGTZ23","doi-asserted-by":"publisher","first-page":"180","DOI":"10.46586\/tches.v2023.i2.180-211","article-title":"High-order masking of NTRU","volume":"2023","author":"Jean-S\u00e9bastien Coron","year":"2023","journal-title":"IACR TCHES"},{"key":"ref26:TCHES:CGTZ23b","doi-asserted-by":"publisher","first-page":"110","DOI":"10.46586\/tches.v2023.i4.110-145","article-title":"Improved Gadgets for the High-Order Masking of Dilithium","volume":"2023","author":"Jean-S\u00e9bastien Coron","year":"2023","journal-title":"IACR TCHES"},{"key":"ref27:ASIACCS:BBYS22","doi-asserted-by":"publisher","first-page":"756","DOI":"10.1145\/3488932.3517415","article-title":"SoK: Design Tools for Side-Channel-Aware Implementations","volume-title":"ASIACCS 22","author":"Ileana Buhan","year":"2022"},{"key":"ref28:ESORICS:BBCFGS19","series-title":"LNCS","doi-asserted-by":"publisher","first-page":"300","DOI":"10.1007\/978-3-030-29959-0_15","article-title":"maskVerif: Automated Verification of Higher-Order Masking\n  in Presence of Physical Defaults","volume-title":"ESORICS\u00a02019, Part\u00a0I","volume":"11735","author":"Gilles Barthe","year":"2019"},{"key":"ref29:QMVerif","doi-asserted-by":"publisher","DOI":"10.1145\/3330392","article-title":"Verifying and Quantifying Side-channel Resistance of Masked\n  Software Implementations","volume":"28","author":"Pengfei Gao","year":"2019","journal-title":"ACM Trans. Softw. Eng. Methodol.","ISSN":"https:\/\/id.crossref.org\/issn\/1049-331X","issn-type":"electronic"},{"key":"ref30:LeakageVerif","doi-asserted-by":"publisher","first-page":"3359","DOI":"10.1109\/TSE.2023.3252671","article-title":"LeakageVerif: Efficient and Scalable Formal Verification of\n  Leakage in Symbolic Expressions","volume":"49","author":"Quentin L. Meunier","year":"2023","journal-title":"IEEE Trans. Softw. Eng.","ISSN":"https:\/\/id.crossref.org\/issn\/0098-5589","issn-type":"electronic"},{"key":"ref31:scVerif","article-title":"Open source publication of complete leakage model,\n  implementations and the verification tool","author":"Gilles Barthe","year":"2020","journal-title":"GitHub"},{"key":"ref32:AC:KniSasMor20","series-title":"LNCS","doi-asserted-by":"publisher","first-page":"787","DOI":"10.1007\/978-3-030-64837-4_26","article-title":"SILVER - Statistical Independence and Leakage\n  Verification","volume-title":"ASIACRYPT\u00a02020, Part\u00a0I","volume":"12491","author":"David Knichel","year":"2020"},{"key":"ref33:TCHES:MulMor22","doi-asserted-by":"publisher","first-page":"311","DOI":"10.46586\/tches.v2022.i4.311-348","article-title":"PROLEAD A Probing-Based Hardware Leakage Detection\n  Tool","volume":"2022","author":"Nicolai M\u00fcller","year":"2022","journal-title":"IACR TCHES"},{"key":"ref34:TCHES:ZeiMulMor23","doi-asserted-by":"publisher","first-page":"391","DOI":"10.46586\/tches.v2023.i3.391-421","article-title":"PROLEAD_SW Probing-Based Software Leakage Detection for\n  ARM Binaries","volume":"2023","author":"Jannik Zeitschner","year":"2023","journal-title":"IACR TCHES"},{"key":"ref35:COSADE:CorGroDin18","series-title":"LNCS","doi-asserted-by":"publisher","first-page":"82","DOI":"10.1007\/978-3-319-89641-0_5","article-title":"Micro-architectural Power Simulator for Leakage Assessment\n  of Cryptographic Software on ARM Cortex-M3 Processors","volume-title":"COSADE 2018","volume":"10815","author":"Yann Le Corre","year":"2018"},{"key":"ref36:USENIX:GHPMB21","first-page":"1469","article-title":"Coco: Co-Design and Co-Verification of Masked Software\n  Implementations on CPUs","volume-title":"USENIX Security 2021","author":"Barbara Gigerl","year":"2021"},{"key":"ref37:TCHES:KiaSch22","doi-asserted-by":"publisher","first-page":"751","DOI":"10.46586\/tches.v2022.i4.751-773","article-title":"SoC Root Canal! Root Cause Analysis of Power\n  Side-Channel Leakage in System-on-Chip Designs","volume":"2022","author":"Pantea Kiaei","year":"2022","journal-title":"IACR TCHES"},{"key":"ref38:COSADE:PapVes17","series-title":"LNCS","doi-asserted-by":"publisher","first-page":"282","DOI":"10.1007\/978-3-319-64647-3_17","article-title":"Mind the Gap: Towards Secure 1st-Order Masking in Software","volume-title":"COSADE 2017","volume":"10348","author":"Kostas Papagiannopoulos","year":"2017"},{"key":"ref39:USENIX:McCOswWhi17","first-page":"199","article-title":"Towards Practical Tools for Side Channel Aware Software\n  Engineering: 'Grey Box' Modelling for Instruction Leakages","volume-title":"USENIX Security 2017","author":"David McCann","year":"2017"},{"key":"ref40:GILES","article-title":"GILES","author":"Scott Egerton","year":"2019","journal-title":"GitHub"},{"key":"ref41:NDSS:SSBRWY21","article-title":"Rosita: Towards Automatic Elimination of Power-Analysis\n  Leakage in Ciphers","volume-title":"NDSS\u00a02021","author":"Madura A. Shelton","year":"2021"},{"key":"ref42:AC:BelGouRiv18","series-title":"LNCS","doi-asserted-by":"publisher","first-page":"343","DOI":"10.1007\/978-3-030-03329-3_12","article-title":"Tight Private Circuits: Achieving Probing Security with the\n  Least Refreshing","volume-title":"ASIACRYPT\u00a02018, Part\u00a0II","volume":"11273","author":"Sonia Bela\u00efd","year":"2018"},{"key":"ref43:NISTPQC-R3:CRYSTALS-KYBER20","article-title":"CRYSTALS-KYBER","author":"Peter Schwabe","year":"2020"},{"key":"ref44:DCC:LangloisStehle15","doi-asserted-by":"publisher","first-page":"565","DOI":"10.1007\/s10623-014-9938-4","article-title":"Worst-case to average-case reductions for module lattices","volume":"75","author":"Adeline Langlois","year":"2015","journal-title":"Designs, Codes and Cryptography","ISSN":"https:\/\/id.crossref.org\/issn\/1573-7586","issn-type":"electronic"},{"key":"ref45:C:FujOka99","series-title":"LNCS","doi-asserted-by":"publisher","first-page":"537","DOI":"10.1007\/3-540-48405-1_34","article-title":"Secure Integration of Asymmetric and Symmetric Encryption\n  Schemes","volume-title":"CRYPTO'99","volume":"1666","author":"Eiichiro Fujisaki","year":"1999"},{"key":"ref46:PKC:SPOG19","series-title":"LNCS","doi-asserted-by":"publisher","first-page":"534","DOI":"10.1007\/978-3-030-17259-6_18","article-title":"Efficiently Masking Binomial Sampling at Arbitrary Orders\n  for Lattice-Based Crypto","volume-title":"PKC\u00a02019, Part\u00a0II","volume":"11443","author":"Tobias Schneider","year":"2019"},{"key":"ref47:EPRINT:HKLPSS22","article-title":"First-Order Masked Kyber on ARM Cortex-M4","author":"Daniel Heinz","year":"2022"},{"key":"ref48:FSE:CGTV15","series-title":"LNCS","doi-asserted-by":"publisher","first-page":"130","DOI":"10.1007\/978-3-662-48116-5_7","article-title":"Conversion from Arithmetic to Boolean Masking with\n  Logarithmic Complexity","volume-title":"FSE\u00a02015","volume":"9054","author":"Jean-S\u00e9bastien Coron","year":"2015"},{"key":"ref49:CHES:Goubin01","series-title":"LNCS","doi-asserted-by":"publisher","first-page":"3","DOI":"10.1007\/3-540-44709-1_2","article-title":"A Sound Method for Switching between Boolean and\n  Arithmetic Masking","volume-title":"CHES\u00a02001","volume":"2162","author":"Louis Goubin","year":"2001"},{"key":"ref50:KunduDBKV22","series-title":"Lecture Notes in Computer Science","doi-asserted-by":"publisher","first-page":"93","DOI":"10.1007\/978-3-031-14791-3_5","article-title":"Higher-Order Masked Saber","volume-title":"Security and Cryptography for Networks - 13th International\n  Conference, SCN 2022, Amalfi, Italy, September 12-14, 2022, Proceedings","volume":"13409","author":"Suparna Kundu","year":"2022"},{"key":"ref51:AFRICACRYPT:DKRV18","series-title":"LNCS","doi-asserted-by":"publisher","first-page":"282","DOI":"10.1007\/978-3-319-89339-6_16","article-title":"Saber: Module-LWR Based Key Exchange, CPA-Secure\n  Encryption and CCA-Secure KEM","volume-title":"AFRICACRYPT 18","volume":"10831","author":"Jan-Pieter D'Anvers","year":"2018"},{"key":"ref52:TCHES:VanDAnVer21","doi-asserted-by":"publisher","first-page":"275","DOI":"10.46586\/tches.v2021.i3.275-297","article-title":"Analysis and Comparison of Table-based Arithmetic to Boolean\n  Masking","volume":"2021","author":"Michiel Van Beirendonck","year":"2021","journal-title":"IACR TCHES","ISSN":"https:\/\/id.crossref.org\/issn\/2569-2925","issn-type":"electronic"},{"key":"ref53:EPRINT:CasSta18","article-title":"Improved Bitslice Masking: from Optimized Non-Interference\n  to Probe Isolation","author":"Ga\u00ebtan Cassiers","year":"2018"}],"container-title":["IACR Communications in Cryptology"],"original-title":[],"language":"en","deposited":{"date-parts":[[2024,12,10]],"date-time":"2024-12-10T21:26:58Z","timestamp":1733866018000},"score":1,"resource":{"primary":{"URL":"https:\/\/cic.iacr.org\/p\/1\/2\/18"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2024,7,8]]},"references-count":53,"URL":"https:\/\/doi.org\/10.62056\/ah5wommol","archive":["Internet Archive","Internet Archive"],"relation":{},"ISSN":["3006-5496"],"issn-type":[{"value":"3006-5496","type":"electronic"}],"subject":[],"published":{"date-parts":[[2024,7,8]]},"assertion":[{"value":"2024-04-08","order":0,"name":"received","label":"Received","group":{"name":"publication_history","label":"Publication History"}},{"value":"2024-06-03","order":1,"name":"accepted","label":"Accepted","group":{"name":"publication_history","label":"Publication History"}}],"article-number":"cc1-2-55"}}