International Association for Cryptologic Research

International Association
for Cryptologic Research

Transactions on Cryptographic Hardware and Embedded Systems 2025

Tailorable codes for lattice-based KEMs with applications to compact ML-KEM instantiations


Thales B. Paiva
Future Security Team, LG Electronics, Santa Clara, USA

Marcos A. Simplicio Jr
Future Security Team, LG Electronics, Santa Clara, USA; Universidade de São Paulo, São Paulo, Brazil

Syed Mahbub Hafiz
Future Security Team, LG Electronics, Santa Clara, USA

Bahattin Yildiz
Future Security Team, LG Electronics, Santa Clara, USA

Eduardo L. Cominetti
Future Security Team, LG Electronics, Santa Clara, USA

Henrique S. Ogawa
Future Security Team, LG Electronics, Santa Clara, USA


Keywords: PQC, ML-KEM, Error correction codes, Ciphertext compression


Abstract

Compared to elliptic curve cryptography, a primary drawback of latticebased schemes is the larger size of their public keys and ciphertexts. A common procedure for compressing these objects consists essentially of dropping some of their least significant bits. Albeit effective for compression, there is a limit to the number of bits to be dropped before we get a noticeable decryption failure rate (DFR), which is a security concern. To address this issue, this paper presents a family of error-correction codes that, by allowing an increased number of dropped bits while preserving a negligible DFR, can be used for both ciphertext and publickey compression in modern lattice-based schemes. To showcase the impact and practicality of our proposal, we use the highly optimized ML-KEM, a post-quantum lattice-based scheme recently standardized by NIST. We provide detailed procedures for tailoring our codes to ML-KEM’s specific noise distributions, and show how to analyze the DFR without independence assumptions on the noise coefficients. Among our results, we achieve between 4% and 8% ciphertext compression for MLKEM. Alternatively, we obtain 8% shorter public keys compared to the current standard. We also present isochronous implementations of the decoding procedure, achieving negligible performance impact in the full ML-KEM decapsulation even when considering optimized implementations for AVX2, Cortex-M4, and Cortex-A53.

Publication

IACR Transactions on Cryptographic Hardware and Embedded Systems, Volume 2025, Issue 3

Paper

Artifact

Artifact number
tches/2025/a23

Artifact published
September 1, 2025

Badge
IACR CHES Artifacts Functional

README

ZIP (4126933 bytes)  

View on Github

License
This work is licensed under the Apache License, Version 2.0.

Note that license information is supplied by the authors and has not been confirmed by the IACR.


BibTeX How to cite

Thales B. Paiva, Marcos A. Simplicio Jr, Syed Mahbub Hafiz, Bahattin Yildiz, Eduardo L. Cominetti, Henrique S. Ogawa. (2025). Tailorable codes for lattice-based KEMs with applications to compact ML-KEM instantiations. IACR Transactions on Cryptographic Hardware and Embedded Systems, 2025(3), 139–163. https://doi.org/10.46586/tches.v2025.i3.139-163. Artifact at https://artifacts.iacr.org/tches/2025/a23.