国密SM2密码算法的C语言实现

中国新通信 / 2017年12月01日 12:18

新闻

在ios中调用C语言的国密算法SM2以替换RSA

邢维哲

【摘要】 N.Koblitz和V.Miller在1985年各自獨立地提出将椭圆曲线应用于公钥密码系统。SM2椭圆曲线密码算法是国家密码管理局批准的一组算法,在电力自动化通讯中得到了广泛应用。本文介绍了SM2椭圆曲线公钥密码算法和加密解密算法中一部分过程的C语言实现。

【关键词】 椭圆曲线 SM2 密码算法 公钥 加密解密

Implementation of Public Key Cryptographic Algorithm SM2 based on C language XINGWEIZHE (1. XINGWEIZHE COLLEGE OF ENGINEERING, PEKING UNIVERSITY,BEIJING,100871)

Abstract: Applying elliptic curves on public key cryptosystem was put forward independently by Koblitz and V.Miller in 1985. Public Key Cryptographic Algorithm SM2 is Public Key Cryptographic Algorithm SM2, as the Chinese national cryptographic standard, is widely used in communications of automation system. This paper introduces elliptic curve cryptosystem and gives an implementation based on C language.

Key word: elliptic curve cryptosystem; Public Key Cryptographic Algorithm SM2; elliptic curveendprint

1.环球科技网遵循行业规范,任何转载的稿件都会明确标注作者和来源;2.环球科技网的原创文章,请转载时务必注明文章作者和"来源:环球科技网",不尊重原创的行为环球科技网或将追究责任;3.作者投稿可能会经环球科技网编辑修改或补充。