Machine-checked proofs for cryptographic standards: Indifferentiability of sponge and secure high-assurance implementations of SHA-3
JB Almeida, C Baritel-Ruet, M Barbosa… - Proceedings of the …, 2019 - dl.acm.org
Proceedings of the 2019 ACM SIGSAC Conference on Computer and Communications …, 2019•dl.acm.org
We present a high-assurance and high-speed implementation of the SHA-3 hash function.
Our implementation is written in the Jasmin programming language, and is formally verified
for functional correctness, provable security and timing attack resistance in the EasyCrypt
proof assistant. Our implementation is the first to achieve simultaneously the four desirable
properties (efficiency, correctness, provable security, and side-channel protection) for a non-
trivial cryptographic primitive. Concretely, our mechanized proofs show that: 1) the SHA-3 …
Our implementation is written in the Jasmin programming language, and is formally verified
for functional correctness, provable security and timing attack resistance in the EasyCrypt
proof assistant. Our implementation is the first to achieve simultaneously the four desirable
properties (efficiency, correctness, provable security, and side-channel protection) for a non-
trivial cryptographic primitive. Concretely, our mechanized proofs show that: 1) the SHA-3 …
We present a high-assurance and high-speed implementation of the SHA-3 hash function. Our implementation is written in the Jasmin programming language, and is formally verified for functional correctness, provable security and timing attack resistance in the EasyCrypt proof assistant. Our implementation is the first to achieve simultaneously the four desirable properties (efficiency, correctness, provable security, and side-channel protection) for a non-trivial cryptographic primitive. Concretely, our mechanized proofs show that: 1) the SHA-3 hash function is indifferentiable from a random oracle, and thus is resistant against collision, first and second preimage attacks; 2) the SHA-3 hash function is correctly implemented by a vectorized x86 implementation. Furthermore, the implementation is provably protected against timing attacks in an idealized model of timing leaks. The proofs include new EasyCrypt libraries of independent interest for programmable random oracles and modular indifferentiability proofs.
