# zbMATH — the first resource for mathematics

Proving correctness and security of two-party computation implemented in Java in presence of a semi-honest sender. (English) Zbl 1436.94042
Gritzalis, Dimitris (ed.) et al., Cryptology and network security. 13th international conference, CANS 2014, Heraklion, Crete, Greece, October 22–24, 2014. Proceedings. Berlin: Springer. Lect. Notes Comput. Sci. 8813, 175-190 (2014).
Summary: 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.
The 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.
To prove the security of the protocol for an honest-but-curious sender and an honest receiver, we use the framework presented by Küsters 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.
For the entire collection see [Zbl 1298.68029].
##### MSC:
 94A60 Cryptography
##### Software:
KRAKATOA; SCiFI; Spec#; VeriFast
Full Text: