没有合适的资源?快使用搜索试试~ 我知道了~
SM2椭圆曲线公钥密码算法(完整)
4星 · 超过85%的资源 需积分: 48 223 下载量 32 浏览量
2016-08-10
07:47:00
上传
评论 8
收藏 1.74MB PDF 举报
温馨提示
国密局发布的SM2椭圆曲线公钥密码算法文档,pdf,完整版的。1、总则;2、数字签名算法;3、密码交换协议;4、公钥加密算法
资源推荐
资源详情
资源评论
SM2椭圆曲线公钥密码算法
第1部分:总则
Public Key Cryptographic Algorithm SM2 Based on Elliptic Curves
Part 1: General
国家密码管理局
2010年12月
目目目 次次次
前言····················································································· IV
引言····················································································· V
1 范围······················································································ 1
2 符号和缩略语············································································· 1
3 域和椭圆曲线············································································· 2
3.1 有限域 ················································································ 2
3.1.1 概述 ··········································································· 2
3.1.2 素域F
p
········································································· 2
3.1.3 二元扩域F
2
m
···································································· 2
3.2 有限域上的椭圆曲线 ··································································· 2
3.2.1 F
p
上的椭圆曲线 ································································ 3
3.2.2 F
2
m
上的椭圆曲线 ······························································· 3
3.2.3 椭圆曲线群 ···································································· 3
3.2.4 椭圆曲线多倍点运算 ··························································· 4
3.2.5 椭圆曲线离散对数问题(ECDLP) ················································ 4
3.2.6 弱椭圆曲线 ···································································· 4
4 数据类型及其转换 ········································································ 5
4.1 数据类型 ·············································································· 5
4.2 数据类型转换 ········································································· 5
4.2.1 整数到字节串的转换 ··························································· 5
4.2.2 字节串到整数的转换 ··························································· 6
4.2.3 比特串到字节串的转换 ························································· 6
4.2.4 字节串到比特串的转换 ························································· 6
4.2.5 域元素到字节串的转换 ························································· 6
4.2.6 字节串到域元素的转换 ························································· 6
4.2.7 域元素到整数的转换 ··························································· 6
4.2.8 点到字节串的转换 ······························································ 7
4.2.9 字节串到点的转换 ······························································ 7
5 椭圆曲线系统参数及其验证································································ 8
5.1 一般要求 ·············································································· 8
5.2 F
p
上椭圆曲线系统参数及其验证························································ 8
5.2.1 F
p
上椭圆曲线系统参数 ························································· 8
5.2.2 F
p
上椭圆曲线系统参数的验证··················································· 8
5.3 F
2
m
上椭圆曲线系统参数及其验证 ······················································· 8
5.3.1 F
2
m
上椭圆曲线系统参数························································· 8
5.3.2 F
2
m
上椭圆曲线系统参数的验证 ·················································· 9
6 密钥对的生成与公钥的验证································································ 9
6.1 密钥对的生成 ········································································· 9
6.2 公钥的验证 ············································································ 9
6.2.1 F
p
上椭圆曲线公钥的验证 ······················································· 9
6.2.2 F
2
m
上椭圆曲线公钥的验证 ······················································ 10
I
附录A(资料性附录) 关于椭圆曲线的背景知识 ················································ 11
A.1 素域F
p
················································································ 11
A.1.1 素域F
p
的定义 ·································································· 11
A.1.2 F
p
上椭圆曲线的定义···························································· 11
A.1.3 F
p
上椭圆曲线的阶 ······························································ 13
A.2 二元扩域F
2
m
··········································································· 13
A.2.1 二元扩域F
2
m
的定义 ····························································· 13
A.2.2 F
2
m
上椭圆曲线的定义 ··························································· 19
A.2.3 F
2
m
上椭圆曲线的阶 ····························································· 22
A.3 椭圆曲线多倍点运算 ·································································· 22
A.3.1 概述 ··········································································· 22
A.3.2 椭圆曲线多倍点运算的实现 ····················································· 22
A.3.3 椭圆曲线多倍点运算复杂度估计 ················································ 23
A.4 求解椭圆曲线离散对数问题的方法 ····················································· 24
A.4.1 椭圆曲线离散对数求解方法 ····················································· 24
A.4.2 安全椭圆曲线满足的条件 ······················································· 25
A.5 椭圆曲线上点的压缩 ·································································· 26
A.5.1 概述 ··········································································· 26
A.5.2 F
p
上椭圆曲线点的压缩与解压缩方法 ············································ 26
A.5.3 F
2
m
上椭圆曲线点的压缩与解压缩方法 ··········································· 26
附录B(资料性附录) 数论算法 ································································ 27
B.1 有限域和模运算 ······································································· 27
B.1.1 有限域中的指数运算···························································· 27
B.1.2 有限域中的逆运算 ······························································ 27
B.1.3 Lucas序列的生成 ······························································· 27
B.1.4 模素数平方根的求解···························································· 28
B.1.5 迹函数和半迹函数 ······························································ 28
B.1.6 F
2
m
上二次方程的求解 ··························································· 28
B.1.7 整数模素数阶的检查···························································· 29
B.1.8 整数模素数阶的计算···························································· 29
B.1.9 模素数的阶为给定值的整数的构造 ·············································· 30
B.1.10 概率素性检测 ································································· 30
B.1.11 近似素性检测 ································································· 30
B.2 有限域上的多项式 ····································································· 31
B.2.1 最大公因式····································································· 31
B.2.2 F
2
上不可约多项式在F
2
m
中根的求解 ·············································· 31
B.2.3 基的转换 ······································································· 31
B.2.4 F
2
上多项式不可约性的检测 ····················································· 33
B.3 椭圆曲线算法 ········································································· 33
B.3.1 椭圆曲线阶的计算 ······························································ 33
B.3.2 椭圆曲线上点的寻找···························································· 33
附录C(资料性附录) 曲线示例 ································································ 35
C.1 一般要求 ·············································································· 35
C.2 F
p
上椭圆曲线 ········································································· 35
II
C.3 F
2
m
上椭圆曲线········································································· 35
附录D(资料性附录) 椭圆曲线方程参数的拟随机生成及验证 ··································· 37
D.1 椭圆曲线方程参数的拟随机生成 ······················································· 37
D.1.1 F
p
上椭圆曲线方程参数的拟随机生成 ············································ 37
D.1.2 F
2
m
上椭圆曲线方程参数的拟随机生成 ··········································· 37
D.2 椭圆曲线方程参数的验证 ······························································ 37
D.2.1 F
p
上椭圆曲线方程参数的验证··················································· 38
D.2.2 F
2
m
上椭圆曲线方程参数的验证 ·················································· 38
参考文献 ··················································································· 39
III
前前前 言言言
《SM2椭圆曲线公钥密码算法》分为四个部分:
──第1部分:总则
──第2部分:数字签名算法
──第3部分:密钥交换协议
──第4部分:公钥加密算法
本部分为第1部分。
本部分的附录A、附录B、附录C和附录D为资料性附录。
IV
剩余92页未读,继续阅读
Rainmning
- 粉丝: 6
- 资源: 21
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- C#基于EF架构生产管理糸统源码
- PMSM电机负载观测转矩前馈simulink 基于Luenberger降阶状态观测器,包含PMSM数学模型,PMSM双闭环PI矢量控制,并添加了前馈控制,采用SVPWM调制
- C#上位机,台达DVP系列modbus485通信例子 例子简单易看懂 自己写的程序
- Linux命令大全.docx
- 三菱FX3U与3台欧姆龙E5CC温控器 通讯控制程序功能:通过昆仑通态触摸屏,三菱FX3U 485BD板,实现对3台欧姆龙E5CC温控器 设定温度值,读取实际温度,设定探头类型,设定报警值,设定报警类
- 历史古典古籍资讯类PbootCMS模板(支持手机端和宽屏).zip
- 常用开发语言的正则表达式提取邮箱实例代码.docx
- python3.12.2版本
- Windows App Beta for Mac v11.0.9
- 基于网络的Modbus TCP通讯控制,通过网线连接以太网,本电路板可以控制四路继电器,一路温度,一路湿度,一路烟雾浓度,温湿度测量基于sht30 通过Modbus TCP上传的上位机或手机app
- Alfred 5 for Mac v5.5.1
- 医疗小程序音视频问诊门诊医院药房系统开发源码
- 程序设计代码 (1).zip
- iDownerGo for Mac v9.2.5
- S7-1200控制5轴伺服程序案例 1.PTO伺服轴脉冲定位控制功能应用+速度模式应用+扭矩模式应用 2.程序为结构化编程,每一功能为模块化设计,具有一个项目都有的功能:自动-手动-单步-暂停
- 内点法最优潮流程序matlab 采用内点法对14标准节点系统进行最优潮流计算,程序运行稳定,注释清楚,通用性强
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
- 1
- 2
前往页