Efficient Algorithms for Large Prime Characteristic Fields and Their Application to Bilinear Pairings
DOI:
https://doi.org/10.46586/tches.v2023.i3.445-472Keywords:
Sum of products, prime fields, extension fields, bilinear pairings, BLS12-381, supersingular isogenies, efficient computationAbstract
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
Issue
Section
License
Copyright (c) 2023 Patrick Longa
This work is licensed under a Creative Commons Attribution 4.0 International License.