Published January 31, 2025 | Version v2
Software Open

Protecting cryptographic code against Spectre-RSB

  • 1. ROR icon Max Planck Institute for Security and Privacy
  • 2. ROR icon IMDEA Software
  • 3. ROR icon University of Melbourne
  • 4. ROR icon Research Centre Inria Sophia Antipolis - Méditerranée
  • 5. ROR icon Centre Inria de l'Université de Lorraine
  • 6. ROR icon SandboxAQ
  • 7. ROR icon Ruhr University Bochum

Description

This is the artifact for the paper "Protecting Cryptographic Code Against Spectre-RSB." It contains a Coq formalization of the approach presented in the paper, a version of the Jasmin compiler that protects programs against Spectre-RSB, a version of the Libjade crypto library protected against all known Spectre variants, and benchmarks for the updated version of Libjade. The main contributions in this artifact are a new SCT type system for Jasmin that checks for Spectre-RSB, the Coq formalization and proof of our approach, and high-assurance crypto implementations protected against all known Spectre variants.

To build the Coq formalization and the Jasmin compiler, we provide instructions using nix-shell. Additionally, we provide a Docker image with the Jasmin compiler already installed. To run the benchmarks, we provide standard Makefiles (that require the Jasmin compiler).

The result of building this artifact is high confidence on the security of our approach, and evidence of its overhead being minimal.

Files

Files (1.9 MB)

Name Size Download all
md5:5a6b45f3babac85cd0f0964e46d557ca
1.9 MB Download

Additional details

Dates

Available
2025-01-30