Abstract
As non-volatile memories (NVMs) become integral to edge computing and AI accelerators, they introduce significant security risks, specifically physical data theft. Traditional encryption methods like the Advanced Encryption Standard (AES) impose heavy latency and power overheads. This paper presents a hardware-native encryption scheme that leverages the intrinsic physics of Ferroelectric Field-Effect Transistors (FeFETs). By implementing a 2-FeFET cell structure, the proposed design performs in-situ XOR operations during memory access. Experimental results on a 28nm HKMG platform demonstrate a ~90% reduction in encryption/decryption latency and a 22x throughput increase compared to conventional AES-based architectures, with minimal impact on power and area.
Introduction
Non-volatile memories (NVMs) are highly valued for their near-zero leakage power and data retention capabilities. However, these same properties make them vulnerable to "stolen memory attacks," where an adversary physically removes the memory module to extract sensitive information, such as proprietary AI model weights or user credentials.
While the Advanced Encryption Standard (AES) is the industry benchmark for securing data, its implementation in resource-constrained environments is problematic. AES requires dedicated hardware engines that consume significant silicon area and power. Furthermore, the process of encrypting data before it is written to NVM creates a "vulnerability window" and introduces substantial latency. To address these challenges, this research explores moving security functions from the system logic level directly into the memory circuit level.
The In-Situ Encryption Framework
The core of the proposed solution lies in exploiting the unique switching characteristics of Ferroelectric Field-Effect Transistors (FeFETs). In a FeFET, the threshold voltage ($V_{TH}$) can be non-volatily programmed to high or low states, representing binary data.
1. The 2-FeFET Cell Design
Rather than the standard one-transistor (1T) per bit approach, the researchers utilize a 2-FeFET cell. This configuration couples two transistors to represent a single bit of information in a complementary fashion. This redundancy is the key to enabling differential sensing and logical operations within the array itself.
2. In-Situ XOR Logic
Encryption is achieved by performing a bitwise XOR between the plaintext (PT) and a secret key to generate ciphertext (CT). In this architecture, the CT is stored as complementary $V_{TH}$ states across the 2-FeFET cell.
3. Key-Dependent Decryption
Decryption is seamlessly integrated into the memory's natural sensing cycle. By applying specific read voltage patterns ($V_R$) to the word lines based on the secret key, the circuit only yields the correct plaintext if the applied key matches the internal state. If an unauthorized user attempts to read the memory without the correct key, the output appears as random noise (the ciphertext). This approach effectively eliminates the "vulnerability window," as data is stored in an encrypted state and only exists as plaintext during an authorized read operation.
Experimental Methodology
The proposed scheme was validated using a 128x128 FeFET AND-type array fabricated on a 28nm High-K Metal Gate (HKMG) platform. To evaluate the system-level impact, the researchers utilized SCALE-Sim, a cycle-accurate simulator for CNN accelerators. The performance was tested against six popular neural network workloads: AlexNet, MobileNet, FasterRCNN, Googlenet, Resnet18, and Yolo_tiny. The baseline for comparison was a standard 28nm CMOS AES accelerator.
Results and Discussion
The hardware-native approach demonstrated significant performance gains over traditional AES implementations:
- Throughput: The system achieved 640 Mbps for encryption and 400 Mbps for decryption, representing a 22.6x and 14.1x increase, respectively, over the AES baseline.
- Latency: Encryption of 128-bit data blocks required only 5 cycles, compared to 115.5 cycles for the AES-based method.
- AI Workload Impact: Across the six neural network benchmarks, the FeFET-based scheme resulted in an average latency reduction of approximately 90%.
- Efficiency: Because the design utilizes the existing memory array structure and replaces complex AES logic with simple XOR gates, the area and power overheads are negligible.
Limitations
Despite the performance advantages, the 2-FeFET cell structure introduces a density trade-off, effectively halving the storage capacity compared to a standard 1T FeFET memory. Additionally, while the mechanism for encryption is robust, the management of secret keys and the long-term endurance of FeFETs under frequent ciphertext writes remain areas for future investigation.
Conclusion
By embedding security directly into the memory sensing operation, this research provides a path toward high-performance, secure NVMs for edge AI. The transition from system-level logic to device-level physics allows for a lightweight encryption scheme that significantly reduces the latency and power barriers typically associated with data protection in non-volatile hardware.
Summary updated