{
  "id": "2025/1493",
  "url": "https://opencryptology.org/2025/1493",
  "original_url": "https://eprint.iacr.org/2025/1493",
  "title": "Revisit the Boyar-Peralta Algorithm to Solve the Shortest Linear Program Problem",
  "authors": [
    "Yao Sun",
    "Runhe Yang",
    "Ting Li"
  ],
  "affiliations": null,
  "abstract": "The efficiency of circuit implementations for cryptographic algorithms is crucial for their practical deployment. The implementation cost of the linear layer can be evaluated by the number of XOR operations, typically measured in generalized XOR (g-\\xor) and serial XOR (s-XOR). Finding the minimal sequence of g-XOR operations constitutes the Shortest Linear Program (SLP) problem. Existing approaches generally address this problem through a two-stage framework: generating an initial sequence followed by local optimization, both stages essentially solving the SLP problem. The Boyar-Peralta (BP) algorithm serves as a foundational heuristic for addressing the SLP problem and has been extensively adopted in subsequent research; however, its computational inefficiency presents a significant limitation for practical applications, especially in large-scale problems. \nThis paper proposes a novel implementation framework for the BP algorithm based on linear combinations, significantly enhancing its computational efficiency. We further introduce a new strategy for selecting subsequences during local optimization, replacing the random selection strategy employed in previous works. By analyzing the structural properties of the Advanced Encryption Standard (AES) linear layer matrix and applying our proposed methods, we achieve the first implementation requiring only 89 g-XOR operations, improving upon the previous best result of 91 g-XOR operations reported in prior literature.",
  "category": "Implementation",
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“Revisit the Boyar-Peralta Algorithm to Solve the Shortest Linear Program Problem” by Yao Sun, Runhe Yang, Ting Li, Cryptology ePrint Archive, Paper 2025/1493, https://eprint.iacr.org/2025/1493. Licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/).",
    "retroactive": false,
    "redistribute_verbatim_only": false,
    "non_commercial": false
  },
  "dates": {
    "submitted": "2025-08-19T13:25:26Z",
    "updated": "2025-11-13T01:31:15Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2025/1493.pdf",
    "sha256": "4cb69bffadfbe27c0afb22f603efb8c1fa59b75ae0776d4d8f0859146447371c",
    "size": 318566,
    "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/2025/1493/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/2025/1493.pdf",
      "size": 318566,
      "sha256": "4cb69bffadfbe27c0afb22f603efb8c1fa59b75ae0776d4d8f0859146447371c",
      "is_default_pdf": true
    },
    {
      "url": "https://opencryptology.org/2025/1493/versions/20250901T191047Z.pdf",
      "captured_at": "2025-09-01T19:10:47Z",
      "label": "copy captured 2025-09-01",
      "source": "wayback",
      "source_url": "https://web.archive.org/web/20250901191047id_/https://eprint.iacr.org/2025/1493.pdf",
      "size": 604546,
      "sha256": "ca944ca692dae06ff506717fb52a0619cb1cc80043a02fe265d58e386c2f024d",
      "is_default_pdf": false
    }
  ],
  "other_sources": [
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2025/1493.pdf",
      "captured_at": "2026-04-28T17:20:00Z",
      "size": 318566
    },
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20260420232632id_/https://eprint.iacr.org/2025/1493.pdf",
      "captured_at": "2026-04-20T23:26:32Z",
      "size": 302541
    }
  ],
  "bibtex": "@misc{cryptoeprint:2025/1493,\n      author = {Yao Sun and Runhe Yang and Ting Li},\n      title = {Revisit the Boyar-Peralta Algorithm to Solve the Shortest Linear Program Problem},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2025/1493},\n      year = {2025},\n      url = {https://eprint.iacr.org/2025/1493}\n}"
}
