Efficient Algorithms for Large Prime Characteristic Fields and Their Application to Bilinear Pairings

Authors

  • Patrick Longa Microsoft Research, Redmond, USA

DOI:

https://doi.org/10.46586/tches.v2023.i3.445-472

Keywords:

Sum of products, prime fields, extension fields, bilinear pairings, BLS12-381, supersingular isogenies, efficient computation

Abstract

We propose a novel approach that generalizes interleaved modular multiplication algorithms for the computation of sums of products over large prime fields. This operation has widespread use and is at the core of many cryptographic applications. The method reformulates the widely used lazy reduction technique, crucially avoiding the need for storage and computation of “double-precision” operations. Moreover, it can be easily adapted to the different methods that exist to compute modular multiplication, producing algorithms that are significantly more efficient and memory-friendly. We showcase the performance of the proposed approach in the computation of multiplication over an extension field Fpk , and demonstrate its impact with record-breaking implementations of bilinear pairings. Specifically, we accomplish a full optimal ate pairing computation over the popular BLS12-381 curve, designed for the 128-bit security level, in under half a millisecond on a 3.2GHz Intel Coffee Lake processor, which is about 1.40× faster than the state-of-the-art. Similarly, we perform the same computation over the BLS24-509 curve, targeting the 192-bit security level, in ~ 2.6 milliseconds, achieving a speedup of more than 1.30x. We also report a significant impact on other applications, including protocols based on supersingular isogenies.

Downloads

Published

2023-06-09

How to Cite

Longa, P. (2023). Efficient Algorithms for Large Prime Characteristic Fields and Their Application to Bilinear Pairings. IACR Transactions on Cryptographic Hardware and Embedded Systems, 2023(3), 445–472. https://doi.org/10.46586/tches.v2023.i3.445-472

Issue

Section

Articles