Skip to main content

“Make sure DSA signing exponentiations really are constant-time”


César Pereida García, Billy Bob Brumly and Yuval Yarom

Aalto University

Tampere University of Technology

University of Adelaide



TLS and SSH are two of the most commonly used protocols for securing Internet traffic. Many of the implementations of these protocols rely on the cryptographic primitives provided in the OpenSSL library. In this work we disclose a vulnerability in OpenSSL, affecting all versions and forks (e.g. LibreSSL and BoringSSL) since roughly October 2005, which renders the implementation of the DSA signature scheme vulnerable to cache-based side-channel attacks. Exploiting the software defect, we demonstrate the first published cache-based key-recovery attack on these protocols.

BibTeX Entry

    month            = oct,
    keywords         = {applied cryptography; digital signatures; side-channel analysis; timing attacks; cache-timing
                        attacks; dsa; openssl},
    paperurl         = {},
    booktitle        = {ACM Conference on Computer and Communications Security},
    author           = {Pereida García, C\'esar and Brumly, Billy Bob and Yarom, Yuval},
    year             = {2016},
    pages            = {1639--1650},
    title            = {“{M}ake Sure {DSA} Signing Exponentiations Really are Constant-Time”},
    address          = {Vienna, Austria}