Compact-slicing: a fast software implementation for linear permutation on IoT devices

In resource-constrained IoT devices, large amounts of sensitive data must be protected by cryptographic algorithms, making implementation efficiency a critical factor under limited computational and memory resources. As a key component of cryptographic algorithms, bit-level linear permutations are efficiently implemented in hardware, but their software implementations are not satisfactory. To further reduce resource consumption and shorten the execution time of cryptographic algorithms, we propose a new approach called compact-slicing. Unlike traditional bit slicing, which allocates an independent register for each slice, the compact-slicing approach leverages the operational consistency of linear permutations to merge slices with the same operation into the same register. Furthermore, it exploits the periodicity of the linear permutation to decompose multiple rounds of linear permutations into a composite operation of several simple permutations that can be completed in low clock cycles. It effectively reduces register overhead, improves register reuse efficiency, and reduces reliance on memory accesses. We evaluate compact-slicing on Cortex-M3 using PRESENT (inter-slice) and GIFT-64 (intra-slice). With round keys pre-processed, compact-slicing halves the number of constantly occupied registers and reduces peak register usage by 33.3% and 38.5% relative to the two-round unrolled bit-sliced and fix-slicing, respectively. The linear permutation and total cycle counts of PRESENT decrease by 56.3% and 35.0%, whereas the total cycle count of GIFT-64 increases by only 0.6%. With the round key update, total cycle counts decrease by 14.9–21.2% for PRESENT and 16.1–24.1% for GIFT-64, depending on the key-scheduling strategy. These results highlight its suitability for resource-constrained single-block processing.

Authors

Institutions

Publication Details

Journal
Journal of King Saud University - Computer and Information Sciences
Published
2026-11-23
DOI
https://doi.org/10.1007/s44443-026-01420-z
Primary Topic
Cryptographic Implementations and Security
Type
article
Field-Weighted Citation Impact
0.00

Funders

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

Compact-slicing: a fast software implementation for linear permutation on IoT devices

Yuehua Huang, Bin Yu, Ying Guo, Wenfen Liu et al.
Journal of King Saud University - Computer and Information Sciences
Cryptographic Implementations and Security
article

Compact-slicing: a fast software implementation for linear permutation on IoT devices

Yuehua Huang, Bin Yu, Ying Guo, Wenfen Liu, Wen Chen
article en

Abstract

In resource-constrained IoT devices, large amounts of sensitive data must be protected by cryptographic algorithms, making implementation efficiency a critical factor under limited computational and memory resources. As a key component of cryptographic algorithms, bit-level linear permutations are efficiently implemented in hardware, but their software implementations are not satisfactory. To further reduce resource consumption and shorten the execution time of cryptographic algorithms, we propose a new approach called compact-slicing. Unlike traditional bit slicing, which allocates an independent register for each slice, the compact-slicing approach leverages the operational consistency of linear permutations to merge slices with the same operation into the same register. Furthermore, it exploits the periodicity of the linear permutation to decompose multiple rounds of linear permutations into a composite operation of several simple permutations that can be completed in low clock cycles. It effectively reduces register overhead, improves register reuse efficiency, and reduces reliance on memory accesses. We evaluate compact-slicing on Cortex-M3 using PRESENT (inter-slice) and GIFT-64 (intra-slice). With round keys pre-processed, compact-slicing halves the number of constantly occupied registers and reduces peak register usage by 33.3% and 38.5% relative to the two-round unrolled bit-sliced and fix-slicing, respectively. The linear permutation and total cycle counts of PRESENT decrease by 56.3% and 35.0%, whereas the total cycle count of GIFT-64 increases by only 0.6%. With the round key update, total cycle counts decrease by 14.9–21.2% for PRESENT and 16.1–24.1% for GIFT-64, depending on the key-scheduling strategy. These results highlight its suitability for resource-constrained single-block processing.

Journal of King Saud University - Computer and Information SciencesVol. 38(10)
Guilin University of Electronic Technology (CN)
National Natural Science Foundation of China, Natural Science Foundation of Guangxi Province, Division of Graduate Education
Cryptographic Implementations and Security
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.

Laika access coming soon