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
- 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
- Revolutionizing AI Inference: Unveiling the Future of Neural Processing
Latest Articles
- FlexSpIM: An Event-Based Digital Compute-In-Memory Accelerator with Flexible Operand Resolution and Layer-Wise Hybrid Stationarity
- MeshKV: A Network-on-Chip KV Cache Fabric for Scalable Transformer Decoding Accelerators
- Analog Pin Directionality as an Exfiltration Attack Surface in Mixed-Signal ICs
- SIMT-Aware Lockstep Verification and Functional-Coverage Closure Methodology for an Open-Source RISC-V GPGPU: A UVM 1.2 Environment
- Efficient Hardware Information-Flow Tracking for Pre-Silicon Security Testing