一种基于SM4密码算法的DSP程序文件加密保护技术研究
Research on the Encryption and Protection Technology of DSP Program File Based on SM4 Cipher Algorithm
DOI: 10.12677/CSA.2020.1012243, PDF,  被引量   
作者: 李艳军, 赵东升, 李 思:北京京航计算通讯研究所,北京
关键词: SM4密码算法DSP程序文件加密保护SM4 Cipher Algorithm DSP Program File Encryption Protection
摘要: 针对专用加密芯片进行DSP程序文件加密保护的成本高、需改变系统硬件架构、开发调试周期较长等现存问题,提出一种基于SM4密码算法的DSP程序文件加密保护方法。该方法是在DSP程序文件编译生成后,利用SM4密码算法对其进行加密处理,并将生成的密文程序文件存储于Flash中,只有在DSP上电运行时从Flash中读取该密文程序文件并结合匹配的密钥完成解密加载后才能正常运行。该方法以软件的方式实现了DSP程序文件的加密保护,可在不改变DSP硬件系统架构的情况下对DSP程序文件进行有效的加密保护,从而降低了硬件成本、提高了系统的安全性。
Abstract: In view of the high cost, the need to change the system hardware architecture, and the long development and debugging cycle of DSP program file encryption with special encryption chip, this paper proposes a method of DSP program file encryption and protection based on SM4 encryption algorithm. In this method, after DSP program file is compiled and generated, SM4 cipher algorithm is used to encrypt it, and the generated ciphertext program file is stored in Flash. Only after DSP power on runs, the ciphertext program file is read from Flash and decrypted and loaded with the matching key, can it run normally. This method realizes the encryption and protection of DSP program files in the form of software, which can effectively encrypt and protect the program files loaded with DSP without changing the architecture of DSP hardware system, thus reducing the hardware cost and improving the security of the system.
文章引用:李艳军, 赵东升, 李思. 一种基于SM4密码算法的DSP程序文件加密保护技术研究[J]. 计算机科学与应用, 2020, 10(12): 2306-2314. https://doi.org/10.12677/CSA.2020.1012243

参考文献

[1] TMS320x2833x Technical Reference Manual. Texas Instruments Corporation, 2006.
[2] 刘长军, 林嘉宇. 为DSP程序构造的加密体制[J]. 单片机与嵌入式系统应用, 2002(4): 5-7.
[3] 冯燕强, 等. SM4算法原理及实现[J]. 有线电视技术, 2019(6): 94-96.
[4] 卞建秀, 等. 基于SM4和ECC的混合加密算法研究[J]. 计算机应用与软件, 2016, 33(10): 303-306.
[5] 王小云, 于红波. SM3密码杂凑算法[J]. 信息安全研究, 2016, 2(11): 983-994.
[6] 孙东亚. TMS320C6000系列DSP多应用的启动方法[J]. 信息通信, 2017(3): 51-52.
[7] 余国义, 等. 一种适用于DSP的安全模块的设计[J]. 微电子学与计算机, 2009, 26(7): 1-4.