{
  "id": "2014/618",
  "url": "https://opencryptology.org/2014/618",
  "original_url": "https://eprint.iacr.org/2014/618",
  "title": "Proving Correctness and Security of Two-Party Computation Implemented in Java in Presence of a Semi-Honest Sender",
  "authors": [
    "Florian Böhl",
    "Simon Greiner",
    "Patrik Scheidecker"
  ],
  "affiliations": null,
  "abstract": "We provide a proof of correctness and security of a two-party-computation protocol based on garbled circuits and oblivious transfer in the presence of a semi-honest sender. To achieve this we are the first to combine a machine-assisted proof of correctness with advanced cryptographic primitives to prove security properties of Java code. The machine-assisted part of the proof is conducted with KeY, an interactive theorem prover.\n\nThe proof includes a correctness result for the construction and evaluation of garbled circuits. This is particularly interesting since checking such an implementation by hand would be very tedious and error-prone. Although we stick to the secure two-party-computation of an n-bit AND in this paper, our approach is modular, and we explain how our techniques can be applied to other functions.\n\nTo prove the security of the protocol for an honest-but-curious sender and an honest receiver, we use the framework presented by Kuesters et al. for the cryptographic verification of Java programs. As part of our work, we add oblivious transfer to the set of cryptographic primitives supported by the framework. This is a general contribution beyond our results for concrete Java code.",
  "category": "Implementation",
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“Proving Correctness and Security of Two-Party Computation Implemented in Java in Presence of a Semi-Honest Sender” by Florian Böhl, Simon Greiner, Patrik Scheidecker, Cryptology ePrint Archive, Paper 2014/618, https://eprint.iacr.org/2014/618. Licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/).",
    "retroactive": true,
    "redistribute_verbatim_only": false,
    "non_commercial": false
  },
  "dates": {
    "submitted": "2014-08-13T23:48:46Z",
    "updated": "2014-08-13T23:48:46Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2014/618.pdf",
    "sha256": "1eb647a3b529dd825a32bfd0d50e6f7f0666cd0ab4d7f624a9ad376bbe16fcb3",
    "size": 401512,
    "source": "github-mirror",
    "source_date": "2019-02-25T16:55:32Z",
    "maybe_stale": false,
    "newer_on_eprint": null,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2014/618/versions/20190225T165532Z.pdf",
      "captured_at": "2019-02-25T16:55:32Z",
      "label": "copy captured 2019-02-25",
      "source": "github-mirror",
      "source_url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2014/618.pdf",
      "size": 401512,
      "sha256": "1eb647a3b529dd825a32bfd0d50e6f7f0666cd0ab4d7f624a9ad376bbe16fcb3",
      "is_default_pdf": true
    }
  ],
  "other_sources": [
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20260102020704id_/https://eprint.iacr.org/2014/618.pdf",
      "captured_at": "2026-01-02T02:07:04Z",
      "size": 402430
    },
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2014/618.pdf",
      "captured_at": "2019-02-25T16:55:32Z",
      "size": 401512
    }
  ],
  "bibtex": "@misc{cryptoeprint:2014/618,\n      author = {Florian Böhl and Simon Greiner and Patrik Scheidecker},\n      title = {Proving Correctness and Security of Two-Party Computation Implemented in Java in Presence of a Semi-Honest Sender},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2014/618},\n      year = {2014},\n      url = {https://eprint.iacr.org/2014/618}\n}"
}
