An Example of Parallel Merkle Tree Traversal: Post-Quantum Leighton-Micali Signature on the GPU
Open Access
- 14 September 2024
- journal article
- research article
- Published by Association for Computing Machinery (ACM) in ACM Transactions on Architecture and Code Optimization
- Vol. 21 (3) , 1-25
Abstract
The hash-based signature (HBS) is the most conservative and time-consuming among many post-quantum cryptography (PQC) algorithms. Two HBSs, LMS and XMSS, are the only PQC algorithms standardised by the National Institute of Standards and Technology (NIST) now. Existing HBSs are designed based on serial Merkle tree traversal, which is not conducive to taking full advantage of the computing power of parallel architectures such as CPUs and GPUs. We propose a parallel Merkle tree traversal (PMTT), which is tested by implementing LMS on the GPU. This is the first work accelerating LMS on the GPU, which performs well even with over 10,000 cores. Considering different scenarios of algorithmic parallelism and data parallelism, we implement corresponding variants for PMTT. The design of PMTT for algorithmic parallelism mainly considers the execution efficiency of a single task, while that for data parallelism starts with the full utilisation of GPU performance. In addition, we are the first to design a CPU-GPU collaborative processing solution for traversal algorithms to reduce the communication overhead between CPU and GPU. For algorithmic parallelism, our implementation is still 4.48× faster than the ideal time of the state-of-the-art traversal algorithm. For data parallelism, when the number of cores increases from 1 to 8,192, the parallel efficiency is 78.39%. In comparison, our LMS implementation outperforms most existing LMS and XMSS implementations.Keywords
Funding Information
- China National Key Research and Development Program (2018YFB1700405)
This publication has 33 references indexed in Scilit:
- Parallel implementations of post-quantum leighton-Micali signature on multiple nodesThe Journal of Supercomputing, 2023
- Efficient GPU Implementations of Post-Quantum Signature XMSSIEEE Transactions on Parallel and Distributed Systems, 2023
- A High-Speed FPGA-Based Hardware Implementation for Leighton-Micali SignatureIEEE Transactions on Circuits and Systems I: Regular Papers, 2022
- Parallel SHA-256 on SW26010 many-core processor for hashing of multiple messagesThe Journal of Supercomputing, 2022
- An Efficient Full Hardware Implementation of Extended Merkle Signature SchemeIEEE Transactions on Circuits and Systems I: Regular Papers, 2021
- cuNH: Efficient GPU Implementations of Post-Quantum KEM NewHopeIEEE Transactions on Parallel and Distributed Systems, 2021
- PQC Acceleration Using GPUs: FrodoKEM, NewHope, and KyberIEEE Transactions on Parallel and Distributed Systems, 2020
- Efficient Parallelism of Post-Quantum Signature Scheme SPHINCSIEEE Transactions on Parallel and Distributed Systems, 2020
- Fast AES Implementation: A High-Throughput Bitsliced ApproachIEEE Transactions on Parallel and Distributed Systems, 2019
- Security as a Service Model for Cloud EnvironmentIEEE Transactions on Network and Service Management, 2014