An Example of Parallel Merkle Tree Traversal: Post-Quantum Leighton-Micali Signature on the GPU


연구 분야: Cryptography



학회: ACM Transactions on Architecture and Code Optimization, Volume 21, Issue 3


초록

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.


Author Profile
Ziheng Wang

Xi'an Jiaotong University Xi'an China

China
Author Profile
Xiaoshe Dong

Xi'an Jiaotong University Xi'an China

China
Author Profile
Yan Kang

Xi'an Jiaotong University Xi'an China

China

📄 논문 정보

발행 연도 2024년
인용수 2
출판 국가 Andorra, China
사이트 ACM
좋아요 수 0

연관 논문 목록 (368건)