{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,7,30]],"date-time":"2026-07-30T17:42:54Z","timestamp":1785433374061,"version":"3.56.0"},"reference-count":44,"publisher":"International Association for Cryptologic Research","license":[{"start":{"date-parts":[[2024,1,5]],"date-time":"2024-01-05T00:00:00Z","timestamp":1704412800000},"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,3,5]]},"abstract":"<jats:p>\n                    Efficient polynomial multiplication routines are critical to the performance of lattice-based post-quantum cryptography (PQC). As PQC standards only recently started to emerge, CPUs still lack specialized instructions to accelerate such routines. Meanwhile, deep learning has grown immeasurably in importance. Its workloads call for teraflops-level of processing power for linear algebra operations, mainly matrix multiplication. Computer architects have responded by introducing ISA extensions, coprocessors and special-purpose cores to accelerate such operations. In particular, Apple ships an undocumented matrix-multiplication coprocessor, AMX, in hundreds of millions of mobile phones, tablets and personal computers. Our work repurposes AMX to implement polynomial multiplication and applies it to the NTRU cryptosystem, setting new speed records on the Apple M1 and M3 systems-on-chip (SoCs): polynomial multiplication, key generation, encapsulation and decapsulation are sped up by\n                    <mml:math xmlns:mml=\"http:\/\/www.w3.org\/1998\/Math\/MathML\">\n                      <mml:mrow>\n                        <mml:mn>1.54<\/mml:mn>\n                      <\/mml:mrow>\n                    <\/mml:math>\n                    \u2013\n                    <mml:math xmlns:mml=\"http:\/\/www.w3.org\/1998\/Math\/MathML\">\n                      <mml:mrow>\n                        <mml:mn>3.07<\/mml:mn>\n                        <mml:mi>\u00d7<\/mml:mi>\n                      <\/mml:mrow>\n                    <\/mml:math>\n                    ,\n                    <mml:math xmlns:mml=\"http:\/\/www.w3.org\/1998\/Math\/MathML\">\n                      <mml:mrow>\n                        <mml:mn>1.08<\/mml:mn>\n                      <\/mml:mrow>\n                    <\/mml:math>\n                    \u2013\n                    <mml:math xmlns:mml=\"http:\/\/www.w3.org\/1998\/Math\/MathML\">\n                      <mml:mrow>\n                        <mml:mn>1.33<\/mml:mn>\n                        <mml:mi>\u00d7<\/mml:mi>\n                      <\/mml:mrow>\n                    <\/mml:math>\n                    ,\n                    <mml:math xmlns:mml=\"http:\/\/www.w3.org\/1998\/Math\/MathML\">\n                      <mml:mrow>\n                        <mml:mn>1.11<\/mml:mn>\n                      <\/mml:mrow>\n                    <\/mml:math>\n                    \u2013\n                    <mml:math xmlns:mml=\"http:\/\/www.w3.org\/1998\/Math\/MathML\">\n                      <mml:mrow>\n                        <mml:mn>1.50<\/mml:mn>\n                        <mml:mi>\u00d7<\/mml:mi>\n                      <\/mml:mrow>\n                    <\/mml:math>\n                    and\n                    <mml:math xmlns:mml=\"http:\/\/www.w3.org\/1998\/Math\/MathML\">\n                      <mml:mrow>\n                        <mml:mn>1.20<\/mml:mn>\n                      <\/mml:mrow>\n                    <\/mml:math>\n                    \u2013\n                    <mml:math xmlns:mml=\"http:\/\/www.w3.org\/1998\/Math\/MathML\">\n                      <mml:mrow>\n                        <mml:mn>1.98<\/mml:mn>\n                        <mml:mi>\u00d7<\/mml:mi>\n                      <\/mml:mrow>\n                    <\/mml:math>\n                    , respectively, over the previous state-of-the-art.\n                  <\/jats:p>","DOI":"10.62056\/a3txommol","type":"journal-article","created":{"date-parts":[[2024,4,9]],"date-time":"2024-04-09T15:27:10Z","timestamp":1712676430000},"update-policy":"https:\/\/doi.org\/10.62056\/adfjwm02dj","source":"Crossref","is-referenced-by-count":3,"title":["Fast polynomial multiplication using matrix multiplication accelerators with applications to NTRU on Apple M1\/M3 SoCs"],"prefix":"10.62056","author":[{"ORCID":"https:\/\/orcid.org\/0000-0002-6001-2172","authenticated-orcid":false,"given":"D\u00e9cio","family":"Filho","sequence":"first","affiliation":[{"id":[{"id":"https:\/\/ror.org\/04wffgt70","id-type":"ROR","asserted-by":"publisher"}],"name":"Universidade Estadual de Campinas (UNICAMP)","place":["Campinas, S\u00e3o Paulo, Brazil"],"department":["Instituto de Computa\u00e7\u00e3o"]},{"id":[{"id":"https:\/\/ror.org\/01585b035","id-type":"ROR","asserted-by":"publisher"}],"name":"State University of Londrina","place":["Londrina, Paran\u00e1, Brazil"],"department":["Department of Electrical Engineering"]}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-1911-5348","authenticated-orcid":false,"given":"Guilherme","family":"Brand\u00e3o","sequence":"additional","affiliation":[{"name":"Independent Researcher","place":["Londrina, Paran\u00e1, Brazil"]}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0001-5139-0158","authenticated-orcid":false,"given":"Julio","family":"L\u00f3pez","sequence":"additional","affiliation":[{"id":[{"id":"https:\/\/ror.org\/04wffgt70","id-type":"ROR","asserted-by":"publisher"}],"name":"Universidade Estadual de Campinas (UNICAMP)","place":["Campinas, S\u00e3o Paulo, Brazil"],"department":["Instituto de Computa\u00e7\u00e3o"]}],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"48349","published-online":{"date-parts":[[2024,4,9]]},"reference":[{"key":"ref1:Shor1997","doi-asserted-by":"publisher","first-page":"1484","DOI":"10.1137\/S0097539795293172","article-title":"Polynomial-Time Algorithms for Prime Factorization and\n  Discrete Logarithms on a Quantum Computer","volume":"26","author":"Peter W. Shor","year":"1997","journal-title":"SIAM J. Comput.","ISSN":"https:\/\/id.crossref.org\/issn\/0097-5397","issn-type":"electronic"},{"key":"ref2:Hennessy:TuringLecture","doi-asserted-by":"publisher","first-page":"48","DOI":"10.1145\/3282307","article-title":"A new golden age for computer architecture","volume":"62","author":"John L. Hennessy","year":"2019","journal-title":"Communications of the ACM","ISSN":"https:\/\/id.crossref.org\/issn\/1557-7317","issn-type":"electronic"},{"key":"ref3:Markidis:TensorCore","doi-asserted-by":"publisher","first-page":"522","DOI":"10.1109\/IPDPSW.2018.00091","article-title":"NVIDIA Tensor Core Programmability, Performance &\n  Precision","volume-title":"2018 IEEE International Parallel and Distributed Processing\n  Symposium Workshops (IPDPSW)","author":"S. Markidis","year":"2018"},{"key":"ref4:Moreira:PowerMatrixMath","doi-asserted-by":"publisher","DOI":"10.48550\/arXiv.2104.03142","article-title":"A matrix math facility for Power ISA(TM) processors","author":"Jos\u00e9 E. Moreira","year":"2021"},{"key":"ref5:Intel:ExtensionsFutureFeatures","article-title":"Intel\u00ae Architecture\n  Instruction Set Extensions and Future Features: Programming Reference\n  (Revision 047)","author":"Intel Corporation","year":"2022"},{"key":"ref6:Wilkinson:SME","doi-asserted-by":"publisher","first-page":"135","DOI":"10.1109\/PMBS56514.2022.00018","article-title":"An Initial Evaluation of Arm\u2019s Scalable Matrix\n  Extension","volume-title":"2022 IEEE\/ACM International Workshop on Performance\n  Modeling, Benchmarking and Simulation of High Performance Computer Systems\n  (PMBS)","author":"Finn Wilkinson","year":"2022"},{"key":"ref7:Rodriguez:2020","series-title":"Synthesis Lectures on Computer Architecture","isbn-type":"print","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-031-01769-8","article-title":"Deep Learning Systems: Algorithms, Compilers, and Processors\n  for Large-Scale Production","author":"Andres Rodriguez","year":"2020","ISBN":"https:\/\/id.crossref.org\/isbn\/9783031006418"},{"key":"ref8:HPS98","series-title":"Lecture Notes in Computer Science","isbn-type":"print","doi-asserted-by":"publisher","first-page":"267","DOI":"10.1007\/BFb0054868","article-title":"NTRU: A ring-based public key cryptosystem","volume-title":"Algorithmic Number Theory","volume":"1423","author":"Jeffrey Hoffstein","year":"1998","ISBN":"https:\/\/id.crossref.org\/isbn\/9783540691136"},{"key":"ref9:NISTPQC-R3:NTRU20","article-title":"NTRU","author":"Cong Chen","year":"2020"},{"key":"ref10:NIST:2017","article-title":"Post-Quantum Cryptography Standardization: Call for\n  Proposals Announcement","author":"National Institute of Standards","year":"2017"},{"key":"ref11:NISTPQC-R3:CRYSTALS-KYBER20","article-title":"CRYSTALS-KYBER","author":"Peter Schwabe","year":"2020"},{"key":"ref12:IEEE_Std1363.1","doi-asserted-by":"publisher","DOI":"10.1109\/IEEESTD.2009.4800404","article-title":"IEEE Standard Specification for Public Key Cryptographic\n  Techniques Based on Hard Problems over Lattices","author":"Institute of Electrical","year":"2009"},{"key":"ref13:ASC_X9.98","article-title":"Lattice-Based Polynomial Public Key Establishment\n  Algorithm for the Financial Services Industry.","author":"American National Standards Institute","year":"2017"},{"key":"ref14:NISTPQC-R3:SABER20","article-title":"SABER","author":"Jan-Pieter D'Anvers","year":"2020"},{"key":"ref15:CCS:BCDMNN16","doi-asserted-by":"publisher","first-page":"1006","DOI":"10.1145\/2976749.2978425","article-title":"Frodo: Take off the Ring! Practical, Quantum-Secure Key\n  Exchange from LWE","volume-title":"ACM CCS 2016: 23rd Conference on Computer and Communications\n  Security","author":"Joppe W. Bos","year":"2016"},{"key":"ref16:NISTPQC-R3:FrodoKEM20","article-title":"FrodoKEM","author":"Michael Naehrig","year":"2020"},{"key":"ref17:BSI:MigrationPQC","article-title":"Migration to Post Quantum Cryptography: Recommendations for\n  action by the BSI","author":"Bundesamt f\u00fcr Sicherheit in der Informationstechnik","year":"2021"},{"key":"ref18:ISO:FrodoKEM","article-title":"FrodoKEM: Learning With Errors Key Encapsulation\n  Preliminary Draft Standard","author":"International Organization for Standardization","year":"2023"},{"key":"ref19:Accelerate:2023","article-title":"Accelerate: Make large-scale mathematical computations and\n  image calculations, optimized for high performance and low energy\n  consumption","author":"Apple Inc.","year":"2023"},{"key":"ref20:BLAS:1979","doi-asserted-by":"publisher","first-page":"308","DOI":"10.1145\/355841.355847","article-title":"Basic Linear Algebra Subprograms for Fortran Usage","volume":"5","author":"C. L. Lawson","year":"1979","journal-title":"ACM Trans. Math. Softw.","ISSN":"https:\/\/id.crossref.org\/issn\/0098-3500","issn-type":"electronic"},{"key":"ref21:Johnson:AMX","article-title":"IDA (disassembler) and Hex-Rays (decompiler) plugin for\n  Apple AMX","author":"Dougall Johnson","year":"2022"},{"key":"ref22:Handley:AppleCPUs","article-title":"AArch64-Explore: Exploration of Apple CPUs \u2013 Volume\n  3: SoC","author":"Maynard Handley","year":"2023"},{"key":"ref23:Cawley:AMX","article-title":"Apple AMX Instruction Set","author":"Peter Cawley","year":"2024"},{"key":"ref24:Jouppi:TPU","series-title":"ISCA '17","isbn-type":"print","doi-asserted-by":"publisher","first-page":"1","DOI":"10.1145\/3079856.3080246","article-title":"In-Datacenter Performance Analysis of a Tensor Processing\n  Unit","volume-title":"Proceedings of the 44th Annual International Symposium on\n  Computer Architecture","author":"Norman P. Jouppi","year":"2017","ISBN":"https:\/\/id.crossref.org\/isbn\/9781450348928"},{"key":"ref25:ESORICS:WZFWGWLD22","series-title":"Lecture Notes in Computer Science","doi-asserted-by":"publisher","first-page":"514","DOI":"10.1007\/978-3-031-17143-7_25","article-title":"A Novel High-Performance Implementation of\n  CRYSTALS-Kyber with AI Accelerator","volume-title":"ESORICS\u00a02022: 27th European Symposium on Research in\n  Computer Security, Part\u00a0III","volume":"13556","author":"Lipeng Wan","year":"2022"},{"key":"ref26:Lee:DPCrypto","doi-asserted-by":"publisher","first-page":"3591","DOI":"10.1109\/TCSI.2022.3176966","article-title":"DPCrypto: Acceleration of Post-Quantum Cryptography Using\n  Dot-Product Instructions on GPUs","volume":"69","author":"Wai-Kong Lee","year":"2022","journal-title":"IEEE Transactions on Circuits and Systems I: Regular\n  Papers"},{"key":"ref27:Lee:TensorCrypto","doi-asserted-by":"publisher","first-page":"20616","DOI":"10.1109\/ACCESS.2022.3152217","article-title":"TensorCrypto: High Throughput Acceleration of\n  Lattice-Based Cryptography Using Tensor Core on GPU","volume":"10","author":"Wai-Kong Lee","year":"2022","journal-title":"IEEE Access"},{"key":"ref28:PQCRYPTO:NguGaj21","doi-asserted-by":"publisher","first-page":"234","DOI":"10.1007\/978-3-030-81293-5_13","article-title":"Fast NEON-Based Multiplication for Lattice-Based NIST\n  Post-quantum Cryptography Finalists","volume-title":"Post-Quantum Cryptography - 12th International Workshop,\n  PQCrypto 2021","author":"Duc Tri Nguyen","year":"2021"},{"key":"ref29:Chen:2023","article-title":"Algorithmic Views of Vectorized Polynomial Multipliers \u2013\n  NTRU","author":"Han-Ting Chen","year":"2023"},{"key":"ref30:NISTPQC-R2:NTRU19","article-title":"NTRUEncrypt","author":"Zhenfei Zhang","year":"2019"},{"key":"ref31:NISTPQC-R1:NTRU-HRSS-KEM17","article-title":"NTRU-HRSS-KEM","author":"John M. Schanck","year":"2017"},{"key":"ref32:NTRUPreprint","article-title":"NTRU: a new high speed public key cryptosystem","author":"Jeffrey Hoffstein","year":"1996"},{"key":"ref33:TCC:HofHovKil17","series-title":"Lecture Notes in Computer Science","doi-asserted-by":"publisher","first-page":"341","DOI":"10.1007\/978-3-319-70500-2_12","article-title":"A Modular Analysis of the Fujisaki-Okamoto\n  Transformation","volume-title":"TCC\u00a02017: 15th Theory of Cryptography Conference, Part\u00a0I","volume":"10677","author":"Dennis Hofheinz","year":"2017"},{"key":"ref34:CHES:HRSS17","series-title":"Lecture Notes in Computer Science","doi-asserted-by":"publisher","first-page":"232","DOI":"10.1007\/978-3-319-66787-4_12","article-title":"High-Speed Key Encapsulation from NTRU","volume-title":"Cryptographic Hardware and Embedded Systems \u2013 CHES\u00a02017","volume":"10529","author":"Andreas H\u00fclsing","year":"2017"},{"key":"ref35:Apple:AMX-patent","article-title":"Outer Product Engine","author":"Ali Sazegari","year":"2016"},{"key":"ref36:Johnson:M1","article-title":"Apple M1 Microarchitecture Research","author":"Dougall Johnson","year":"2022"},{"key":"ref37:FEAT-DIT","article-title":"How is instruction timing affected by the FEAT_DIT\n  architectural feature?","author":"ARM Limited"},{"key":"ref38:DOIT-instructions:2023","article-title":"Data Operand Independent Timing Instructions","author":"Intel Corporation","year":"2023"},{"key":"ref39:DOIT:2023","article-title":"Data Operand Independent Timing Instruction Set Architecture\n  (ISA) Guidance","author":"Intel Corporation","year":"2023"},{"key":"ref40:gofetch","article-title":"GoFetch: Breaking Constant-Time Cryptographic\n  Implementations Using Data Memory-Dependent Prefetchers","volume-title":"USENIX Security","author":"Boru Chen","year":"2024"},{"key":"ref41:Altman1995","doi-asserted-by":"publisher","first-page":"485","DOI":"10.1136\/bmj.311.7003.485","article-title":"Statistics notes: Absence of evidence is not evidence of\n  absence","volume":"311","author":"D. G Altman","year":"1995","journal-title":"BMJ","ISSN":"https:\/\/id.crossref.org\/issn\/1468-5833","issn-type":"electronic"},{"key":"ref42:Lakens2017","doi-asserted-by":"publisher","first-page":"355","DOI":"10.1177\/1948550617697177","article-title":"Equivalence Tests: A Practical Primer for $t$ Tests,\n  Correlations, and Meta-Analyses","volume":"8","author":"Dani\u00ebl Lakens","year":"2017","journal-title":"Social Psychological and Personality Science","ISSN":"https:\/\/id.crossref.org\/issn\/1948-5514","issn-type":"electronic"},{"key":"ref43:Lumley2002","doi-asserted-by":"publisher","first-page":"151","DOI":"10.1146\/annurev.publhealth.23.100901.140546","article-title":"The Importance of the Normality Assumption in Large Public\n  Health Data Sets","volume":"23","author":"Thomas Lumley","year":"2002","journal-title":"Annual Review of Public Health","ISSN":"https:\/\/id.crossref.org\/issn\/1545-2093","issn-type":"electronic"},{"key":"ref44:NISTPQC:CRYSTALS-DILITHIUM22","article-title":"CRYSTALS-DILITHIUM","author":"Vadim Lyubashevsky","year":"2022"}],"container-title":["IACR Communications in Cryptology"],"original-title":[],"language":"en","deposited":{"date-parts":[[2024,12,10]],"date-time":"2024-12-10T16:25:19Z","timestamp":1733847919000},"score":1,"resource":{"primary":{"URL":"https:\/\/cic.iacr.org\/p\/1\/1\/9"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2024,4,9]]},"references-count":44,"URL":"https:\/\/doi.org\/10.62056\/a3txommol","archive":["Internet Archive","Internet Archive"],"relation":{},"ISSN":["3006-5496"],"issn-type":[{"value":"3006-5496","type":"electronic"}],"subject":[],"published":{"date-parts":[[2024,4,9]]},"assertion":[{"value":"2024-01-05","order":0,"name":"received","label":"Received","group":{"name":"publication_history","label":"Publication History"}},{"value":"2024-03-05","order":1,"name":"accepted","label":"Accepted","group":{"name":"publication_history","label":"Publication History"}}],"article-number":"cc1-1-32"}}