{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,9,29]],"date-time":"2026-09-29T21:21:16Z","timestamp":1790716876204,"version":"4.1.0"},"reference-count":42,"publisher":"MDPI AG","issue":"2","license":[{"start":{"date-parts":[[2022,4,20]],"date-time":"2022-04-20T00:00:00Z","timestamp":1650412800000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0\/"}],"funder":[{"name":"\u201cProgramme Investissement d\u2019Avenir IRT Nanoelec\u201d ANR-10-AIRT-05.","award":["\u201cProgramme Investissement d\u2019Avenir IRT Nanoelec\u201d ANR-10-AIRT-05."],"award-info":[{"award-number":["\u201cProgramme Investissement d\u2019Avenir IRT Nanoelec\u201d ANR-10-AIRT-05."]}]}],"content-domain":{"domain":[],"crossmark-restriction":false},"short-container-title":["Cryptography"],"abstract":"<jats:p>In the vulnerability analysis of System on Chips, memory hierarchy is considered among the most valuable element to protect against information theft. Many first-order side-channel attacks have been reported on all its components from the main memory to the CPU registers. In this context, memory hierarchy encryption is widely used to ensure data confidentiality. Yet, this solution suffers from both memory and area overhead along with performance losses (timing delays), which is especially critical for cache memories that already occupy a large part of the spatial footprint of a processor. In this paper, we propose a secure and lightweight scheme to ensure the data confidentiality through the whole memory hierarchy. This is done by masking the data in cache memories with a lightweight mask generator that provides masks at each clock cycle without having to store them. Only 8-bit Initialization Vectors are stored for each mask value to enable further recomputation of the masks. The overall security of the masking scheme is assessed through a mutual information estimation that helped evaluate the minimum number of attack traces needed to succeed a profiling side-channel attack to 592 K traces in the attacking phase, which provides an acceptable security level in an analysis where an example of Signal to Noise Ratio of 0.02 is taken. The lightweight aspect of the generator has been confirmed by a hardware implementation that led to resource utilization of 400 LUTs.<\/jats:p>","DOI":"10.3390\/cryptography6020019","type":"journal-article","created":{"date-parts":[[2022,4,21]],"date-time":"2022-04-21T01:55:51Z","timestamp":1650506151000},"page":"19","update-policy":"https:\/\/doi.org\/10.3390\/mdpi_crossmark_policy","source":"Crossref","is-referenced-by-count":12,"title":["A Memory Hierarchy Protected against Side-Channel Attacks"],"prefix":"10.3390","volume":"6","author":[{"given":"Ezinam Bertrand","family":"Talaki","sequence":"first","affiliation":[{"name":"Univ. Grenoble Alpes, CEA, Leti, F-38000 Grenoble, France"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Olivier","family":"Savry","sequence":"additional","affiliation":[{"name":"Univ. Grenoble Alpes, CEA, Leti, F-38000 Grenoble, France"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Mathieu","family":"Bouvier Des Noes","sequence":"additional","affiliation":[{"name":"Univ. Grenoble Alpes, CEA, Leti, F-38000 Grenoble, France"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0003-3249-7667","authenticated-orcid":false,"given":"David","family":"Hely","sequence":"additional","affiliation":[{"name":"Univ. Grenoble Alpes, CEA, Leti, F-38000 Grenoble, France"}],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"1968","published-online":{"date-parts":[[2022,4,20]]},"reference":[{"key":"ref_1","doi-asserted-by":"crossref","unstructured":"Barenghi, A., and Pelosi, G. (2018, January 24\u201328). Side-channel security of superscalar CPUs: Evaluating the Impact of Micro-architectural Features. Proceedings of the 2018 55th ACM\/ESDA\/IEEE Design Automation Conference (DAC), San Francisco, CA, USA.","DOI":"10.1109\/DAC.2018.8465784"},{"key":"ref_2","doi-asserted-by":"crossref","unstructured":"You, S.C., and Kuhn, M.G. (2020, January 1\u20133). A Template Attack to Reconstruct the Input of SHA-3 on an 8-bit Device. Proceedings of the International Workshop on Constructive Side-Channel Analysis and Secure Design, Lugano, Switzerland.","DOI":"10.1007\/978-3-030-68773-1_2"},{"key":"ref_3","doi-asserted-by":"crossref","unstructured":"Arsath K F, M., Ganesan, V., Bodduna, R., and Rebeiro, C. (2020, January 7\u201311). PARAM: A Microprocessor Hardened for Power Side-Channel Attack Resistance. Proceedings of the IEEE International Symposium on Hardware Oriented Security and Trust (HOST) 2020, Virtual Event.","DOI":"10.1109\/HOST45689.2020.9300263"},{"key":"ref_4","doi-asserted-by":"crossref","unstructured":"Ro\u017ei\u0107, V., Dehaene, W., and Verbauwhede, I. (2012, January 3\u20134). Design solutions for securing SRAM cell against power analysis. Proceedings of the 2012 IEEE International Symposium on Hardware-Oriented Security and Trust, San Francisco, CA, USA.","DOI":"10.1109\/HST.2012.6224331"},{"key":"ref_5","unstructured":"Kocher, P.C., Jaffe, J.M., and Jun, B.C. (2010). Cryptographic Computation Using Masking to Prevent Differential Power Analysis and Other Attacks. (US7668310B2), US Patent."},{"key":"ref_6","doi-asserted-by":"crossref","unstructured":"Daemen, J., Massolino, P.M.C., Mehrdad, A., and Rotella, Y. (2020). The Subterranean 2.0 cipher suite. IACR Trans. Symmetric Cryptol., 262\u2013294. Available online: https:\/\/tosc.iacr.org\/index.php\/ToSC\/article\/view\/8622.","DOI":"10.46586\/tosc.v2020.iS1.262-294"},{"key":"ref_7","doi-asserted-by":"crossref","unstructured":"Gala, N., Menon, A., Bodduna, R., Madhusudan, G.S., and Kamakoti, V. (2016, January 4\u20138). SHAKTI processors: An open-source hardware initiative. Proceedings of the 2016 29th International Conference on VLSI Design and 2016 15th International Conference on Embedded Systems (VLSID), Kolkata, India.","DOI":"10.1109\/VLSID.2016.130"},{"key":"ref_8","first-page":"1396","article-title":"A 7T security oriented SRAM bitcell","volume":"66","author":"Giterman","year":"2018","journal-title":"IEEE Trans. Circuits Syst. II Express Briefs"},{"key":"ref_9","first-page":"261","article-title":"MIRACLE: MIcRo-ArChitectural Leakage Evaluation","volume":"2021","author":"Marshall","year":"2021","journal-title":"IACR Cryptol. ePrint Arch."},{"key":"ref_10","doi-asserted-by":"crossref","unstructured":"Talaki, E.B., Noes, M.B.D., Savry, O., Hely, D., Bacles-Min, S., and Lemaire, R. (December, January 30). Exposing Data Value On a Risc-V Based SoC. Proceedings of the 2021 IEEE Physical Assurance and Inspection of Electronics (PAINE), Washington, DC, USA.","DOI":"10.1109\/PAINE54418.2021.9707710"},{"key":"ref_11","doi-asserted-by":"crossref","first-page":"137","DOI":"10.1007\/s13389-018-0180-2","article-title":"MEAS: Memory encryption and authentication secure against side-channel attacks","volume":"9","author":"Unterluggauer","year":"2019","journal-title":"J. Cryptogr. Eng."},{"key":"ref_12","doi-asserted-by":"crossref","unstructured":"Yin, T., Xin, G., and Han, J. (2020, January 3\u20136). HPME: A High-Performance Hardware Memory Encryption Engine Based on RISC-V TEE. Proceedings of the 2020 IEEE 15th International Conference on Solid-State Integrated Circuit Technology (ICSICT), Kunming, China.","DOI":"10.1109\/ICSICT49897.2020.9278286"},{"key":"ref_13","doi-asserted-by":"crossref","unstructured":"Wong, M.M., Haj-Yahya, J., and Chattopadhyay, A. (2018, January 2). SMARTS: Secure memory assurance of RISC-V trusted SoC. Proceedings of the 7th International Workshop on Hardware and Architectural Support for Security and Privacy, Los Angeles, CA, USA.","DOI":"10.1145\/3214292.3214298"},{"key":"ref_14","doi-asserted-by":"crossref","first-page":"198","DOI":"10.1109\/TIT.1983.1056650","article-title":"On the security of public key protocols","volume":"29","author":"Dolev","year":"1983","journal-title":"IEEE Trans. Inf. Theory"},{"key":"ref_15","doi-asserted-by":"crossref","unstructured":"Goos, G., Hartmanis, J., van Leeuwen, J., and Schneier, B. (2000, January 10\u201312). Securing the AES Finalists against Power Analysis Attacks. Proceedings of the Fast Software Encryption, New York, NY, USA. Lecture Notes in Computer Science.","DOI":"10.1007\/3-540-44706-7"},{"key":"ref_16","doi-asserted-by":"crossref","unstructured":"Nikova, S., Rechberger, C., and Rijmen, V. (2006, January 4\u20137). Threshold implementations against side-channel attacks and glitches. Proceedings of the International Conference on Information and Communications Security, Raleigh, NC, USA.","DOI":"10.1007\/11935308_38"},{"key":"ref_17","doi-asserted-by":"crossref","unstructured":"Gro\u00df, H., Mangard, S., and Korak, T. (2016, January 24\u201328). Domain-Oriented Masking: Compact Masked Hardware Implementations with Arbitrary Protection Order. Proceedings of the TIS@ CCS, Vienna, Austria.","DOI":"10.1145\/2996366.2996426"},{"key":"ref_18","doi-asserted-by":"crossref","first-page":"109","DOI":"10.1007\/s13389-018-0184-y","article-title":"A unified masking approach","volume":"8","author":"Gross","year":"2018","journal-title":"J. Cryptogr. Eng."},{"key":"ref_19","unstructured":"Boneh, D. (2003, January 17\u201321). Private Circuits: Securing Hardware against Probing Attacks. Proceedings of the Advances in Cryptology\u2014CRYPTO 2003, Santa Barbara, CA, USA. Lecture Notes in Computer Science."},{"key":"ref_20","doi-asserted-by":"crossref","unstructured":"Prouff, E., and Rivain, M. (2013, January 26\u201330). Masking against side-channel attacks: A formal security proof. Proceedings of the Annual International Conference on the Theory and Applications of Cryptographic Techniques, Athens, Greece.","DOI":"10.1007\/978-3-642-38348-9_9"},{"key":"ref_21","doi-asserted-by":"crossref","unstructured":"Mangard, S., and Standaert, F.X. (2010, January 17\u201320). Provably Secure Higher-Order Masking of AES. Proceedings of the Cryptographic Hardware and Embedded Systems, Santa Barbara, CA, USA. Lecture Notes in Computer Science.","DOI":"10.1007\/978-3-642-15031-9"},{"key":"ref_22","doi-asserted-by":"crossref","unstructured":"Pointcheval, D. (2005, January 13\u201317). Higher Order Masking of the AES. Proceedings of the Topics in Cryptology\u2014CT-RSA 2006, San Jose, CA, USA.","DOI":"10.1007\/11605805"},{"key":"ref_23","doi-asserted-by":"crossref","unstructured":"Fischer, W., and Homma, N. (2017, January 25\u201328). Very High Order Masking: Efficient Implementation and Security Evaluation. Proceedings of the Cryptographic Hardware and Embedded Systems\u2014CHES 2017, Taipei, Taiwan.","DOI":"10.1007\/978-3-319-66787-4"},{"key":"ref_24","unstructured":"Moos, T., Moradi, A., Schneider, T., and Standaert, F.X. (2022, March 18). Glitch-Resistant Masking Revisited\u2014Or Why Proofs in the Robust Probing Model are Needed. Cryptology ePrint Archive. Report 2018\/490. Available online: https:\/\/ia.cr\/2018\/490."},{"key":"ref_25","unstructured":"Becker, G., Cooper, J., DeMulder, E., Goodwill, G., Jaffe, J., Kenworthy, G., Kouzminov, T., Leiserson, A., Marson, M., and Rohatgi, P. (2003, January 24\u201326). Test vector leakage assessment (TVLA) methodology in practice. Proceedings of the International Cryptographic Module Conference, Gaithersburg, MD, USA."},{"key":"ref_26","doi-asserted-by":"crossref","unstructured":"Standaert, F.X. (2018, January 12\u201314). How (not) to use welch\u2019s t-test in side-channel security evaluations. Proceedings of the International Conference on Smart Card Research and Advanced Applications, Montpellier, France.","DOI":"10.1007\/978-3-030-15462-2_5"},{"key":"ref_27","doi-asserted-by":"crossref","unstructured":"Brier, E., Clavier, C., and Olivier, F. (2004, January 11\u201313). Correlation power analysis with a leakage model. Proceedings of the International Workshop on Cryptographic Hardware and Embedded Systems, Cambridge, MA, USA.","DOI":"10.1007\/978-3-540-28632-5_2"},{"key":"ref_28","doi-asserted-by":"crossref","first-page":"269","DOI":"10.1007\/s00145-010-9084-8","article-title":"Mutual information analysis: A comprehensive study","volume":"24","author":"Batina","year":"2011","journal-title":"J. Cryptol."},{"key":"ref_29","doi-asserted-by":"crossref","first-page":"47","DOI":"10.1007\/s13389-014-0073-y","article-title":"Masking vs. multiparty computation: How large is the gap for AES?","volume":"4","author":"Grosso","year":"2014","journal-title":"J. Cryptogr. Eng."},{"key":"ref_30","doi-asserted-by":"crossref","unstructured":"de Ch\u00e9risey, E., Guilley, S., Rioul, O., and Piantanida, P. (2019). Best information is most successful. Cryptol. Eprint Arch.","DOI":"10.46586\/tches.v2019.i2.49-79"},{"key":"ref_31","doi-asserted-by":"crossref","unstructured":"Masure, L., Dumas, C., and Prouff, E. (2020). A comprehensive study of deep learning for side-channel analysis. IACR Trans. Cryptogr. Hardw. Embed. Syst., 348\u2013375.","DOI":"10.46586\/tches.v2020.i1.348-375"},{"key":"ref_32","doi-asserted-by":"crossref","first-page":"121","DOI":"10.1504\/IJACT.2010.038306","article-title":"Theoretical and practical aspects of mutual information-based side channel analysis","volume":"2","author":"Prouff","year":"2010","journal-title":"Int. J. Appl. Cryptogr."},{"key":"ref_33","doi-asserted-by":"crossref","unstructured":"Cristiani, V., Lecomte, M., and Maurine, P. (2020, January 22\u201325). Leakage Assessment through Neural Estimation of the Mutual Information. Proceedings of the International Conference on Applied Cryptography and Network Security (ACNS), Rome, Italy.","DOI":"10.1007\/978-3-030-61638-0_9"},{"key":"ref_34","doi-asserted-by":"crossref","unstructured":"Wiener, M. (1999, January 15\u201319). Towards Sound Approaches to Counteract Power-Analysis Attacks. Proceedings of the Advances in Cryptology\u20130CRYPTO\u2019 99, Santa Barbara, CA, USA. Lecture Notes in Computer Science.","DOI":"10.1007\/3-540-48405-1"},{"key":"ref_35","first-page":"1207","article-title":"FPGA Benchmarking of Round 2 Candidates in the NIST Lightweight Cryptography Standardization Process: Methodology, Metrics, Tools, and Results","volume":"2020","author":"Mohajerani","year":"2020","journal-title":"IACR Cryptol. ePrint Arch."},{"key":"ref_36","first-page":"1","article-title":"ASIC Benchmarking of Round 2 Candidates in the NIST Lightweight Cryptography Standardization Process","volume":"49","author":"Aagaard","year":"2021","journal-title":"IACR Cryptol. ePrint Arch."},{"key":"ref_37","unstructured":"Computer Security Division Information Technology Laboratory (2017). Lightweight Cryptography, CSRC."},{"key":"ref_38","doi-asserted-by":"crossref","unstructured":"Nasahl, P., Schilling, R., Werner, M., Hoogerbrugge, J., Medwed, M., and Mangard, S. (2021, January 7\u201311). CrypTag: Thwarting physical and logical memory vulnerabilities using cryptographically colored memory. Proceedings of the 2021 ACM Asia Conference on Computer and Communications Security, Virtual Event.","DOI":"10.1145\/3433210.3453684"},{"key":"ref_39","first-page":"500","article-title":"Utility analysis and evaluation method study of side channel information","volume":"30","author":"Yan","year":"2013","journal-title":"J. Electron."},{"key":"ref_40","doi-asserted-by":"crossref","first-page":"2629","DOI":"10.1109\/TVLSI.2019.2926114","article-title":"The Cost of Application-Class Processing: Energy and Performance Analysis of a Linux-Ready 1.7-GHz 64-Bit RISC-V Core in 22-nm FDSOI Technology","volume":"27","author":"Zaruba","year":"2019","journal-title":"IEEE Trans. Very Large Scale Integr. (VLSI) Syst."},{"key":"ref_41","unstructured":"Koene, D. (2021). Implementation and Evaluation of Packed-SIMD Instructions for a RISC-V Processor. [Master\u2019s Thesis, Delft University of Technology]."},{"key":"ref_42","doi-asserted-by":"crossref","unstructured":"Medwed, M., Standaert, F.X., Gro\u00dfsch\u00e4dl, J., and Regazzoni, F. (2010, January 3\u20136). Fresh re-keying: Security against side-channel and fault attacks for low-cost devices. Proceedings of the International Conference on Cryptology in Africa, Stellenbosch, South Africa.","DOI":"10.1007\/978-3-642-12678-9_17"}],"container-title":["Cryptography"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/www.mdpi.com\/2410-387X\/6\/2\/19\/pdf","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2025,10,10]],"date-time":"2025-10-10T22:57:15Z","timestamp":1760137035000},"score":1,"resource":{"primary":{"URL":"https:\/\/www.mdpi.com\/2410-387X\/6\/2\/19"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2022,4,20]]},"references-count":42,"journal-issue":{"issue":"2","published-online":{"date-parts":[[2022,6]]}},"alternative-id":["cryptography6020019"],"URL":"https:\/\/doi.org\/10.3390\/cryptography6020019","relation":{},"ISSN":["2410-387X"],"issn-type":[{"value":"2410-387X","type":"electronic"}],"subject":[],"published":{"date-parts":[[2022,4,20]]}}}