{
  "id": "2023/1861",
  "url": "https://opencryptology.org/2023/1861",
  "original_url": "https://eprint.iacr.org/2023/1861",
  "title": "Automatic Verification of Cryptographic Block Function Implementations with Logical Equivalence Checking",
  "authors": [
    "Li-Chang Lai",
    "Jiaxiang Liu",
    "Xiaomu Shi",
    "Ming-Hsien Tsai",
    "Bow-Yaw Wang",
    "Bo-Yin Yang"
  ],
  "affiliations": null,
  "abstract": "Given a fixed-size block, cryptographic block functions gen-\nerate outputs by a sequence of bitwise operations. Block functions are\nwidely used in the design of hash functions and stream ciphers. Their\ncorrect implementations hence are crucial to computer security. We pro-\npose a method that leverages logic equivalence checking to verify assem-\nbly implementations of cryptographic block functions. Logic equivalence\nchecking is a well-established technique from hardware verification. Using\nour proposed method, we verify two dozen assembly implementations of\nChaCha20, SHA-256, and SHA-3 block functions from OpenSSL and\nXKCP automatically. We also compare the performance of our technique\nwith the conventional SMT-based technique in experiments.",
  "category": "Implementation",
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“Automatic Verification of Cryptographic Block Function Implementations with Logical Equivalence Checking” by Li-Chang Lai, Jiaxiang Liu, Xiaomu Shi, Ming-Hsien Tsai, Bow-Yaw Wang, Bo-Yin Yang, Cryptology ePrint Archive, Paper 2023/1861, https://eprint.iacr.org/2023/1861. Licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/).",
    "retroactive": false,
    "redistribute_verbatim_only": false,
    "non_commercial": false
  },
  "dates": {
    "submitted": "2023-12-04T23:15:47Z",
    "updated": "2023-12-04T23:15:47Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2023/1861.pdf",
    "sha256": "3abfda5479a7ed7b754bef6eae310d8d63736b7a1a51aea615413db15b7266bf",
    "size": 564421,
    "source": "github-mirror",
    "source_date": "2024-01-14T06:13:41Z",
    "maybe_stale": false,
    "newer_on_eprint": null,
    "eprint_size": null,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2023/1861/versions/20240114T061341Z.pdf",
      "captured_at": "2024-01-14T06:13:41Z",
      "label": "copy captured 2024-01-14",
      "source": "github-mirror",
      "source_url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2023/1861.pdf",
      "size": 564421,
      "sha256": "3abfda5479a7ed7b754bef6eae310d8d63736b7a1a51aea615413db15b7266bf",
      "is_default_pdf": true
    }
  ],
  "other_sources": [
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20240423160331id_/https://eprint.iacr.org/2023/1861.pdf",
      "captured_at": "2024-04-23T16:03:31Z",
      "size": 551543
    },
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2023/1861.pdf",
      "captured_at": "2024-01-14T06:13:41Z",
      "size": 564421
    }
  ],
  "bibtex": "@misc{cryptoeprint:2023/1861,\n      author = {Li-Chang Lai and Jiaxiang Liu and Xiaomu Shi and Ming-Hsien Tsai and Bow-Yaw Wang and Bo-Yin Yang},\n      title = {Automatic Verification of Cryptographic Block Function Implementations with Logical Equivalence Checking},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2023/1861},\n      year = {2023},\n      url = {https://eprint.iacr.org/2023/1861}\n}"
}
