{
  "id": "2024/2048",
  "url": "https://opencryptology.org/2024/2048",
  "original_url": "https://eprint.iacr.org/2024/2048",
  "title": "TinyLabels: How to Compress Garbled Circuit Input Labels, Efficiently",
  "authors": [
    "Marian Dietz",
    "Hanjun Li",
    "Huijia Lin"
  ],
  "affiliations": null,
  "abstract": "Garbled circuits are a foundational primitive in both theory and practice of cryptography. Given $(\\hat{C}, K[x])$, where $\\hat{C}$ is the garbling of a circuit C and $K[x] = \\{K[i, x_i]\\}$ are the input labels for an input $x$, anyone can recover $C(x)$, but nothing else about the input $x$. Most research efforts focus on minimizing the size of the garbled circuit $\\hat{C}$. In contrast, the work by Applebaum, Ishai, Kushilevitz, and Waters (CRYPTO' 13) initiated the study of minimizing the cost for transferring the input labels $K[x]$. Later improved in a follow-up by Applebaum et al. (STOC' 23), the state-of-the-art techniques allow compressing the input labels to the optimal rate of $1 + o(1)$. That is, each input label can be transferred by essentially sending 1 bit. However, existing solutions are computationally expensive, requiring large numbers of public-key operations (such as RSA exponentiation).\n\nIn this work, we present an efficient input label compression technique based on Ring-LWE. We achieve the same optimal rate of $1 + o(1)$, by making use of additional communication in an offline stage (before the input $x$ becomes known), a paradigm that has already been explored in prior works. A novel feature of the offline communication in our scheme is that the information sent is either reusable or compressible using a random oracle, leading to small amortized offline cost $o(|x|)$. We further demonstrate concrete efficiency through an implementation whose online latency out-performs the naive baseline (which sends all of $K[x]$ in the online phase) in a realistic network with a bandwidth of up to 45Mbps. This break-even point could be pushed even further by leveraging the large potential for parallelization of computation.\n\nFinally, we apply our techniques to construct maliciously-secure two-party computation protocols with succinct online communication: The online phase starts once the circuit C becomes known, and requires exchanging only $poly(\\lambda)$ bits (independent of $|C|$). After inputs $x_A$, $x_B$ arrive, an additional $|x_A| + |x_B | + poly(\\lambda)$ bits need to be sent.",
  "category": "Foundations",
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“TinyLabels: How to Compress Garbled Circuit Input Labels, Efficiently” by Marian Dietz, Hanjun Li, Huijia Lin, Cryptology ePrint Archive, Paper 2024/2048, https://eprint.iacr.org/2024/2048. 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-12-19T00:04:03Z",
    "updated": "2025-03-12T09:28:45Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2024/2048.pdf",
    "sha256": "53c388d45df215d177a7ac6dadd19e60f9ce9f6aaca212763dff20e151f532f0",
    "size": 1064054,
    "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/2048/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/2048.pdf",
      "size": 1064054,
      "sha256": "53c388d45df215d177a7ac6dadd19e60f9ce9f6aaca212763dff20e151f532f0",
      "is_default_pdf": true
    },
    {
      "url": "https://opencryptology.org/2024/2048/versions/20241219T170642Z.pdf",
      "captured_at": "2024-12-19T17:06:42Z",
      "label": "copy captured 2024-12-19",
      "source": "wayback",
      "source_url": "https://web.archive.org/web/20241219170642id_/https://eprint.iacr.org/2024/2048.pdf",
      "size": 1072445,
      "sha256": "3cfe5b1afbc2979349ba49da5a3f67d993667945464e3db75fda6f750ab8c094",
      "is_default_pdf": false
    }
  ],
  "other_sources": [
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2024/2048.pdf",
      "captured_at": "2026-04-28T17:20:00Z",
      "size": 1064054
    },
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20260119061044id_/https://eprint.iacr.org/2024/2048.pdf",
      "captured_at": "2026-01-19T06:10:44Z",
      "size": 1041329
    }
  ],
  "bibtex": "@misc{cryptoeprint:2024/2048,\n      author = {Marian Dietz and Hanjun Li and Huijia Lin},\n      title = {TinyLabels: How to Compress Garbled Circuit Input Labels, Efficiently},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2024/2048},\n      year = {2024},\n      url = {https://eprint.iacr.org/2024/2048}\n}"
}
