Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Third Party Openssl
提交
96b96d6c
T
Third Party Openssl
项目概览
OpenHarmony
/
Third Party Openssl
1 年多 前同步成功
通知
10
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看板
提交
96b96d6c
编写于
1月 30, 2015
作者:
D
Dr. Stephen Henson
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Add scrypt OID from draft-josefsson-scrypt-kdf-03
Reviewed-by:
N
Rich Salz
<
rsalz@openssl.org
>
上级
3e8e688f
变更
4
隐藏空白更改
内联
并排
Showing
4 changed file
with
18 addition
and
5 deletion
+18
-5
crypto/objects/obj_dat.h
crypto/objects/obj_dat.h
+10
-5
crypto/objects/obj_mac.num
crypto/objects/obj_mac.num
+1
-0
crypto/objects/objects.txt
crypto/objects/objects.txt
+3
-0
include/openssl/obj_mac.h
include/openssl/obj_mac.h
+4
-0
未找到文件。
crypto/objects/obj_dat.h
浏览文件 @
96b96d6c
...
...
@@ -62,12 +62,12 @@
* [including the GNU Public Licence.]
*/
#define NUM_NID 97
3
#define NUM_SN 96
6
#define NUM_LN 96
6
#define NUM_OBJ 90
2
#define NUM_NID 97
4
#define NUM_SN 96
7
#define NUM_LN 96
7
#define NUM_OBJ 90
3
static
const
unsigned
char
lvalues
[
63
55
]
=
{
static
const
unsigned
char
lvalues
[
63
64
]
=
{
0x2A
,
0x86
,
0x48
,
0x86
,
0xF7
,
0x0D
,
/* [ 0] OBJ_rsadsi */
0x2A
,
0x86
,
0x48
,
0x86
,
0xF7
,
0x0D
,
0x01
,
/* [ 6] OBJ_pkcs */
0x2A
,
0x86
,
0x48
,
0x86
,
0xF7
,
0x0D
,
0x02
,
0x02
,
/* [ 13] OBJ_md2 */
...
...
@@ -964,6 +964,7 @@ static const unsigned char lvalues[6355]={
0x03
,
0xA2
,
0x31
,
0x05
,
0x03
,
0x01
,
0x09
,
0x2F
,
/* [6330] OBJ_camellia_256_ccm */
0x03
,
0xA2
,
0x31
,
0x05
,
0x03
,
0x01
,
0x09
,
0x31
,
/* [6338] OBJ_camellia_256_ctr */
0x03
,
0xA2
,
0x31
,
0x05
,
0x03
,
0x01
,
0x09
,
0x32
,
/* [6346] OBJ_camellia_256_cmac */
0x2B
,
0x06
,
0x01
,
0x04
,
0x01
,
0xDA
,
0x47
,
0x04
,
0x0B
,
/* [6354] OBJ_id_scrypt */
};
static
const
ASN1_OBJECT
nid_objs
[
NUM_NID
]
=
{
...
...
@@ -2553,6 +2554,7 @@ static const ASN1_OBJECT nid_objs[NUM_NID]={
&
(
lvalues
[
6338
]),
0
},
{
"CAMELLIA-256-CMAC"
,
"camellia-256-cmac"
,
NID_camellia_256_cmac
,
8
,
&
(
lvalues
[
6346
]),
0
},
{
"id-scrypt"
,
"id-scrypt"
,
NID_id_scrypt
,
9
,
&
(
lvalues
[
6354
]),
0
},
};
static
const
unsigned
int
sn_objs
[
NUM_SN
]
=
{
...
...
@@ -3098,6 +3100,7 @@ static const unsigned int sn_objs[NUM_SN]={
314
,
/* "id-regInfo" */
322
,
/* "id-regInfo-certReq" */
321
,
/* "id-regInfo-utf8Pairs" */
973
,
/* "id-scrypt" */
512
,
/* "id-set" */
191
,
/* "id-smime-aa" */
215
,
/* "id-smime-aa-contentHint" */
...
...
@@ -4053,6 +4056,7 @@ static const unsigned int ln_objs[NUM_LN]={
314
,
/* "id-regInfo" */
322
,
/* "id-regInfo-certReq" */
321
,
/* "id-regInfo-utf8Pairs" */
973
,
/* "id-scrypt" */
191
,
/* "id-smime-aa" */
215
,
/* "id-smime-aa-contentHint" */
218
,
/* "id-smime-aa-contentIdentifier" */
...
...
@@ -5148,6 +5152,7 @@ static const unsigned int obj_objs[NUM_OBJ]={
856
,
/* OBJ_LocalKeySet 1 3 6 1 4 1 311 17 2 */
390
,
/* OBJ_dcObject 1 3 6 1 4 1 1466 344 */
91
,
/* OBJ_bf_cbc 1 3 6 1 4 1 3029 1 2 */
973
,
/* OBJ_id_scrypt 1 3 6 1 4 1 11591 4 11 */
315
,
/* OBJ_id_regCtrl_regToken 1 3 6 1 5 5 7 5 1 1 */
316
,
/* OBJ_id_regCtrl_authenticator 1 3 6 1 5 5 7 5 1 2 */
317
,
/* OBJ_id_regCtrl_pkiPublicationInfo 1 3 6 1 5 5 7 5 1 3 */
...
...
crypto/objects/obj_mac.num
浏览文件 @
96b96d6c
...
...
@@ -970,3 +970,4 @@ camellia_256_gcm 969
camellia_256_ccm 970
camellia_256_ctr 971
camellia_256_cmac 972
id_scrypt 973
crypto/objects/objects.txt
浏览文件 @
96b96d6c
...
...
@@ -1360,3 +1360,6 @@ secg-scheme 14 3 : dhSinglePass-cofactorDH-sha512kdf-scheme
1 3 6 1 4 1 311 60 2 1 1 : jurisdictionL : jurisdictionLocalityName
1 3 6 1 4 1 311 60 2 1 2 : jurisdictionST : jurisdictionStateOrProvinceName
1 3 6 1 4 1 311 60 2 1 3 : jurisdictionC : jurisdictionCountryName
# SCRYPT algorithm
1 3 6 1 4 1 11591 4 11 : id-scrypt
include/openssl/obj_mac.h
浏览文件 @
96b96d6c
...
...
@@ -4264,3 +4264,7 @@
#define LN_jurisdictionCountryName "jurisdictionCountryName"
#define NID_jurisdictionCountryName 957
#define OBJ_jurisdictionCountryName 1L,3L,6L,1L,4L,1L,311L,60L,2L,1L,3L
#define SN_id_scrypt "id-scrypt"
#define NID_id_scrypt 973
#define OBJ_id_scrypt 1L,3L,6L,1L,4L,1L,11591L,4L,11L
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录