TY - GEN
T1 - EasyUC
T2 - 32nd IEEE Computer Security Foundations Symposium, CSF 2019
AU - Canetti, Ran
AU - Stoughton, Alley
AU - Varia, Mayank
N1 - Publisher Copyright:
© 2019 IEEE.
PY - 2019/6
Y1 - 2019/6
N2 - We present a methodology for using the EasyCrypt proof assistant (originally designed for mechanizing the generation of proofs of game-based security of cryptographic schemes and protocols) to mechanize proofs of security of cryptographic protocols within the universally composable (UC) security framework. This allows, for the first time, the mechanization and formal verification of the entire sequence of steps needed for proving simulation-based security in a modular way: ∗ Specifying a protocol and the desired ideal functionality; ∗ Constructing a simulator and demonstrating its validity, via reduction to hard computational problems; ∗ Invoking the universal composition operation and demonstrating that it indeed preserves security. We demonstrate our methodology on a simple example: stating and proving the security of secure message communication via a one-time pad, where the key comes from a Diffie-Hellman key-exchange, assuming ideally authenticated communication. We first put together EasyCrypt-verified proofs that: (a) the Diffie-Hellman protocol UC-realizes an ideal key-exchange functionality, assuming hardness of the Decisional Diffie-Hellman problem, and (b) one-time-pad encryption, with a key obtained using ideal key-exchange, UC-realizes an ideal secure-communication functionality. We then mechanically combine the two proofs into an EasyCrypt-verified proof that the composed protocol realizes the same ideal secure-communication functionality. Although formulating a methodology that is both sound and workable has proven to be a complex task, we are hopeful that it will prove to be the basis for mechanized UC security analyses for significantly more complex protocols and tasks.
AB - We present a methodology for using the EasyCrypt proof assistant (originally designed for mechanizing the generation of proofs of game-based security of cryptographic schemes and protocols) to mechanize proofs of security of cryptographic protocols within the universally composable (UC) security framework. This allows, for the first time, the mechanization and formal verification of the entire sequence of steps needed for proving simulation-based security in a modular way: ∗ Specifying a protocol and the desired ideal functionality; ∗ Constructing a simulator and demonstrating its validity, via reduction to hard computational problems; ∗ Invoking the universal composition operation and demonstrating that it indeed preserves security. We demonstrate our methodology on a simple example: stating and proving the security of secure message communication via a one-time pad, where the key comes from a Diffie-Hellman key-exchange, assuming ideally authenticated communication. We first put together EasyCrypt-verified proofs that: (a) the Diffie-Hellman protocol UC-realizes an ideal key-exchange functionality, assuming hardness of the Decisional Diffie-Hellman problem, and (b) one-time-pad encryption, with a key obtained using ideal key-exchange, UC-realizes an ideal secure-communication functionality. We then mechanically combine the two proofs into an EasyCrypt-verified proof that the composed protocol realizes the same ideal secure-communication functionality. Although formulating a methodology that is both sound and workable has proven to be a complex task, we are hopeful that it will prove to be the basis for mechanized UC security analyses for significantly more complex protocols and tasks.
KW - Computer aided cryptography
KW - EasyCrypt
KW - Formal verification
KW - Universal composability
UR - http://www.scopus.com/inward/record.url?scp=85072623562&partnerID=8YFLogxK
U2 - 10.1109/CSF.2019.00019
DO - 10.1109/CSF.2019.00019
M3 - ???researchoutput.researchoutputtypes.contributiontobookanthology.conference???
AN - SCOPUS:85072623562
T3 - Proceedings - IEEE Computer Security Foundations Symposium
SP - 167
EP - 183
BT - Proceedings - 2019 IEEE 32nd Computer Security Foundations Symposium, CSF 2019
PB - IEEE Computer Society
Y2 - 25 June 2019 through 28 June 2019
ER -