{
  "id": "2024/1243",
  "url": "https://opencryptology.org/2024/1243",
  "original_url": "https://eprint.iacr.org/2024/1243",
  "title": "Tailorable codes for lattice-based KEMs with applications to compact ML-KEM instantiations",
  "authors": [
    "Thales B. Paiva",
    "Marcos A. Simplicio Jr",
    "Syed Mahbub Hafiz",
    "Bahattin Yildiz",
    "Eduardo L. Cominetti",
    "Henrique S. Ogawa"
  ],
  "affiliations": null,
  "abstract": "Compared to elliptic curve cryptography, a primary drawback of lattice-based 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 public-key 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 ML-KEM. 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.",
  "category": "Public-key cryptography",
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“Tailorable codes for lattice-based KEMs with applications to compact ML-KEM instantiations” by Thales B. Paiva, Marcos A. Simplicio Jr, Syed Mahbub Hafiz, Bahattin Yildiz, Eduardo L. Cominetti, Henrique S. Ogawa, Cryptology ePrint Archive, Paper 2024/1243, https://eprint.iacr.org/2024/1243. Licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/).",
    "retroactive": false,
    "redistribute_verbatim_only": false,
    "non_commercial": false
  },
  "dates": {
    "submitted": "2024-08-06T04:23:31Z",
    "updated": "2025-04-23T05:46:17Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2024/1243.pdf",
    "sha256": "8bc0dde24ed0dd5ddb614051b6e8aab3c327034a6fb24f1e38d89a62c90b5395",
    "size": 2705459,
    "source": "github-mirror",
    "source_date": "2026-04-28T17:20:00Z",
    "maybe_stale": false,
    "newer_on_eprint": null,
    "eprint_size": null,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2024/1243/versions/20260428T172000Z.pdf",
      "captured_at": "2026-04-28T17:20:00Z",
      "label": "copy captured 2026-04-28",
      "source": "github-mirror",
      "source_url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2024/1243.pdf",
      "size": 2705459,
      "sha256": "8bc0dde24ed0dd5ddb614051b6e8aab3c327034a6fb24f1e38d89a62c90b5395",
      "is_default_pdf": true
    },
    {
      "url": "https://opencryptology.org/2024/1243/versions/20240807T130723Z.pdf",
      "captured_at": "2024-08-07T13:07:23Z",
      "label": "copy captured 2024-08-07",
      "source": "wayback",
      "source_url": "https://web.archive.org/web/20240807130723id_/https://eprint.iacr.org/2024/1243.pdf",
      "size": 1425531,
      "sha256": "0ca189afb5874d65d2aa8782eaa8b1f9a5d22f16046ab594d6bb2d3adf6c1885",
      "is_default_pdf": false
    }
  ],
  "other_sources": [
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2024/1243.pdf",
      "captured_at": "2026-04-28T17:20:00Z",
      "size": 2705459
    },
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20250813182807id_/https://eprint.iacr.org/2024/1243.pdf",
      "captured_at": "2025-08-13T18:28:07Z",
      "size": 2689769
    }
  ],
  "bibtex": "@misc{cryptoeprint:2024/1243,\n      author = {Thales B. Paiva and Marcos A. Simplicio Jr and Syed Mahbub Hafiz and Bahattin Yildiz and Eduardo L. Cominetti and Henrique S. Ogawa},\n      title = {Tailorable codes for lattice-based KEMs with applications to compact ML-KEM instantiations},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2024/1243},\n      year = {2024},\n      url = {https://eprint.iacr.org/2024/1243}\n}"
}
