Taking Cryptography Out of the Data Path via Near-Memory Processing in DRAM
By Nicola Barcarolo 1, Brahmaiah Gandham 1, Mohammad Sadrosadati 2, Roberto Passerone 1, Onur Mutlu 2, Flavio Vella 1
1 University of Trento, Italy
2 ETH Zurich, Switzerland

Abstract
Cryptographic algorithms such as AES-128 and SHA-256 are fundamental to ensuring data security and integrity. Although these algorithms are computationally efficient, their performance is often constrained by the processor-centric architectures (e.g., CPUs, GPUs), primarily due to the memory bottleneck. This constraint leads to increased latency and higher energy consumption, particularly when handling large volumes of data. To overcome these challenges, Processing-in-Memory (PIM) has emerged as a promising architectural paradigm, allowing computation to occur directly within or near memory units. By minimizing data movement between the processor and memory units, PIM can significantly accelerate cryptographic algorithms while improving energy efficiency. Several pieces of prior work have demonstrated the effectiveness of PIM at fundamentally accelerating cryptographic algorithms. However, none of the prior works have extensively demonstrated the potential of a real-world PIM system. In this paper, we want to investigate the potential and limitations of real-world PIM in accelerating cryptographic algorithms. As part of our methodology, the UPMEM PIM architecture is used to assess the scalability of cryptographic algorithms. When these algorithms operate on a single rank, their performance remains below that of modern CPUs. However, distributing the computation across multiple ranks significantly enhances performance. When all available ranks are utilized, real-world PIM can accelerate cryptographic algorithms more effectively.
CCS Concepts: • Computer systems organization → Parallel architectures; • Computing methodolo gies → Parallel computing methodologies.
Additional Key Words and Phrases: Processing-in-memory, Architectures, Parallel Computing, Cryptography
To read the full article, click here
Related Semiconductor IP
- SHA-256 Secure Hash Function
- 256-bit SHA Secure Hash Crypto Engine
- SHA-256 and SHA-224
- HKDF/HMAC/SHA-256/SHA-512, SHA-256 IP Core with Extended Functionalities
- HKDF/HMAC/SHA-256, SHA-256 IP Core with Extended Functionalities
Related Articles
- Terracotta: Enabling the Adoption of New DRAM Techniques via a Flexible DRAM Interface and Memory Controller
- The rise of FPGA technology in High-Performance Computing
- The Role of Interconnection in the Evolution of Advanced Packaging Technology
- Understanding the Importance of Prerequisites in the VLSI Physical Design Stage
Latest Articles
- Terracotta: Enabling the Adoption of New DRAM Techniques via a Flexible DRAM Interface and Memory Controller
- A Framework for Accelerating Transformer Inference on RISC-V for Edge AI
- An Interleaved Parallel Dependent Quantization Hardware Architecture for H.266/VVC
- A Formal Security Analysis of CAN XL
- A Secure dToF LiDAR SoC with Dual-Domain Fingerprinting and Event-Driven AFE Circuit Achieving Sensor-Level Attack Resilience