Vivienne: Relational Verification of Cryptographic Implementations in WebAssembly

Rodothea Myrsini Tsoupidi, Musard Balliu, Benoit Baudry
9/3/2021
cs.CRcs.PLcs.SC

Official code: romits800/Vivienne (5 stars, WebAssembly, last commit 2021-12-01).

Abstract

This paper explores the use of relational symbolic execution to counter timing side channels in WebAssembly programs. We design and implement Vivienne, an open-source tool to automatically analyze WebAssembly cryptographic libraries for constant-time violations.

Show full abstract

Our approach features various optimizations that leverage the structure of WebAssembly and automated theorem provers, including support for loops via relational invariants. We evaluate Vivienne on 57 real-world cryptographic implementations, including a previously unverified implementation of the HACL* library in WebAssembly. The results indicate that Vivienne is a practical solution for constant-time analysis of cryptographic libraries in WebAssembly.

View on arXivView PDF

Code Implementations(1)

romits800/VivienneOfficial100%

Constant-Time WebAssembly

50WebAssembly, OCamlJul 20, 20205 years agoNOASSERTION

Similar Papers

Cite this paper

@article{tsoupidi2021vivienne,
  title  = {Vivienne: Relational Verification of Cryptographic Implementations in WebAssembly},
  author = {Rodothea Myrsini Tsoupidi and Musard Balliu and Benoit Baudry},
  year   = {2021},
  eprint = {2109.01386},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2109.01386}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2109.01386.svg)](https://codeofpaper.com/paper/2109.01386)

Discussion