Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Third Party Openssl
提交
e423c360
T
Third Party Openssl
项目概览
OpenHarmony
/
Third Party Openssl
接近 2 年 前同步成功
通知
12
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看板
提交
e423c360
编写于
6月 21, 2013
作者:
D
Dr. Stephen Henson
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Add new OID to pSpecified from PKCS#1
上级
9cd50f73
变更
4
隐藏空白更改
内联
并排
Showing
4 changed file
with
17 addition
and
5 deletion
+17
-5
crypto/objects/obj_dat.h
crypto/objects/obj_dat.h
+10
-5
crypto/objects/obj_mac.h
crypto/objects/obj_mac.h
+5
-0
crypto/objects/obj_mac.num
crypto/objects/obj_mac.num
+1
-0
crypto/objects/objects.txt
crypto/objects/objects.txt
+1
-0
未找到文件。
crypto/objects/obj_dat.h
浏览文件 @
e423c360
...
@@ -62,12 +62,12 @@
...
@@ -62,12 +62,12 @@
* [including the GNU Public Licence.]
* [including the GNU Public Licence.]
*/
*/
#define NUM_NID 93
8
#define NUM_NID 93
9
#define NUM_SN 93
1
#define NUM_SN 93
2
#define NUM_LN 93
1
#define NUM_LN 93
2
#define NUM_OBJ 87
2
#define NUM_OBJ 87
3
static
const
unsigned
char
lvalues
[
61
13
]
=
{
static
const
unsigned
char
lvalues
[
61
22
]
=
{
0x00
,
/* [ 0] OBJ_undef */
0x00
,
/* [ 0] OBJ_undef */
0x2A
,
0x86
,
0x48
,
0x86
,
0xF7
,
0x0D
,
/* [ 1] OBJ_rsadsi */
0x2A
,
0x86
,
0x48
,
0x86
,
0xF7
,
0x0D
,
/* [ 1] OBJ_rsadsi */
0x2A
,
0x86
,
0x48
,
0x86
,
0xF7
,
0x0D
,
0x01
,
/* [ 7] OBJ_pkcs */
0x2A
,
0x86
,
0x48
,
0x86
,
0xF7
,
0x0D
,
0x01
,
/* [ 7] OBJ_pkcs */
...
@@ -940,6 +940,7 @@ static const unsigned char lvalues[6113]={
...
@@ -940,6 +940,7 @@ static const unsigned char lvalues[6113]={
0x2B
,
0x24
,
0x03
,
0x03
,
0x02
,
0x08
,
0x01
,
0x01
,
0x0C
,
/* [6085] OBJ_brainpoolP384t1 */
0x2B
,
0x24
,
0x03
,
0x03
,
0x02
,
0x08
,
0x01
,
0x01
,
0x0C
,
/* [6085] OBJ_brainpoolP384t1 */
0x2B
,
0x24
,
0x03
,
0x03
,
0x02
,
0x08
,
0x01
,
0x01
,
0x0D
,
/* [6094] OBJ_brainpoolP512r1 */
0x2B
,
0x24
,
0x03
,
0x03
,
0x02
,
0x08
,
0x01
,
0x01
,
0x0D
,
/* [6094] OBJ_brainpoolP512r1 */
0x2B
,
0x24
,
0x03
,
0x03
,
0x02
,
0x08
,
0x01
,
0x01
,
0x0E
,
/* [6103] OBJ_brainpoolP512t1 */
0x2B
,
0x24
,
0x03
,
0x03
,
0x02
,
0x08
,
0x01
,
0x01
,
0x0E
,
/* [6103] OBJ_brainpoolP512t1 */
0x2A
,
0x86
,
0x48
,
0x86
,
0xF7
,
0x0D
,
0x01
,
0x01
,
0x09
,
/* [6112] OBJ_pSpecified */
};
};
static
const
ASN1_OBJECT
nid_objs
[
NUM_NID
]
=
{
static
const
ASN1_OBJECT
nid_objs
[
NUM_NID
]
=
{
...
@@ -2456,6 +2457,7 @@ static const ASN1_OBJECT nid_objs[NUM_NID]={
...
@@ -2456,6 +2457,7 @@ static const ASN1_OBJECT nid_objs[NUM_NID]={
NID_aes_192_cbc_hmac_sha256
,
0
,
NULL
,
0
},
NID_aes_192_cbc_hmac_sha256
,
0
,
NULL
,
0
},
{
"AES-256-CBC-HMAC-SHA256"
,
"aes-256-cbc-hmac-sha256"
,
{
"AES-256-CBC-HMAC-SHA256"
,
"aes-256-cbc-hmac-sha256"
,
NID_aes_256_cbc_hmac_sha256
,
0
,
NULL
,
0
},
NID_aes_256_cbc_hmac_sha256
,
0
,
NULL
,
0
},
{
"PSPECIFIED"
,
"pSpecified"
,
NID_pSpecified
,
9
,
&
(
lvalues
[
6112
]),
0
},
};
};
static
const
unsigned
int
sn_objs
[
NUM_SN
]
=
{
static
const
unsigned
int
sn_objs
[
NUM_SN
]
=
{
...
@@ -2597,6 +2599,7 @@ static const unsigned int sn_objs[NUM_SN]={
...
@@ -2597,6 +2599,7 @@ static const unsigned int sn_objs[NUM_SN]={
69
,
/* "PBKDF2" */
69
,
/* "PBKDF2" */
162
,
/* "PBMAC1" */
162
,
/* "PBMAC1" */
127
,
/* "PKIX" */
127
,
/* "PKIX" */
938
,
/* "PSPECIFIED" */
98
,
/* "RC2-40-CBC" */
98
,
/* "RC2-40-CBC" */
166
,
/* "RC2-64-CBC" */
166
,
/* "RC2-64-CBC" */
37
,
/* "RC2-CBC" */
37
,
/* "RC2-CBC" */
...
@@ -4010,6 +4013,7 @@ static const unsigned int ln_objs[NUM_LN]={
...
@@ -4010,6 +4013,7 @@ static const unsigned int ln_objs[NUM_LN]={
18
,
/* "organizationalUnitName" */
18
,
/* "organizationalUnitName" */
475
,
/* "otherMailbox" */
475
,
/* "otherMailbox" */
876
,
/* "owner" */
876
,
/* "owner" */
938
,
/* "pSpecified" */
489
,
/* "pagerTelephoneNumber" */
489
,
/* "pagerTelephoneNumber" */
782
,
/* "password based MAC" */
782
,
/* "password based MAC" */
374
,
/* "path" */
374
,
/* "path" */
...
@@ -4919,6 +4923,7 @@ static const unsigned int obj_objs[NUM_OBJ]={
...
@@ -4919,6 +4923,7 @@ static const unsigned int obj_objs[NUM_OBJ]={
644
,
/* OBJ_rsaOAEPEncryptionSET 1 2 840 113549 1 1 6 */
644
,
/* OBJ_rsaOAEPEncryptionSET 1 2 840 113549 1 1 6 */
919
,
/* OBJ_rsaesOaep 1 2 840 113549 1 1 7 */
919
,
/* OBJ_rsaesOaep 1 2 840 113549 1 1 7 */
911
,
/* OBJ_mgf1 1 2 840 113549 1 1 8 */
911
,
/* OBJ_mgf1 1 2 840 113549 1 1 8 */
938
,
/* OBJ_pSpecified 1 2 840 113549 1 1 9 */
912
,
/* OBJ_rsassaPss 1 2 840 113549 1 1 10 */
912
,
/* OBJ_rsassaPss 1 2 840 113549 1 1 10 */
668
,
/* OBJ_sha256WithRSAEncryption 1 2 840 113549 1 1 11 */
668
,
/* OBJ_sha256WithRSAEncryption 1 2 840 113549 1 1 11 */
669
,
/* OBJ_sha384WithRSAEncryption 1 2 840 113549 1 1 12 */
669
,
/* OBJ_sha384WithRSAEncryption 1 2 840 113549 1 1 12 */
...
...
crypto/objects/obj_mac.h
浏览文件 @
e423c360
...
@@ -590,6 +590,11 @@
...
@@ -590,6 +590,11 @@
#define NID_mgf1 911
#define NID_mgf1 911
#define OBJ_mgf1 OBJ_pkcs1,8L
#define OBJ_mgf1 OBJ_pkcs1,8L
#define SN_pSpecified "PSPECIFIED"
#define LN_pSpecified "pSpecified"
#define NID_pSpecified 938
#define OBJ_pSpecified OBJ_pkcs1,9L
#define SN_rsassaPss "RSASSA-PSS"
#define SN_rsassaPss "RSASSA-PSS"
#define LN_rsassaPss "rsassaPss"
#define LN_rsassaPss "rsassaPss"
#define NID_rsassaPss 912
#define NID_rsassaPss 912
...
...
crypto/objects/obj_mac.num
浏览文件 @
e423c360
...
@@ -935,3 +935,4 @@ brainpoolP512t1 934
...
@@ -935,3 +935,4 @@ brainpoolP512t1 934
aes_128_cbc_hmac_sha256 935
aes_128_cbc_hmac_sha256 935
aes_192_cbc_hmac_sha256 936
aes_192_cbc_hmac_sha256 936
aes_256_cbc_hmac_sha256 937
aes_256_cbc_hmac_sha256 937
pSpecified 938
crypto/objects/objects.txt
浏览文件 @
e423c360
...
@@ -168,6 +168,7 @@ pkcs1 5 : RSA-SHA1 : sha1WithRSAEncryption
...
@@ -168,6 +168,7 @@ pkcs1 5 : RSA-SHA1 : sha1WithRSAEncryption
# According to PKCS #1 version 2.1
# According to PKCS #1 version 2.1
pkcs1 7 : RSAES-OAEP : rsaesOaep
pkcs1 7 : RSAES-OAEP : rsaesOaep
pkcs1 8 : MGF1 : mgf1
pkcs1 8 : MGF1 : mgf1
pkcs1 9 : PSPECIFIED : pSpecified
pkcs1 10 : RSASSA-PSS : rsassaPss
pkcs1 10 : RSASSA-PSS : rsassaPss
pkcs1 11 : RSA-SHA256 : sha256WithRSAEncryption
pkcs1 11 : RSA-SHA256 : sha256WithRSAEncryption
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录