Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Third Party Openssl
提交
228b4e42
T
Third Party Openssl
项目概览
OpenHarmony
/
Third Party Openssl
大约 1 年 前同步成功
通知
9
Star
18
Fork
1
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
T
Third Party Openssl
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
228b4e42
编写于
4月 04, 2006
作者:
D
Dr. Stephen Henson
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Update and add last (?) set of GOST OIDs.
上级
a4974de9
变更
4
显示空白变更内容
内联
并排
Showing
4 changed file
with
37 addition
and
9 deletion
+37
-9
crypto/objects/obj_dat.h
crypto/objects/obj_dat.h
+18
-7
crypto/objects/obj_mac.h
crypto/objects/obj_mac.h
+11
-1
crypto/objects/obj_mac.num
crypto/objects/obj_mac.num
+2
-0
crypto/objects/objects.txt
crypto/objects/objects.txt
+6
-1
未找到文件。
crypto/objects/obj_dat.h
浏览文件 @
228b4e42
...
...
@@ -62,12 +62,12 @@
* [including the GNU Public Licence.]
*/
#define NUM_NID 80
0
#define NUM_SN 79
6
#define NUM_LN 79
6
#define NUM_OBJ 7
58
#define NUM_NID 80
2
#define NUM_SN 79
8
#define NUM_LN 79
8
#define NUM_OBJ 7
60
static
unsigned
char
lvalues
[
53
33
]
=
{
static
unsigned
char
lvalues
[
53
45
]
=
{
0x00
,
/* [ 0] OBJ_undef */
0x2A
,
0x86
,
0x48
,
0x86
,
0xF7
,
0x0D
,
/* [ 1] OBJ_rsadsi */
0x2A
,
0x86
,
0x48
,
0x86
,
0xF7
,
0x0D
,
0x01
,
/* [ 7] OBJ_pkcs */
...
...
@@ -826,6 +826,8 @@ static unsigned char lvalues[5333]={
0x2A
,
0x85
,
0x03
,
0x02
,
0x09
,
0x01
,
0x03
,
0x03
,
/* [5308] OBJ_id_GostR3410_11_94_with_GostR3411_94_cc */
0x2A
,
0x85
,
0x03
,
0x02
,
0x09
,
0x01
,
0x03
,
0x04
,
/* [5316] OBJ_id_GostR3410_2001_with_GostR3411_94_cc */
0x2A
,
0x85
,
0x03
,
0x02
,
0x09
,
0x01
,
0x08
,
0x01
,
/* [5324] OBJ_id_GostR3410_2001_ParamSet_cc */
0x2A
,
0x85
,
0x03
,
0x02
,
0x02
,
0x09
,
/* [5332] OBJ_id_GostR3411_94 */
0x2A
,
0x85
,
0x03
,
0x02
,
0x02
,
0x17
,
/* [5338] OBJ_id_GostR3411_94_prf */
};
static
ASN1_OBJECT
nid_objs
[
NUM_NID
]
=
{
...
...
@@ -2103,7 +2105,7 @@ static ASN1_OBJECT nid_objs[NUM_NID]={
&
(
lvalues
[
5270
]),
0
},
{
"id-GostR3410-94-bBis"
,
"id-GostR3410-94-bBis"
,
NID_id_GostR3410_94_bBis
,
7
,
&
(
lvalues
[
5277
]),
0
},
{
"id-Gost28147-89-cc"
,
"GOST 28147-89 Cryptocom"
,
{
"id-Gost28147-89-cc"
,
"GOST 28147-89 Cryptocom
ParamSet
"
,
NID_id_Gost28147_89_cc
,
8
,
&
(
lvalues
[
5284
]),
0
},
{
"gost94cc"
,
"GOST 34.10-94 Cryptocom"
,
NID_id_Gost3410_94_cc
,
8
,
&
(
lvalues
[
5292
]),
0
},
...
...
@@ -2118,6 +2120,9 @@ static ASN1_OBJECT nid_objs[NUM_NID]={
{
"id-GostR3410-2001-ParamSet-cc"
,
"GOST R 3410-2001 Parameter Set Cryptocom"
,
NID_id_GostR3410_2001_ParamSet_cc
,
8
,
&
(
lvalues
[
5324
]),
0
},
{
"md_gost94"
,
"GOST R 34.11-94"
,
NID_id_GostR3411_94
,
6
,
&
(
lvalues
[
5332
]),
0
},
{
"prf-gostr3411-94"
,
"GOST R 34.11-94 PRF"
,
NID_id_GostR3411_94_prf
,
6
,
&
(
lvalues
[
5338
]),
0
},
};
static
ASN1_OBJECT
*
sn_objs
[
NUM_SN
]
=
{
...
...
@@ -2613,6 +2618,7 @@ static ASN1_OBJECT *sn_objs[NUM_SN]={
&
(
nid_objs
[
460
]),
/* "mail" */
&
(
nid_objs
[
493
]),
/* "mailPreferenceOption" */
&
(
nid_objs
[
467
]),
/* "manager" */
&
(
nid_objs
[
800
]),
/* "md_gost94" */
&
(
nid_objs
[
182
]),
/* "member-body" */
&
(
nid_objs
[
51
]),
/* "messageDigest" */
&
(
nid_objs
[
383
]),
/* "mgmt" */
...
...
@@ -2681,6 +2687,7 @@ static ASN1_OBJECT *sn_objs[NUM_SN]={
&
(
nid_objs
[
738
]),
/* "policyMappings" */
&
(
nid_objs
[
661
]),
/* "postalCode" */
&
(
nid_objs
[
669
]),
/* "ppBasis" */
&
(
nid_objs
[
801
]),
/* "prf-gostr3411-94" */
&
(
nid_objs
[
406
]),
/* "prime-field" */
&
(
nid_objs
[
409
]),
/* "prime192v1" */
&
(
nid_objs
[
410
]),
/* "prime192v2" */
...
...
@@ -2937,7 +2944,7 @@ static ASN1_OBJECT *ln_objs[NUM_LN]={
&
(
nid_objs
[
372
]),
/* "Extended OCSP Status" */
&
(
nid_objs
[
172
]),
/* "Extension Request" */
&
(
nid_objs
[
784
]),
/* "GOST 28147-89" */
&
(
nid_objs
[
794
]),
/* "GOST 28147-89 Cryptocom" */
&
(
nid_objs
[
794
]),
/* "GOST 28147-89 Cryptocom
ParamSet
" */
&
(
nid_objs
[
785
]),
/* "GOST 28147-89 MAC" */
&
(
nid_objs
[
796
]),
/* "GOST 34.10-2001 Cryptocom" */
&
(
nid_objs
[
795
]),
/* "GOST 34.10-94 Cryptocom" */
...
...
@@ -2947,6 +2954,8 @@ static ASN1_OBJECT *ln_objs[NUM_LN]={
&
(
nid_objs
[
798
]),
/* "GOST R 34.10-2001 with GOST R 34.10-94 Cryptocom" */
&
(
nid_objs
[
757
]),
/* "GOST R 34.10-94" */
&
(
nid_objs
[
787
]),
/* "GOST R 34.10-94 DH" */
&
(
nid_objs
[
800
]),
/* "GOST R 34.11-94" */
&
(
nid_objs
[
801
]),
/* "GOST R 34.11-94 PRF" */
&
(
nid_objs
[
754
]),
/* "GOST R 34.11-94 with GOST R 34.10-2001" */
&
(
nid_objs
[
755
]),
/* "GOST R 34.11-94 with GOST R 34.10-94" */
&
(
nid_objs
[
799
]),
/* "GOST R 3410-2001 Parameter Set Cryptocom" */
...
...
@@ -3992,11 +4001,13 @@ static ASN1_OBJECT *obj_objs[NUM_OBJ]={
&
(
nid_objs
[
125
]),
/* OBJ_zlib_compression 1 1 1 1 666 2 */
&
(
nid_objs
[
754
]),
/* OBJ_id_GostR3411_94_with_GostR3410_2001 1 2 643 2 2 3 */
&
(
nid_objs
[
755
]),
/* OBJ_id_GostR3411_94_with_GostR3410_94 1 2 643 2 2 4 */
&
(
nid_objs
[
800
]),
/* OBJ_id_GostR3411_94 1 2 643 2 2 9 */
&
(
nid_objs
[
783
]),
/* OBJ_id_HMACGostR3411_94 1 2 643 2 2 10 */
&
(
nid_objs
[
756
]),
/* OBJ_id_GostR3410_2001 1 2 643 2 2 19 */
&
(
nid_objs
[
757
]),
/* OBJ_id_GostR3410_94 1 2 643 2 2 20 */
&
(
nid_objs
[
784
]),
/* OBJ_id_Gost28147_89 1 2 643 2 2 21 */
&
(
nid_objs
[
785
]),
/* OBJ_id_Gost28147_89_MAC 1 2 643 2 2 22 */
&
(
nid_objs
[
801
]),
/* OBJ_id_GostR3411_94_prf 1 2 643 2 2 23 */
&
(
nid_objs
[
786
]),
/* OBJ_id_GostR3410_2001DH 1 2 643 2 2 98 */
&
(
nid_objs
[
787
]),
/* OBJ_id_GostR3410_94DH 1 2 643 2 2 99 */
&
(
nid_objs
[
1
]),
/* OBJ_rsadsi 1 2 840 113549 */
...
...
crypto/objects/obj_mac.h
浏览文件 @
228b4e42
...
...
@@ -3330,6 +3330,11 @@
#define NID_id_GostR3411_94_with_GostR3410_94 755
#define OBJ_id_GostR3411_94_with_GostR3410_94 OBJ_cryptopro,4L
#define SN_id_GostR3411_94 "md_gost94"
#define LN_id_GostR3411_94 "GOST R 34.11-94"
#define NID_id_GostR3411_94 800
#define OBJ_id_GostR3411_94 OBJ_cryptopro,9L
#define SN_id_HMACGostR3411_94 "id-HMACGostR3411-94"
#define LN_id_HMACGostR3411_94 "HMAC GOST 34.11-94"
#define NID_id_HMACGostR3411_94 783
...
...
@@ -3355,6 +3360,11 @@
#define NID_id_Gost28147_89_MAC 785
#define OBJ_id_Gost28147_89_MAC OBJ_cryptopro,22L
#define SN_id_GostR3411_94_prf "prf-gostr3411-94"
#define LN_id_GostR3411_94_prf "GOST R 34.11-94 PRF"
#define NID_id_GostR3411_94_prf 801
#define OBJ_id_GostR3411_94_prf OBJ_cryptopro,23L
#define SN_id_GostR3410_2001DH "id-GostR3410-2001DH"
#define LN_id_GostR3410_2001DH "GOST R 34.10-2001 DH"
#define NID_id_GostR3410_2001DH 786
...
...
@@ -3486,7 +3496,7 @@
#define OBJ_id_GostR3410_94_bBis OBJ_id_GostR3410_94,4L
#define SN_id_Gost28147_89_cc "id-Gost28147-89-cc"
#define LN_id_Gost28147_89_cc "GOST 28147-89 Cryptocom"
#define LN_id_Gost28147_89_cc "GOST 28147-89 Cryptocom
ParamSet
"
#define NID_id_Gost28147_89_cc 794
#define OBJ_id_Gost28147_89_cc OBJ_cryptocom,1L,6L,1L
...
...
crypto/objects/obj_mac.num
浏览文件 @
228b4e42
...
...
@@ -797,3 +797,5 @@ id_Gost3410_2001_cc 796
id_GostR3410_11_94_with_GostR3411_94_cc 797
id_GostR3410_2001_with_GostR3411_94_cc 798
id_GostR3410_2001_ParamSet_cc 799
id_GostR3411_94 800
id_GostR3411_94_prf 801
crypto/objects/objects.txt
浏览文件 @
228b4e42
...
...
@@ -1056,8 +1056,11 @@ iso 0 10118 3 0 55 : whirlpool
member-body 643 2 2 : cryptopro
member-body 643 2 9 : cryptocom
cryptopro 3 : id-GostR3411-94-with-GostR3410-2001 : GOST R 34.11-94 with GOST R 34.10-2001
cryptopro 4 : id-GostR3411-94-with-GostR3410-94 : GOST R 34.11-94 with GOST R 34.10-94
!Cname id-GostR3411-94
cryptopro 9 : md_gost94 : GOST R 34.11-94
cryptopro 10 : id-HMACGostR3411-94 : HMAC GOST 34.11-94
!Cname id-GostR3410-2001
cryptopro 19 : gost2001 : GOST R 34.10-2001
...
...
@@ -1065,6 +1068,8 @@ cryptopro 19 : gost2001 : GOST R 34.10-2001
cryptopro 20 : gost94 : GOST R 34.10-94
cryptopro 21 : id-Gost28147-89 : GOST 28147-89
cryptopro 22 : id-Gost28147-89-MAC : GOST 28147-89 MAC
!Cname id-GostR3411-94-prf
cryptopro 23 : prf-gostr3411-94 : GOST R 34.11-94 PRF
cryptopro 98 : id-GostR3410-2001DH : GOST R 34.10-2001 DH
cryptopro 99 : id-GostR3410-94DH : GOST R 34.10-94 DH
...
...
@@ -1110,7 +1115,7 @@ id-GostR3410-94 4 : id-GostR3410-94-bBis
# Cryptocom LTD GOST OIDs
cryptocom 1 6 1 : id-Gost28147-89-cc : GOST 28147-89 Cryptocom
cryptocom 1 6 1 : id-Gost28147-89-cc : GOST 28147-89 Cryptocom
ParamSet
!Cname id-Gost3410-94-cc
cryptocom 1 5 3 : gost94cc : GOST 34.10-94 Cryptocom
!Cname id-Gost3410-2001-cc
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录