A Compact and Parallel Swap-Based Shuffler Based on Butterfly Network and Its Complexity Against Side Channel Analysis

A prominent countermeasure against side-channel attacks, the hiding countermeasure , typically involves shuffling operations using a permutation algorithm. This is especially crucial in the era of Post-quantum Cryptography, where computational characteristics of lattice and code-based cryptography heighten the need for robust defenses. In this context, securely and efficiently generating permutations is critical for an algorithm’s overall security and performance. Among the various approaches, the Fisher-Yates shuffle is widely adopted due to its security and ease of implementation. However, it is limited by a complexity of \(\mathcal {O}(N)\) due to its sequential nature. In response, we propose a time-area tradeoff swap algorithm, \(\mathsf {FSS}\) , that leverages a Butterfly Network structure, achieving only \(\log (N)\) depth, \(\log (N)\) work, and \(\mathcal {O}(1)\) operation time in parallel. Our analysis calculates the maximum gain an attacker can achieve through butterfly operations with \(\log (N)\) depth from a side-channel analysis perspective. Notably, we derive a generalized formula for the attack complexity of higher-order side-channel attacks for arbitrary input sizes, utilizing the fractal structure of the butterfly network. Moreover, our research demonstrates the efficiency and security of this permutation approach across different platforms. We include practical implementation results on ASIC as well as on CPU and GPU architectures, which underscore the algorithm’s performance advantages and robustness across diverse hardware environments. Through this exploration, we show that efficient and secure permutations can indeed be achieved with minimal randomness requirements.

Authors

Institutions

Publication Details

Journal
ACM Transactions on Embedded Computing Systems
Published
2025-02-03
DOI
https://doi.org/10.1145/3715961
Citations
1
Primary Topic
Cryptographic Implementations and Security
Type
article
Field-Weighted Citation Impact
2.48
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

A Compact and Parallel Swap-Based Shuffler Based on Butterfly Network and Its Complexity Against Side Channel Analysis

Kouichi Sakurai, Jong-Yeon Park, Seonggyeom Kim, Bo Gyeong Kang et al.
1 citations
ACM Transactions on Embedded Computing Systems
Cryptographic Implementations and Security
2.48
article

A Compact and Parallel Swap-Based Shuffler Based on Butterfly Network and Its Complexity Against Side Channel Analysis

Kouichi Sakurai, Jong-Yeon Park, Seonggyeom Kim, Bo Gyeong Kang, W.C. Lee, J. H. Oh, I.S. Song
article en
1 citations

Abstract

A prominent countermeasure against side-channel attacks, the hiding countermeasure , typically involves shuffling operations using a permutation algorithm. This is especially crucial in the era of Post-quantum Cryptography, where computational characteristics of lattice and code-based cryptography heighten the need for robust defenses. In this context, securely and efficiently generating permutations is critical for an algorithm’s overall security and performance. Among the various approaches, the Fisher-Yates shuffle is widely adopted due to its security and ease of implementation. However, it is limited by a complexity of \(\mathcal {O}(N)\) due to its sequential nature. In response, we propose a time-area tradeoff swap algorithm, \(\mathsf {FSS}\) , that leverages a Butterfly Network structure, achieving only \(\log (N)\) depth, \(\log (N)\) work, and \(\mathcal {O}(1)\) operation time in parallel. Our analysis calculates the maximum gain an attacker can achieve through butterfly operations with \(\log (N)\) depth from a side-channel analysis perspective. Notably, we derive a generalized formula for the attack complexity of higher-order side-channel attacks for arbitrary input sizes, utilizing the fractal structure of the butterfly network. Moreover, our research demonstrates the efficiency and security of this permutation approach across different platforms. We include practical implementation results on ASIC as well as on CPU and GPU architectures, which underscore the algorithm’s performance advantages and robustness across diverse hardware environments. Through this exploration, we show that efficient and secure permutations can indeed be achieved with minimal randomness requirements.

ACM Transactions on Embedded Computing SystemsVol. 24(2)
Kyushu University (JP), Samsung (South Korea) (KR)
Openalex Percentile: Top 12%
Cryptographic Implementations and Security
2.48
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.