Set It and Forget It! Turnkey ECC for Instant Integration

07/22/2020
by   Dmitry Belyavsky, et al.
0

Historically, Elliptic Curve Cryptography (ECC) is an active field of applied cryptography where recent focus is on high speed, constant time, and formally verified implementations. While there are a handful of outliers where all these concepts join and land in real-world deployments, these are generally on a case-by-case basis: e.g. a library may feature such X25519 or P-256 code, but not for all curves. In this work, we propose and implement a methodology that fully automates the implementation, testing, and integration of ECC stacks with the above properties. We demonstrate the flexibility and applicability of our methodology by seamlessly integrating into three real-world projects: OpenSSL, Mozilla's NSS, and the GOST OpenSSL Engine, achieving roughly 9.5x, 4.5x, 13.3x, and 3.7x speedup on any given curve for key generation, key agreement, signing, and verifying, respectively. Furthermore, we showcase the efficacy of our testing methodology by uncovering flaws and vulnerabilities in OpenSSL, and a specification-level vulnerability in a Russian standard. Our work bridges the gap between significant applied cryptography research results and deployed software, fully automating the process.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
11/06/2021

Cryptography Vulnerabilities on HackerOne

Previous studies have shown that cryptography is hard for developers to ...
research
03/25/2020

Parallel Computation of Optimal Ate Cryptographic Pairings at the 128, 192 and 256-bit security levels using elliptic net algorithm

Efficient computations of pairings with Miller Algorithm have recently r...
research
12/17/2020

Efficient Verification of Optimized Code: Correct High-speed Curve25519

Code that is highly optimized poses a problem for program-level verifica...
research
11/11/2017

Mathematics of Isogeny Based Cryptography

These lectures notes were written for a summer school on Mathematics for...
research
06/18/2021

Extending the GLS endomorphism to speed up GHS Weil descent using Magma

Let q = 2^n, and let E / 𝔽_q^ℓ be a generalized Galbraith–Lin–Scott (GLS...
research
03/18/2021

A Methodology for Approaching the Integration of Complex Robotics Systems Illustrated through a Bi-manual Manipulation Case-Study

The multidisciplinarity of robotics creates a need for robust integratio...

Please sign up or login with your details

Forgot password? Click here to reset