Towards ML-KEM & ML-DSA on OpenTitan
Authors:
- 12 May 2025
- conference paper
- Published by Institute of Electrical and Electronics Engineers (IEEE)
- p. 1-19
Abstract
This paper presents extensions to the OpenTitan hardware root of trust that aim at enabling high-performance lattice-based cryptography. We start by carefully optimizing ML-KEM and ML-DSA-the two algorithms primarily rec-ommended and standardized by NIST-in software targeting the OpenTitan Big Number (OTBN) accelerator. Based on profiling results of these implementations, we propose tightly integrated extensions to OTBN, specifically an interface from OTBN to OpenTitan's Keccak accelerator (KMAC core) and extensions to the OTBN ISA to support operations on 2S6-bit vectors. We implement these extensions in hardware and show that we achieve a speedup by a factor between 6 and 9 for different operations and parameter sets of ML-KEM and ML-DSA compared to our baseline implementation on unmodified OTBN. This speedup is achieved with an increase in cell count of less than 17% in OTBN, which corresponds to an increase of less than 3 % for the full Earl Grey OpenTitan core.Keywords
Funding Information
- DFG, German Research Foundation (390781972)
- European Commission (805031)
This publication has 30 references indexed in Scilit:
- Acceleration of Core Post-quantum Cryptography Primitive on Open-Source Silicon Platform Through Hardware/Software Co-design2024
- The Impact of Hash Primitives and Communication Overhead for Hardware-Accelerated SPHINCS+2024
- A RISC-V Post Quantum Cryptography Instruction Set Extension for Number Theoretic Transform to Speed-Up CRYSTALS AlgorithmsIEEE Access, 2021
- Speeding up R-LWE Post-quantum Key Exchange2016
- ASAP7: A 7-nm finFET predictive process design kitMicroelectronics Journal, 2016
- Fiat-Shamir with Aborts: Applications to Lattice and Factoring-Based Signatures2009
- Secure Integration of Asymmetric and Symmetric Encryption Schemes1999
- Elliptic curve cryptosystemsMathematics of Computation, 1987
- Modular multiplication without trial divisionMathematics of Computation, 1985
- An algorithm for the machine calculation of complex Fourier seriesMathematics of Computation, 1965