Fiat Cryptography: Automated Correct-by-Construction Generation of Efficient Low-Level Cryptographic Code

This work presents Fiat Cryptography, a method for automatically generating low-level cryptographic code that is correct-by-construction. It focuses on optimizing modular big-number arithmetic, which is fundamental to widely used protocols like TLS, ensur

Microsoft Research1.7K views01:05:21

🔥 Related Trending Topics

LIVE TRENDS

This video may be related to current global trending topics. Click any trend to explore more videos about what's hot right now!

THIS VIDEO IS TRENDING!

This video is currently trending in Pakistan under the topic 'f'.

About this video

Some of the most widely used cryptographic protocols, including TLS, depend on fast execution of modular big-number arithmetic. Cryptographic primitives are coded by an elite set of implementation experts, and most programmers are shocked to learn that performance-competitive implementations are rewritten from scratch for each new prime-number modulus and each significantly different hardware architecture. In the Fiat Cryptography project, we show for the first time that an automatic compiler can produce this modulus-specialized code, via formalized versions of the number-theoretic optimizations that had previously only been applied by hand. Through experiments for a wide range of moduli, compiled for 64-bit x86 and 32-bit ARM processors, we demonstrate typical speedups vs. an off-the-shelf big-integer library in the neighborhood of 5X, sometimes going up to 10X. As a bonus, our compiler is implemented in the Coq proof assistant and generates proofs of functional correctness. These combined benefits of rigorous correctness/security guarantees and labor-saving were enough to convince the Google Chrome team to adopt our compiler for parts of their TLS implementation in the BoringSSL library. The project is joint work with Andres Erbsen, Jade Philipoom, Jason Gross, and Robert Sloan.  See more at https://www.microsoft.com/en-us/research/video/fiat-cryptography-automatic-correct-by-construction-generation-of-low-level-cryptographic-code/

Video Information

Views
1.7K

Total views since publication

Likes
21

User likes and reactions

Duration
01:05:21

Video length

Published
Jan 16, 2018

Release date

Quality
hd

Video definition

Captions
Available

Subtitles enabled

Tags and Topics

This video is tagged with the following topics. Click any tag to explore more related content and discover similar videos:

Tags help categorize content and make it easier to find related videos. Browse our collection to discover more content in these categories.