计算机工程与应用2018,Vol.54Issue(3):74-81,8.DOI:10.3778/j.issn.1002-8331.1608-0248
基于OpenSSL的SM2与RSA自动切换算法的设计
Design of automatic switching algorithm between SM2 and RSA based on OpenSSL
贾冀芳 1张立新 1廖明耀1
作者信息
- 1. 北京中电普华信息技术有限公司 研发事业部,北京 100192
- 折叠
摘要
Abstract
Based on observation that security of national commercial cipher algorithms(national cipher algorithms)is stronger than general cipher algorithms, and the performance is weaker than general cipher algorithms, an automatic switching algorithm between SM2 and RSA based on OpenSSL is designed in order to improve system security under the premise of performance standards. SSL/TLS handshake protocol is given the priority to use SM2 algorithm, before new connections per second reaches a certain peak. When the new connection rate of SM2 can not meet the demand, the system automatically switches to the RSA algorithm to reach the higher rate. The algorithm is extended on the data structure and function of OpenSSL. The experimental results show that the SM2 algorithm and RSA algorithm can be switched automat-ically when the new SSL/TLS connection rate reaches a certain value. The algorithm can effectively improve the system security under the premise of meeting the performance requirements.关键词
SSL/TLS协议/SM2算法/RSA算法/自动切换算法/OpenSSLKey words
SSL/TLS/SM2 algorithm/RSA algorithm/automatic switching algorithm/OpenSSL分类
信息技术与安全科学引用本文复制引用
贾冀芳,张立新,廖明耀..基于OpenSSL的SM2与RSA自动切换算法的设计[J].计算机工程与应用,2018,54(3):74-81,8.