A Low-Cost GPU-Based Masked AES Implementation resistant to Cache-Timing Attacks
As a high-performance computing platform, the GPU is much suitable for cryptographic applications in cloud computing environment. Unfortunately, recent studies found that GPU-based AES implementations are also vulnerable to cache-timing attacks. Although those architectural-level and algorithmic-level countermeasures specifically tailored for power/electro-magnetic (EM) analysis are effective to thwart the cache-timing attacks, they are either of high cost or require customized hardware. In this work, we propose a masking scheme, which is intrinsically device-independent, to prevent GPU-based AES implementations from cache-timing attacks with the full considerations of low cost and provable security. The scheme reduces the requirement for random from linear to constant number by taking the advantage of cache-timing leakage model and, at the same time, maintains its security. The security of the masking scheme is formally proved under realistic assumptions. In addition, we also present a typical GPU-based prototype implementation of the scheme and evaluate the performance of the implementation on CUDA-enabled GPUs of different architectures. The results show that the performance of the implementation varies from architecture to architecture. Nonetheless, all of them outperform previous schemes.
Authors
- Yiwen Gao (ORCID: https://orcid.org/0000-0001-5446-2014)
- Yongbin Zhou (ORCID: https://orcid.org/0000-0002-1337-0655)
- Guojian Bi
Institutions
- Nanjing University of Science and Technology (CN)
Publication Details
- Published
- 2025-02-21
- DOI
- https://doi.org/10.1145/3732365.3732395
- Primary Topic
- Security and Verification in Computing
- Type
- article
- Field-Weighted Citation Impact
- 0.00
Funders
- National Natural Science Foundation of China