Acceleration of Composite Order Bilinear Pairing on Graphics Hardware
Abstract
Recently, composite-order bilinear pairing has been shown to be useful in many cryptographic constructions. However, it is time-costly to evaluate. This is because the composite order should be at least 1024bit and, hence, the elliptic curve group order $n$ and base field become too large, rendering the bilinear pairing algorithm itself too slow to be practical (e.g., the Miller loop is $\Omega(n)$). Thus, composite-order computation easily becomes the bottleneck of a cryptographic construction, especially, in the case where many pairings need to be evaluated at the same time. The existing solution to this problem that converts composite-order pairings to prime-order ones is only valid for certain constructions. In this paper, we leverage the huge number of threads available on Graphics Processing Units (GPUs) to speed up composite-order pairing computation. We investigate suitable SIMD algorithms for base field, extension field, elliptic curve and bilinear pairing computation as well as mapping these algorithms into GPUs with careful considerations. Experimental results show that our method achieves a record of 8.7ms per pairing on a 1024bit security level, which is a 20-fold speedup compared to state-of-the-art CPU implementation. This result also opens the road to adopting higher security levels and using rich-resource parallel platforms, which for example are available in cloud computing. In fact, we can achieve more than 24 times speedup on a 2048bit security level and a record of $7 \times 10^{-6}$ USD per pairing on the Amazon cloud computing environment.
BibTeX
@article{zhang2011acceleration,
author = {Ye Zhang and Chun Jason Xue and Duncan S. Wong and Nikos Mamoulis and Siu-Ming Yiu},
title = {{Acceleration of Composite Order Bilinear Pairing on Graphics Hardware}},
journal = {IACR Cryptol. ePrint Arch.},
year = {2011},
doi = {10.1007/978-3-642-34129-8\_31},
}Ask Althea to put this paper to the test.
| Affine Pairings on ARM | IACR ePrint · 2011 |
| New Efficient and Flexible Algorithms for Secure Outsourcing of Bilinear Pairings | IACR ePrint · 2016 |
| On the (Im)possibility of Projecting Property in Prime-Order Setting | IACR ePrint · 2013 |
| Finesse: An Agile Design Framework for Pairing-based Cryptography via Software/Hardware Co-Design | arXiv · 2025 |
| cuZK: Accelerating Zero-Knowledge Proof with A Faster Parallel Multi-Scalar Multiplication Algorithm on GPUs | Iacr Trans. Cryptogr. Hardw. Embed. Syst · 2023 |
| CUDA-Accelerated RNS Multiplication in Word-Wise Homomorphic Encryption Schemes | IACR ePrint · 2022 |