Related Experiment Videos
Improving IoT Cybersecurity Performance with Lifecycle-Motivated Bit-Manipulation Compiler Optimizations
Alexia Budiul1, Ciprian Pungilă1
1Department of Digital Technologies and Software Engineering, Faculty of Informatics, West University of Timișoara, 300223 Timișoara, Romania.
Sensors (Basel, Switzerland)
|June 12, 2026
Summary
This study introduces an LLVM backend strategy to optimize cryptographic operations on IoT devices. It efficiently lowers bitwise operations, reducing latency and code size for enhanced performance.
Area of Science:
- Computer Science
- Embedded Systems Engineering
Background:
- Resource-constrained IoT devices face challenges with latency, code size, and energy for cryptographic functions.
- Cryptographic primitives often involve bit-oriented operations that can be inefficiently implemented.
Purpose of the Study:
- To develop a general LLVM backend instruction-selection strategy for optimizing single-bit update idioms in cryptographic code.
- To improve the efficiency of cryptographic primitives on resource-constrained IoT devices.
Main Methods:
- Proposed a general LLVM backend instruction-selection strategy to identify and lower LOAD--(AND/OR)--STORE sequences.
- Implemented the strategy for the Renesas RL78/G23 ISA, mapping patterns to SET1/CLR1 instructions.
- Evaluated performance using cycle counts and code size on SHA-256-driven workloads.
Main Results:
- Demonstrated cycle reductions and code size improvements on the RL78/G23 platform.
- Quantified latency impact across different clocking modes by converting cycle reductions to absolute time.
- Validated the strategy on workloads including firmware integrity, hashing, authentication, and key derivation.
Conclusions:
- The proposed LLVM backend strategy effectively optimizes single-bit update idioms for cryptographic primitives on IoT devices.
- The approach shows potential for adaptation to other embedded architectures with similar bit manipulation capabilities.
- Further validation is needed for specific target architectures and their unique constraints.
Related Concept Videos
Optimization Problems
Optimization problems often involve identifying maximum or minimum values under specific constraints. A well-known example is determining the longest horizontal pipe that can be moved around a right-angled corner, where a 3-meter-wide hallway meets a 2-meter-wide hallway. This scenario, common in architectural design and industrial transport, can be understood conceptually through geometric and trigonometric reasoning.To visualize the problem, consider the pipe as a straight line that touches...
Semiconductors
There is variation in the electrical conductivity of materials - metals, semiconductors, and insulators that are showcased with the help of the energy band diagrams.
Metals such as copper (Cu), zinc (Zn), or lead (Pb) have low resistivity and feature conduction bands that are either not fully occupied or overlap with the valence band, making a bandgap non-existent. This allows electrons in the highest energy levels of the valence band to easily transition to the conduction band upon gaining...
Metals such as copper (Cu), zinc (Zn), or lead (Pb) have low resistivity and feature conduction bands that are either not fully occupied or overlap with the valence band, making a bandgap non-existent. This allows electrons in the highest energy levels of the valence band to easily transition to the conduction band upon gaining...
Methods of Medium Optimization
Optimizing growth media enhances microbial proliferation and maximizes product yield. Statistical experimental design methodologies provide structured and reproducible approaches, offering progressively higher levels of robustness and efficiency.The One-Factor-at-a-Time (OFAT) MethodThe One-Factor-at-a-Time (OFAT) method involves adjusting a single variable while keeping all others constant. However, it cannot detect interactions between variables, often leading to suboptimal outcomes when...
Biasing of FET
Biasing a Junction Field Effect Transistor (JFET) is crucial for setting operational parameters and ensuring efficient functioning in electronic circuits. JFETs are characterized by using a single carrier type in N-channel or P-channel configurations, where the channel is surrounded by PN junctions. These junctions are central to the device's ability to control current flow.
In an N-channel JFET, the structure consists of N-type material forming the channel on a P-type substrate, with the gate...
In an N-channel JFET, the structure consists of N-type material forming the channel on a P-type substrate, with the gate...
Biasing of Metal-Semiconductor Junctions
Biasing metal-semiconductor junctions involves applying a voltage across the junction. Specifically, the metal is connected to a voltage source, while the semiconductor is grounded. This technique is essential for controlling the direction and magnitude of current flow in electronic devices, including diodes, transistors, and photovoltaic cells.
In Schottky junctions, where the semiconductor is n-type, applying a positive voltage to the metal relative to the semiconductor reduces its Fermi...
In Schottky junctions, where the semiconductor is n-type, applying a positive voltage to the metal relative to the semiconductor reduces its Fermi...
Non-ohmic Devices
In most substances, the current flow is proportional to the voltage applied to it. A simple relationship between the values of current, voltage, and resistance is known as Ohm's law. Nonohmic devices do not exhibit a linear relationship between voltage and current. One such device is the semiconducting circuit element known as a diode. A diode is a circuit device that allows current flow in only one direction.
Consider a simple circuit consisting of a battery, a diode, and a resistor. A diode...
Consider a simple circuit consisting of a battery, a diode, and a resistor. A diode...