Toward a Lightweight, Scalable, and Parallel Secure Encryption Engine
Rasha Karakchi Dept. of Computer Science and Engineering University of South Carolina Columbia, USA [email protected] Rye Stahle-Smith Dept. of Computer Science and Engineering University of South Carolina Columbia, USA [email protected] Nishant Chinnasami Dept. of Computer Science and Engineering · 2025
Read Toward a Lightweight, Scalable, and Parallel Secure Encryption Engine by Rasha Karakchi Dept. of Computer Science and Engineering University of South Carolina Columbia, USA [email protected] Rye Stahle-Smith Dept. of Computer Science and Engineering University of South Carolina Columbia, USA [email protected] Nishant Chinnasami Dept. of Computer Science and Engineering (2025) in the Tower of Babel, a free online library of public-domain works preserved in clean, searchable text. No sign-up. The full text is served as a plain-text file at a predictable URL, where text is present: https://antarctic-labs.com/tower-of-babel/arxiv-2506-15070.txt.
Introduction
Rasha Karakchi and co-authors build an encryption engine that works inside memory chips in a 2025 paper. Internet of Things devices flood the edge with data, and shuttling it to a processor just to encrypt it wastes time and power. Their design, SPiME, places standard AES encryption cores directly in a processing-in-memory layout.
Each small unit pairs a cipher core with a minimal controller, and units tile in parallel arrays. Built in hardware description code and tested on several large FPGA boards, the engine scaled past four thousand units while using under five percent of the key chip resources. It sustained over twenty-five gigabits per second of encryption with steady low delay. The authors pitch it for secure edge and embedded systems.
Catalog record
| CREATOR | Rasha Karakchi Dept. of Computer Science and Engineering University of South Carolina Columbia, USA [email protected] Rye Stahle-Smith Dept. of Computer Science and Engineering University of South Carolina Columbia, USA [email protected] Nishant Chinnasami Dept. of Computer Science and Engineering |
|---|---|
| YEAR | 2025 |
| COLLECTION | PAPERS |
| FORMAT | TXT |
| FILE SIZE | 26 KB |
| VERSION | 1.0 |
| LICENSE | http://creativecommons.org/licenses/by/4.0/ |
| RIGHTS | CC BY |
| SOURCE | arXiv |
Source: https://arxiv.org/abs/2506-15070
Browse the full library · About the Tower of Babel
Full text
The opening of the work, from the library's hosted text:
Toward a Lightweight, Scalable, and Parallel Secure Encryption Engine Rasha Karakchi Dept. of Computer Science and Engineering University of South Carolina Columbia, USA [email protected] Rye Stahle-Smith Dept. of Computer Science and Engineering University of South Carolina Columbia, USA [email protected] Nishant Chinnasami Dept. of Computer Science and Engineering University of South Carolina Columbia, USA [email protected] Tiffany Yu Dept. of Computer Science and Engineering University of South Carolina Columbia, USA [email protected] Abstract The exponential growth of applications of the Internet of Things (IoT) has intensified the demand for efficient, high-throughput, and energy-efficient data processing at the edge. Conventional CPU-centric encryption methods suffer from performance bottlenecks and excessive data movement, especially in latency-sensitive and resource-constrained environments. In this paper, we present SPiME, a lightweight, scalable, and FPGA-compatible Secure Processor in Memory Encryption architecture that integrates the Advanced Encryption Standard (AES-128) directly into a Processing-in-Memory (PiM) framework. SPiME is designed as a modular array of parallel PiM units, each combining an AES core with a minimal control unit to enable distributed in-place encryption with minimal overhead. The architecture is fully implemented in Verilog and tested on multiple AMD UltraScale and UltraScale+ FPGAs. Evaluational results show that SPiMe can scale beyond 4,000 parallel units while maintaining less than 5% utilization of key FPGA resources on high-end devices. It delivers over 25 Gbps in sustained encryption throughput with predictable, low-latency performance. The design’s portability, configurability, and resource efficiency make it a compelling solution for secure edge computing, embedded cryptographic systems, and customizable hardware accelerators. I Introduction The rise of Internet of Things (IoT) systems has significantly accelerated Big Data generation, raising urgent challenges in secure, real-time, and energy-efficient data processing [ 1 ] . IoT devices continuously produce sensitive data streams that must be encrypted and processed under tight bandwidth and energy constraints, exposing the limitations of conventional CPU-centric systems in terms of latency and data movement overhead. Processing-in-Memory (PiM) has emerged as a promising alternative, enabling computation near data to reduce transfer overhead and improve performance [ 1 ] . While PiM has demonstrated benefits in domains such as pattern matching [ 2 , 3 , 4 , 5 ] , genomics [ 6 ] , and AI inference [ 7 ] , securing data within PiM remains a critical challenge. Traditional memory hierarchies and centralized encryption methods fail to meet the urgent needs of modern IoT and edge computing environments [ 8 , 9 ] . Security in PiM systems is particularly sensitive due to the risk of data exposure during transfer, susceptibility to side-channel attacks, and power leakage [ 10 ] . The Advanced Encryption Standard (AES) is a widely adopted countermeasure, but software-based AES is computationally intensive and ill-suited for real-time applications [ 11 ] . Embedding AES directly into PiM architectures mitigates these issues by protecting data in place, reducing latency, and minimizing the observable attack surface [ 12 , 13 ] . In this work, we introduce SPiME , a scalable and lightweight AES-128 encryption system embedded within a PiM framework and implemented in Verilog. Each PiM unit integrates an aes_core —comprising submodules sub_bytes , shift_rows , and mix_columns —with a pim_controller for key scheduling and I/O. The system supports throughput scaling via a parameterized NUM_PIMs variable, enabling parallel encryption across distributed memory banks. SPiMe is designed for FPGA compatibility, modular reuse, and energy-efficient secure computation at the edge. It addresses critical performance and security requirements for PiM-based IoT platforms, providing a practical foundation for secure, high-throughput data processing. II Related Work AES has been widely implemented in hardware to improve performance, energy efficiency, and area utilization [ 14 , 15 , 16 , 17 , 18 , 19 , 20 , 21 , 22 , 23 , 24 , 25 , 26 , 27 ] . Prior designs have focused on optimizing resource-constrained implementations [ 28 , 11 ] , improving resistance to side-channel attacks through balanced logic [ 13 ] , and achieving high throughput using pipelined and parallel structures [ 8 , 29 ] . Other efforts are application-specific, such as targeting 5G networks [ 12 ] or employing approximate computing to save energy [ 10 ] , though these may compromise security. Xu et al. [ 9 ] introduced a PiM-based AES integrated into DRAM, but their approach relies on custom memory technology, limiting portability and compatibility with FPGA platforms. Chaves et al. [ 30 ] presented a polymorphic AES core that merges SubBytes and MixColumns operations to reduce resource usage and improve throughput. Iranfar et al. [ 31 ] developed a spintronic-based AES design for PiM, which offers strong resistance to power-based side-channel attacks through a symmetrical logic structure and uniform power profile. Liu et al. [ 32 ] proposed AESPIM for real-time video encryption, incorporating system-level enhancements such as data/user-level parallelism and QoS-aware scheduling to improve streaming performance. Instruction-level approaches [ 33 ] leverage AES-specific ISA extensions or general-purpose operations like Pread and byte_perm, achieving fast encryption on CPUs but relying on specialized hardware and typically supporting only non-feedback encryption modes. In contrast, our work introduces a modular and reconfigurable FPGA-based AES architecture designed for Processing-in-Memory (PiM) systems. By integrating multiple AES-128 cores with lightweight controllers, our design enables parallel and pipelined encryption directly near memory. This significantly reduces data movement and memory access overhead, leading to improved throughput and energy efficiency. Unlike solutions that require custom memory or CPU instruction extensions, our architecture supports flexible deployment across FPGA platforms, making it well-suited for secure, scalable, and energy-aware applications in edge and embedded environments. Fig. 1: Proposed SPiME System. III Design and Architectures Our proposed architecture SPiME (Secure Processor in Memory Encryption) is designed as an array of parallel multiple processor-in-memory (PiM) units where each PiM comprises a PiM controller and an AES core. The design is fully described in Verilog and features a modular organization that promotes scalability, reusability, and clarity. Figure 1 illustrates the full SPiME architecture, composed of an array of multiple PiM units. Each PiM unit receives its plaintext input (data_in) and encryption key from buffers managed by the CPU. The operation of the PiM units is directed by a set of control signals originating from the CPU. After processing, each PiM unit outputs the ciphertext to a corresponding output buffer. The experimental evaluation presented in this work focuses specifically on the SPiME component itself, excluding analysis of the resource usage or performance of the surrounding system. The followning subsections are description of SPiME and its components. III-A Top-Level System This is the main module that instantiates multiple PiM processing units, each consisting of a PiM_Controller and an associated AES_Core. It includes a parameter, NUM_PiMs, which defines the number of parallel encryption units operating in the system. The top-level module coordinates global input/control signals such as system clock, reset, encryption start, and plaintext/key input. It gathers outputs from each processing unit and can be extended to include aggregation, output buffering, or interfacing to a larger memory subsystem. Figure 2 presents the design units of n processor-in-memory units. III-B PiM Controller Each PiM_Controller is responsible for orchestrating the AES encryption process for its assigned memory block. As shown in Algorithm 1 , it handles: Start/Done Handshaking initiates the AES core when