{
  "id": "2023/622",
  "url": "https://opencryptology.org/2023/622",
  "original_url": "https://eprint.iacr.org/2023/622",
  "title": "CLAASP: a Cryptographic Library for the Automated Analysis of Symmetric Primitives",
  "authors": [
    "Emanuele Bellini",
    "David Gerault",
    "Juan Grados",
    "Yun Ju Huang",
    "Mohamed Rachidi",
    "Sharwan Tiwari",
    "Rusydi H. Makarim"
  ],
  "affiliations": null,
  "abstract": "This paper introduces CLAASP, a Cryptographic Library for the Automated Analysis of Symmetric Primitives. The library is designed to be modular, extendable, easy to use, generic, efficient and fully automated. It is an extensive toolbox gathering state-of-the-art techniques aimed at simplifying the manual tasks of symmetric primitive designers and analysts. CLAASP is built on top of Sagemath and is open-source under the GPLv3 license. The central input of CLAASP is the description of a cryptographic primitive as a list of connected components in the form of a directed acyclic graph. From this representation, the library can automatically: (1) generate the Python or C code of the primitive evaluation function, (2) execute a wide range of statistical and avalanche tests on the primitive, (3) generate SAT, SMT, CP and MILP models to search, for example, differential and linear trails, (4) measure algebraic properties of the primitive, (5) test neural-based distinguishers. In this work, we also present a comprehensive survey and comparison of other software libraries aiming at similar goals as CLAASP.",
  "category": "Secret-key cryptography",
  "license": {
    "code": "CC0",
    "url": "https://creativecommons.org/publicdomain/zero/1.0/",
    "label": "CC0 1.0",
    "attribution": "“CLAASP: a Cryptographic Library for the Automated Analysis of Symmetric Primitives” by Emanuele Bellini, David Gerault, Juan Grados, Yun Ju Huang, Mohamed Rachidi, Sharwan Tiwari, Rusydi H. Makarim, Cryptology ePrint Archive, Paper 2023/622, https://eprint.iacr.org/2023/622. Licensed under CC0 1.0 (https://creativecommons.org/publicdomain/zero/1.0/).",
    "retroactive": false,
    "redistribute_verbatim_only": false,
    "non_commercial": false
  },
  "dates": {
    "submitted": "2023-05-01T16:12:34Z",
    "updated": "2023-06-01T10:00:42Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2023/622.pdf",
    "sha256": "fcd8b2beef70e175619f8f0099ac7589fef6e04be1b413c079de4f075c87c9c6",
    "size": 1943726,
    "source": "github-mirror",
    "source_date": "2024-01-14T06:13:41Z",
    "maybe_stale": false,
    "newer_on_eprint": null,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2023/622/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/622.pdf",
      "size": 1943726,
      "sha256": "fcd8b2beef70e175619f8f0099ac7589fef6e04be1b413c079de4f075c87c9c6",
      "is_default_pdf": true
    },
    {
      "url": "https://opencryptology.org/2023/622/versions/20230502T051418Z.pdf",
      "captured_at": "2023-05-02T05:14:18Z",
      "label": "copy captured 2023-05-02",
      "source": "wayback",
      "source_url": "https://web.archive.org/web/20230502051418id_/https://eprint.iacr.org/2023/622.pdf",
      "size": 2113792,
      "sha256": "97aa1a6b09df982ddb31099254757211a4149cd86d7e0db59d58a50019edbf32",
      "is_default_pdf": false
    }
  ],
  "other_sources": [
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20260906104544id_/https://eprint.iacr.org/2023/622.pdf",
      "captured_at": "2026-09-06T10:45:44Z",
      "size": 1849903
    },
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2023/622.pdf",
      "captured_at": "2024-01-14T06:13:41Z",
      "size": 1943726
    }
  ],
  "bibtex": "@misc{cryptoeprint:2023/622,\n      author = {Emanuele Bellini and David Gerault and Juan Grados and Yun Ju Huang and Mohamed Rachidi and Sharwan Tiwari and Rusydi H. Makarim},\n      title = {CLAASP: a Cryptographic Library for the Automated Analysis of Symmetric Primitives},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2023/622},\n      year = {2023},\n      url = {https://eprint.iacr.org/2023/622}\n}"
}
