JOURNAL ARTICLE

Design and Implementation of SM4 Coprocessor Based on RISC-V

Abstract

A co-processor with SM4 algorithm is designed for information security hazards and the application of RISC-V processor and SM4 algorithm in the security field. The co-processor is designed with a cyclic iterative structure to save resources, while four extension instructions are customized and embedded in the C program using inline assembly to facilitate calls, and the SM4 algorithm is accelerated by hardware and software co-design with independent memory access channels. Finally, the co-processor is described and simulated at the behavioral level by hardware description language, and the co-processor-equipped Hummingbird E203 is deployed on AX7103 FPGA development board for synthesis and analysis. The comprehensive results show that the overall number of encryption and decryption instructions of the SM4 algorithm is reduced by 99.84% and the number of cycles is reduced by 99.62% after adopting the coprocessor, and the proposed design scheme can significantly improve the computing efficiency of the SM4 algorithm.

Keywords:
Coprocessor Computer science Encryption Field-programmable gate array Reduced instruction set computing Embedded system Very long instruction word Parallel computing Instruction set Operating system

Metrics

2
Cited By
0.96
FWCI (Field Weighted Citation Impact)
10
Refs
0.64
Citation Normalized Percentile
Is in top 1%
Is in top 10%

Citation History

Topics

Parallel Computing and Optimization Techniques
Physical Sciences →  Computer Science →  Hardware and Architecture
Security and Verification in Computing
Physical Sciences →  Computer Science →  Artificial Intelligence
Radiation Effects in Electronics
Physical Sciences →  Engineering →  Electrical and Electronic Engineering

Related Documents

© 2026 ScienceGate Book Chapters — All rights reserved.