Design of RLWE Cryptoprocessor Based on Vector-Instruction Extension with RISC-V Architecture

被引:0
|
作者
Zhang, Quan [1 ]
Huang, Yujie [1 ]
Cai, Yujie [1 ]
Pang, Yalong [1 ]
Han, Jun [1 ]
机构
[1] Fudan Univ, State Key Lab ASIC & Syst, Shanghai 200433, Peoples R China
基金
美国国家科学基金会;
关键词
D O I
暂无
中图分类号
TM [电工技术]; TN [电子技术、通信技术];
学科分类号
0808 ; 0809 ;
摘要
A ring learning with errors(RLWE) cryptoprocessor based on the RISC-V instruction set architecture is proposed in this work. The cryptoprocessor is integration of RISC-V core and co-processor. The co-processor is designed to complete complex polynomial operation such as addition, subtraction and multiplication. And RISC-V core is responsible for sending simple signals to control the operation of co-processor. To support parallel data processing and increase the bandwidth of accessing memory, this work extends vector channels and uses vector paths in internal data bus to transfer data. Besides, Operands adopt a memory-memory approach to reduce the latency of accessing data. The polynomial multiplication chooses the algorithm based on number theoretic transform(NTT). In the cryptosystem, arithmetic operations are performed on the NTT domain, which avoids the frequent operations of conversion to the finite-loop domain. And polynomial processing unit adopts the architecture of 8-lanes commutator to improve the degree of data parallelism. Barrett algorithm is chosen as module reduction operation in finite-loop domain. Simulation results show that RLWE cryptoprocessor operates properly and requires 60.5/22.0us to complete encryption/cleciyption. Results depict time-taken in encryption and decryption are both reduced comparing to designs based on FPGA Virtrex.
引用
收藏
页码:135 / 137
页数:3
相关论文
共 50 条
  • [21] Instruction Extension of a RISC-V Processor Modeled with IP-XACT
    Payvar, Saman
    Pekkarinen, Esko
    Stahl, Rafael
    Mueller-Gritschneder, Daniel
    Hamalainen, Timo D.
    2019 IEEE NORDIC CIRCUITS AND SYSTEMS CONFERENCE (NORCAS) - NORCHIP AND INTERNATIONAL SYMPOSIUM OF SYSTEM-ON-CHIP (SOC), 2019,
  • [22] Efficient Processing-in-Memory System Based on RISC-V Instruction Set Architecture
    Lim, Jihwan
    Son, Jeonghun
    Yoo, Hoyoung
    ELECTRONICS, 2024, 13 (15)
  • [23] Design of IOMMU Based on RISC-V
    Wang, Zhendao
    Ban, Guilong
    Hu, Jin
    Jiao, Xufeng
    Hunan Daxue Xuebao/Journal of Hunan University Natural Sciences, 2024, 51 (06): : 187 - 194
  • [24] RISC-V Virtualization: Exploring Virtualization in an Open Instruction Set Architecture
    Liang, Zhiyuan
    Li, Tianzheng
    Cui, Enfang
    2024 5TH INTERNATIONAL CONFERENCE ON COMPUTING, NETWORKS AND INTERNET OF THINGS, CNIOT 2024, 2024, : 473 - 477
  • [25] An Efficient Instruction Fetch Architecture for a RISC-V Soft Processor on an FPGA
    Miyazaki, Hiromu
    Miura, Junya
    Kise, Kenji
    PROCEEDINGS OF THE 10TH INTERNATIONAL SYMPOSIUM ON HIGHLY EFFICIENT ACCELERATORS AND RECONFIGURABLE TECHNOLOGIES (HEART), 2019,
  • [26] The design of scalar aes instruction set extensions for risc-v
    Marshall B.
    Newell G.R.
    Page D.
    Saarinen M.-J.O.
    Wolf C.
    IACR Transactions on Cryptographic Hardware and Embedded Systems, 2020, 2021 (01): : 109 - 136
  • [27] Digital Design and RISC-V Computer Architecture Textbook
    Harris, Sarah L.
    Harris, David
    2021 ACM/IEEE WORKSHOP ON COMPUTER ARCHITECTURE EDUCATION (WCAE), 2021,
  • [28] An Optimized Implementation of Activation Instruction Based on RISC-V
    Yu, Hongjiang
    Yuan, Guoshun
    Kong, Dewei
    Chen, Chuhuai
    ELECTRONICS, 2023, 12 (09)
  • [29] A Compression Instruction Set Design based on RISC-V for Network Packet Forwarding
    Cao, Z.
    Lv, Q.
    Wang, Y.
    Wen, M.
    Wu, N.
    Zhang, C.
    2018 INTERNATIONAL CONFERENCE ON ELECTRONICS, COMMUNICATIONS AND CONTROL ENGINEERING (ICECC), 2018, 1026
  • [30] RISC-VTF: RISC-V Based Extended Instruction Set for Transformer
    Jiao, Qiang
    Hu, Wei
    Liu, Fang
    Dong, Yong
    2021 IEEE INTERNATIONAL CONFERENCE ON SYSTEMS, MAN, AND CYBERNETICS (SMC), 2021, : 1565 - 1570