May the Fourth Be With You

Daniel Genkin, Luke Valenta, Yuval Yarom

2017 · 54 citations · 22 references

DOIFull text

Open access

Concepts

Abstract

In recent years, applications increasingly adopt security primitives designed with better countermeasures against side channel attacks. A concrete example is Libgcrypt's implementation of ECDH encryption with Curve25519. The implementation employs the Montgomery ladder scalar-by-point multiplication, uses the unified, branchless Montgomery double-and-add formula and implements a constant-time argument swap within the ladder. However, Libgcrypt's field arithmetic operations are not implemented in a constant-time side-channel-resistant fashion.

References

22