Journal Publications

Guiding a GeneralPurpose C Verifier to Prove Cryptographic Protocols, with Andrew D. Gordon, Jan Jürjens and David A. Naumann.
in Journal of Computer Security, to appear.
An extended version of the CSF paper, using the (then) new version of VCC and extending a bit on the Coq aspects of the verification.
Refereed Conference Publications

Making RSAPSS Secure Against Random Faults, with Gilles Barthe, Benjamin Grégoire, PierreAlain Fouque, Mehdi Tibouchi and JeanChristophe Zapalowicz.
In Proceedings of the 2014 Workshop on Cryptographic Hardware and Embedded Systems (CHES'14), to appear.
RSA–CRT is the most widely used implementation for RSA signatures. However, deterministic and many probabilistic RSA signatures based on CRT are vulnerable to fault attacks. Nevertheless, Coron and Mandal (Asiacrypt 2009) show that the randomized PSS padding protects RSA signatures against random faults. In contrast, Fouque et al. (CHES 2012) show that PSS padding does not protect against certain nonrandom faults that can be injected in widely used implementations based on the Montgomery modular multiplication. In this article, we prove the security of an infective countermeasure against a large class of nonrandom faults; the proof extends Coron and Mandal’s result to a strong model where the adversary can force the faulty signatures to be a multiple of one of the prime factors of the RSA modulus. Such nonrandom faults induce more complex probability distributions than in the original proof, which we analyze using careful estimates of exponential sums attached to suitable rational functions. The security proof is formally verified using appropriate extensions of EasyCrypt, and provides the first application of formal verification to provable (i.e. reductionist) security in the context of fault attacks.
ePrint 
Certified ComputerAided Cryptography: Efficient Provably Secure Machine Code from HighLevel Implementations, with J. C. Bacelar Almeida, Manuel Barbosa and Gilles Barthe.
In Proceedings of the 2013 ACM SIGSAC conference on Computer & Communications Security (CCS'13), pages 12171230. Berlin, November 2013.
We present a computeraided framework for proving concrete security bounds for cryptographic machine code implementations. The frontend of the framework is an interactive verification tool that extends the EasyCrypt framework to reason about relational properties of Clike programs extended with idealised probabilistic operations in the style of codebased security proofs. The framework also incorporates an extension of the CompCert certified compiler to support trusted libraries providing complex arithmetic calculations or instantiating idealised components such as sampling operations. This certified compiler allows us to carry to executable code the security guarantees established at the highlevel, and is also instrumented to detect when compilation may interfere with sidechannel countermeasures deployed in source code. We demonstrate the applicability of the framework with the RSAOAEP encryption scheme, as standardized in PKCS#1 v2.1. The outcome is a rigorous analysis of the advantage of an adversary to break the security of assembly implementations of the algorithms specified by the standard. The example also provides two contributions of independent interest: it is the first application of computeraided cryptographic tools to realworld security, and the first application of CompCert to cryptographic software.
ePrint 
Guiding a GeneralPurpose C Verifier to Prove Cryptographic Protocols, with Andrew D. Gordon, Jan Jürjens and David A. Naumann.
in Proceedings of the 24th IEEE Symposium on Computer Security Foundations (CSF'11), pages 317. Paris, June 2011.
We describe how to verify security properties of C code for cryptographic protocols by using a generalpurpose verifier. We prove security theorems in the symbolic model of cryptography. Our techniques include: use of ghost state to attach formal algebraic terms to concrete byte arrays and to detect collisions when two distinct terms map to the same byte array; decoration of a crypto API with contracts based on symbolic terms; and expression of the attacker model in terms of C programs. We rely on the generalpurpose verifier VCC; we guide VCC to prove security simply by writing suitable header files and annotations in implementation files, rather than by changing VCC itself. We formalize the symbolic model in Coq in order to justify the addition of axioms to VCC.
Tech Report (external)  Preprint [.pdf]  Sample Code [tar.gz]  Short slide deck [.pdf]  Full slide deck [.pdf]
NonRefereed Publications
 Synthesis of Fault Attacks on Cryptographic Implementations, with Gilles Barthe, PierreAlain Fouque, Benjamin Grégoire and JeanChristophe Zapalowicz. ePrint
 Verified Implementations for Secure and Verifiable Computation, with José Bacelar Almeida, Manuel Barbosa, Gilles Barthe, Guillaume Davy, Benjamin Grégoire and PierreYves Strub. ePrint
 Proving Computational Security with a GeneralPurpose C Verifier, with Cédric Fournet and Andrew D. Gordon. FCC 2012 and ASA6, Harvard University, June 2012. Talk proposal [.pdf]  Slide Deck [.pptx]

Verifying Cryptographic Code in C: Some Experience and the Csec Challenge, with Mihhail Aizatulin, Andrew D. Gordon and Jan Jürjens.
In Proceedings of the 8th International Workshop on Formal Aspects of Security and Trust (FAST'11), Leuven, September 2011. LNCS 7140. Invited paper.
The security of much critical infrastructure depends in part on cryptographic software coded in C, and yet vulnerabilities continue to be discovered in such software. We describe recent progress on checking the security of C code implementing cryptographic software. In particular, we describe projects that combine verificationcondition generation and symbolic execution techniques for C, with methods for stating and verifying security properties of abstract models of cryptographic protocols. We illustrate these techniques on C code for a simple twomessage protocol.

Verifying Authentication Properties of C Security Protocol Code Using GeneralPurpose Verifiers, with Andrew D. Gordon and Jan Jürjens.
ASA4, FLoC, Edinburgh, July 2010.
We describe how a general purpose C verifier can be used to verify authentication properties of protocol implementations in a way similar to that of F7. We also give an informal security model, based on an assumed translation of verified C programs into F7 modules.
Extended abstract [.pdf]  Slides [.pdf]
Dissertations, Reports and Manuscripts

Proving Cryptographic C Programs Secure with GeneralPurpose Verification Tools, Ph.D. Thesis, supervised by Andrew D. Gordon, Jan Jürjens and Bashar Nuseibeh.
Submitted in September 2012. Examined in February 2013 by Graham Steel and Yijun Yu. Corrections accepted in April 2013. Thesis [.pdf]  Companion Archive [.zip]  Code and Proof Obfuscation, M.Sc. Thesis, supervised by David Pichardie. Thesis [.pdf]  Bibliographic Report [.pdf] (in French)
 Deforestation of Functional Programs, B.Sc. Thesis, supervised by Robin Cockett. Thesis [.pdf]
 Using the syntactic construction of verbs to determine the semantic importance of their complements, undergraduate Thesis, supervised by Mehdi YousfiMonod and Augusta Mela. Thesis [.pdf] (in French)