{
  "id": "2009/322",
  "url": "https://opencryptology.org/2009/322",
  "original_url": "https://eprint.iacr.org/2009/322",
  "title": "Certifying Assembly with Formal Cryptographic Proofs: the Case of BBS",
  "authors": [
    "Reynald Affeldt",
    "David Nowak",
    "Kiyoshi Yamada"
  ],
  "affiliations": null,
  "abstract": "With today's dissemination of embedded systems manipulating sensitive data, it has become important to equip low-level programs with strong security guarantees. Unfortunately, security proofs as done by cryptographers are about algorithms, not about concrete implementations running on hardware. In this paper, we show how to extend security proofs to guarantee the security of assembly implementations of cryptographic primitives. Our approach is based on a framework in the Coq proof-assistant that integrates correctness proofs of assembly programs with game-playing proofs of provable security. We demonstrate the usability of our approach using the Blum-Blum-Shub (BBS) pseudorandom number generator, for which a MIPS implementation for smartcards is shown cryptographically secure.",
  "category": "Foundations",
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“Certifying Assembly with Formal Cryptographic Proofs: the Case of BBS” by Reynald Affeldt, David Nowak, Kiyoshi Yamada, Cryptology ePrint Archive, Paper 2009/322, https://eprint.iacr.org/2009/322. Licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/).",
    "retroactive": true,
    "redistribute_verbatim_only": false,
    "non_commercial": false
  },
  "dates": {
    "submitted": "2009-07-01T10:14:18Z",
    "updated": "2010-05-13T10:21:19Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2009/322.pdf",
    "sha256": "dbd4d525de5fd943036d65fdf5cb2985ccab0fe4a7d9a410cd28e0e7154fb273",
    "size": 351602,
    "source": "github-mirror",
    "source_date": "2019-02-25T16:20:12Z",
    "maybe_stale": false,
    "newer_on_eprint": null,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2009/322/versions/20190225T162012Z.pdf",
      "captured_at": "2019-02-25T16:20:12Z",
      "label": "copy captured 2019-02-25",
      "source": "github-mirror",
      "source_url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2009/322.pdf",
      "size": 351602,
      "sha256": "dbd4d525de5fd943036d65fdf5cb2985ccab0fe4a7d9a410cd28e0e7154fb273",
      "is_default_pdf": true
    }
  ],
  "other_sources": [
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20260408221344id_/https://eprint.iacr.org/2009/322.pdf",
      "captured_at": "2026-04-08T22:13:44Z",
      "size": 309260
    },
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2009/322.pdf",
      "captured_at": "2019-02-25T16:20:12Z",
      "size": 351602
    }
  ],
  "bibtex": "@misc{cryptoeprint:2009/322,\n      author = {Reynald Affeldt and David Nowak and Kiyoshi Yamada},\n      title = {Certifying Assembly with Formal Cryptographic Proofs: the Case of BBS},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2009/322},\n      year = {2009},\n      url = {https://eprint.iacr.org/2009/322}\n}"
}
