arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2009.14685cs.ARcs.CR
收藏

一种具有快速模乘功能的嵌入式RISC-V核

An Embedded RISC-V Core with Fast Modular Multiplication

Ömer Faruk Irmak, Arda Yurdakul

摘要:

物联网最大的问题之一是隐私和安全。加密和身份验证需要大的功率预算,而电池供电的物联网终端节点没有。为特定加密操作设计的硬件加速器为未来的更新提供了很少或根本没有灵活性。自定义指令解决方案的面积更小,并为要实施的新方法提供更大的灵活性。自定义指令的一个缺点是处理器必须等待操作完成。最终,设备对实时事件的响应时间会变长。在这项工作中,我们提出了一个处理器与扩展的自定义指令的模乘,块处理器,通常,两个周期的任何大小的模乘时,在部分执行模式下使用。我们为概念验证CPU采用了RISC-V的嵌入式和压缩扩展。我们的设计是在椭圆曲线密码学领域的最新密码算法的基准。我们的128位模乘CPU在ASIC上的工作频率为136 MHz,在FPGA上的工作频率为81 MHz。它实现了高达13倍的软件实现速度,同时降低了高达95%的整体功耗与41%的平均面积开销比我们的基础架构。

英文摘要:

One of the biggest concerns in IoT is privacy and security. Encryption and authentication need big power budgets, which battery-operated IoT end-nodes do not have. Hardware accelerators designed for specific cryptographic operations provide little to no flexibility for future updates. Custom instruction solutions are smaller in area and provide more flexibility for new methods to be implemented. One drawback of custom instructions is that the processor has to wait for the operation to finish. Eventually, the response time of the device to real-time events gets longer. In this work, we propose a processor with an extended custom instruction for modular multiplication, which blocks the processor, typically, two cycles for any size of modular multiplication when used in Partial Execution mode. We adopted embedded and compressed extensions of RISC-V for our proof-of-concept CPU. Our design is benchmarked on recent cryptographic algorithms in the field of elliptic-curve cryptography. Our CPU with 128-bit modular multiplication operates at 136MHz on ASIC and 81MHz on FPGA. It achieves up to 13x speed up on software implementations while reducing overall power consumption by up to 95\% with 41\% average area overhead over our base architecture.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑