Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Third Party Openssl
提交
63ba7e29
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看板
提交
63ba7e29
编写于
5月 31, 2004
作者:
A
Andy Polyakov
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Make sha-256/-512 naming in speed.c consistent with their names as they
will appear at EVP leyer.
上级
31e9b9b2
变更
1
隐藏空白更改
内联
并排
Showing
1 changed file
with
5 addition
and
5 deletion
+5
-5
apps/speed.c
apps/speed.c
+5
-5
未找到文件。
apps/speed.c
浏览文件 @
63ba7e29
...
@@ -280,7 +280,7 @@ static const char *names[ALGOR_NUM]={
...
@@ -280,7 +280,7 @@ static const char *names[ALGOR_NUM]={
"md2"
,
"mdc2"
,
"md4"
,
"md5"
,
"hmac(md5)"
,
"sha1"
,
"rmd160"
,
"rc4"
,
"md2"
,
"mdc2"
,
"md4"
,
"md5"
,
"hmac(md5)"
,
"sha1"
,
"rmd160"
,
"rc4"
,
"des cbc"
,
"des ede3"
,
"idea cbc"
,
"des cbc"
,
"des ede3"
,
"idea cbc"
,
"rc2 cbc"
,
"rc5-32/12 cbc"
,
"blowfish cbc"
,
"cast cbc"
,
"rc2 cbc"
,
"rc5-32/12 cbc"
,
"blowfish cbc"
,
"cast cbc"
,
"aes-128 cbc"
,
"aes-192 cbc"
,
"aes-256 cbc"
,
"evp"
,
"sha
-256"
,
"sha-
512"
};
"aes-128 cbc"
,
"aes-192 cbc"
,
"aes-256 cbc"
,
"evp"
,
"sha
256"
,
"sha
512"
};
static
double
results
[
ALGOR_NUM
][
SIZE_NUM
];
static
double
results
[
ALGOR_NUM
][
SIZE_NUM
];
static
int
lengths
[
SIZE_NUM
]
=
{
16
,
64
,
256
,
1024
,
8
*
1024
};
static
int
lengths
[
SIZE_NUM
]
=
{
16
,
64
,
256
,
1024
,
8
*
1024
};
static
double
rsa_results
[
RSA_NUM
][
2
];
static
double
rsa_results
[
RSA_NUM
][
2
];
...
@@ -875,9 +875,9 @@ int MAIN(int argc, char **argv)
...
@@ -875,9 +875,9 @@ int MAIN(int argc, char **argv)
doit
[
D_SHA256
]
=
1
,
doit
[
D_SHA256
]
=
1
,
doit
[
D_SHA512
]
=
1
;
doit
[
D_SHA512
]
=
1
;
else
else
if
(
strcmp
(
*
argv
,
"sha
-
256"
)
==
0
)
doit
[
D_SHA256
]
=
1
;
if
(
strcmp
(
*
argv
,
"sha256"
)
==
0
)
doit
[
D_SHA256
]
=
1
;
else
else
if
(
strcmp
(
*
argv
,
"sha
-
512"
)
==
0
)
doit
[
D_SHA512
]
=
1
;
if
(
strcmp
(
*
argv
,
"sha512"
)
==
0
)
doit
[
D_SHA512
]
=
1
;
else
else
#endif
#endif
#ifndef OPENSSL_NO_RIPEMD
#ifndef OPENSSL_NO_RIPEMD
...
@@ -1059,8 +1059,8 @@ int MAIN(int argc, char **argv)
...
@@ -1059,8 +1059,8 @@ int MAIN(int argc, char **argv)
#endif
#endif
#ifndef OPENSSL_NO_SHA1
#ifndef OPENSSL_NO_SHA1
BIO_printf
(
bio_err
,
"sha1 "
);
BIO_printf
(
bio_err
,
"sha1 "
);
BIO_printf
(
bio_err
,
"sha
-
256 "
);
BIO_printf
(
bio_err
,
"sha256 "
);
BIO_printf
(
bio_err
,
"sha
-
512 "
);
BIO_printf
(
bio_err
,
"sha512 "
);
#endif
#endif
#ifndef OPENSSL_NO_RIPEMD160
#ifndef OPENSSL_NO_RIPEMD160
BIO_printf
(
bio_err
,
"rmd160"
);
BIO_printf
(
bio_err
,
"rmd160"
);
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录