← Latest papers
💻 computer science

Crypto-RV: High-Efficiency FPGA-Based RISC-V Cryptographic Co-Processor for IoT Security

This paper presents Crypto-RV, a high-efficiency FPGA-based RISC-V co-processor that unifies support for diverse cryptographic algorithms within a single 64-bit datapath, achieving significant speedups and energy efficiency improvements over baseline cores and CPUs to secure resource-constrained IoT environments.

Original authors: Anh Kiet Pham, Van Truong Vo, Vu Trung Duong Le, Tuan Hai Vu, Hoai Luan Pham, Van Tinh Nguyen, Yasuhiko Nakashima

Published 2026-02-05
📖 4 min read☕ Coffee break read

Original authors: Anh Kiet Pham, Van Truong Vo, Vu Trung Duong Le, Tuan Hai Vu, Hoai Luan Pham, Van Tinh Nguyen, Yasuhiko Nakashima

Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

Imagine your computer or smart device is a busy kitchen. In this kitchen, the Chef (the main processor) is trying to prepare a complex meal, but a huge part of the job involves constantly running to the pantry to grab ingredients, chopping them, and then running back to the pantry to store the leftovers. This "running back and forth" takes up most of the time, leaving the actual cooking to happen very slowly.

In the world of digital security, this "cooking" is called cryptography. It's the process of scrambling data to keep it safe (like locking a diary) or checking if a message has been tampered with (like a wax seal on a letter). Currently, many devices (especially small ones like IoT sensors) are slow at this because they keep running back and forth to their "pantry" (memory) to get the data they need.

Crypto-RV is a new, super-efficient "specialized sous-chef" designed to fix this problem. Here is how it works, using simple analogies:

1. The Problem: The "Pantry Run" Bottleneck

In standard devices, when the main processor needs to do a security check, it has to:

  1. Go to memory to get a chunk of data.
  2. Do a math operation.
  3. Go back to memory to save the result.
  4. Repeat this hundreds of times.

The paper explains that 70% to 85% of the time is wasted just moving data, not actually doing the math. It's like a chef who spends 10 minutes walking to the fridge and 1 minute chopping an onion.

2. The Solution: The "All-in-One" Counter (Crypto-RV)

The researchers built a special co-processor called Crypto-RV. Think of this as a dedicated counter right next to the stove that holds everything the chef needs for the entire recipe.

  • The Big Buffer (The Counter): Instead of running to the pantry, Crypto-RV has a massive, high-speed internal counter (a 128x64-bit buffer). It loads all the necessary ingredients (data and constants) once at the start. Then, it keeps all the intermediate steps right on the counter. The chef never has to leave the stove.
  • The Specialized Tools (The Engines): Instead of using one generic knife for everything, Crypto-RV has specialized tools built right into the counter. It has specific engines for different types of security "recipes":
    • SHA-2 & SHA-3 & SM3: These are like different types of "hashing" (creating a unique fingerprint for data). The new design unifies these so one set of tools can handle all of them efficiently.
    • AES: This is for locking and unlocking data (encryption).
    • HARAKA: This is a newer, lighter tool designed for future "quantum-proof" security (protecting against super-fast future computers).

3. The "Double-Buffer" Trick (The Assembly Line)

Even with the counter, if you have a huge amount of data (like a whole truckload of vegetables), you still need to keep the counter full while you work.

Crypto-RV uses a Double-Buffering system. Imagine two buckets:

  • Bucket A is being used by the chef to cook right now.
  • Bucket B is being filled by a delivery truck (DMA) with the next batch of ingredients.

As soon as the chef finishes Bucket A, they instantly switch to Bucket B, while the delivery truck fills up a fresh Bucket A. This means the chef never stops cooking waiting for ingredients. The paper claims this makes the process continuous and eliminates the "waiting for the pantry" problem.

4. The Results: Speed and Efficiency

The researchers tested this on a chip (FPGA) and compared it to:

  • Standard RISC-V processors (the basic kitchen).
  • Powerful CPUs (like the ones in high-end laptops and servers).

The findings were impressive:

  • Speed: Crypto-RV is 165 to 1,061 times faster than a standard processor at doing these security tasks.
  • Energy: It is 5.8 to 17.4 times more energy-efficient than powerful CPUs. This is huge for battery-powered devices like smart sensors or IoT gadgets.
  • Size: Despite doing all this, it fits into a very small space on a chip (using only about 34,000 tiny logic blocks), making it perfect for small devices.

Summary

Crypto-RV is a specialized hardware assistant for RISC-V computers. It solves the problem of "running back and forth" to memory by keeping all data close at hand on a high-speed internal counter. It uses specialized tools to handle many different security algorithms at once and uses a "two-bucket" system to ensure it never stops working. The result is a device that secures data incredibly fast while using very little power, making it ideal for the Internet of Things (IoT) and edge computing.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →