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

Institutions

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

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

A Low-Cost GPU-Based Masked AES Implementation resistant to Cache-Timing Attacks

Yiwen Gao, Yongbin Zhou, Guojian Bi
Security and Verification in Computing
article

A Low-Cost GPU-Based Masked AES Implementation resistant to Cache-Timing Attacks

Yiwen Gao, Yongbin Zhou, Guojian Bi
article en

Abstract

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.

Nanjing University of Science and Technology (CN)
National Natural Science Foundation of China
Affordable and clean energy
Openalex Percentile: Top 93%
Security and Verification in Computing
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

A Low-Cost GPU-Based Masked AES Implementation resistant to Cache-Timing Attacks — Yiwen Gao, Yongbin Zhou, et al. · (2025) | TGRS Research Map | TGRS