Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Third Party Openssl
提交
ec645d90
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看板
提交
ec645d90
编写于
12月 05, 2005
作者:
D
Dr. Stephen Henson
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Make mk1mf.pl and friends recognize Whirlpool.
上级
0d894c9d
变更
4
隐藏空白更改
内联
并排
Showing
4 changed file
with
16 addition
and
3 deletion
+16
-3
util/libeay.num
util/libeay.num
+6
-1
util/mk1mf.pl
util/mk1mf.pl
+3
-0
util/mkdef.pl
util/mkdef.pl
+6
-2
util/mkfiles.pl
util/mkfiles.pl
+1
-0
未找到文件。
util/libeay.num
浏览文件 @
ec645d90
...
...
@@ -3400,7 +3400,7 @@ i2b_PublicKey_bio 3800 EXIST::FUNCTION:
b2i_PrivateKey 3801 EXIST::FUNCTION:
b2i_PrivateKey_bio 3802 EXIST::FUNCTION:
PKCS7_print_ctx 3803 EXIST::FUNCTION:
EVP_whirlpool 3804 EXIST::FUNCTION:
EVP_whirlpool 3804 EXIST::FUNCTION:
WHIRLPOOL
ASN1_PCTX_set_flags 3805 EXIST::FUNCTION:
NETSCAPE_X509_it 3806 EXIST:!EXPORT_VAR_AS_FUNCTION:VARIABLE:
NETSCAPE_X509_it 3806 EXIST:EXPORT_VAR_AS_FUNCTION:FUNCTION:
...
...
@@ -3416,3 +3416,8 @@ ASN1_PCTX_get_str_flags 3814 EXIST::FUNCTION:
ASN1_PCTX_free 3815 EXIST::FUNCTION:
DSO_pathbyaddr 3816 EXIST::FUNCTION:
ASN1_PCTX_set_cert_flags 3817 EXIST::FUNCTION:
WHIRLPOOL_Init 3818 EXIST::FUNCTION:WHIRLPOOL
WHIRLPOOL 3819 EXIST::FUNCTION:WHIRLPOOL
WHIRLPOOL_BitUpdate 3820 EXIST::FUNCTION:WHIRLPOOL
WHIRLPOOL_Final 3821 EXIST::FUNCTION:WHIRLPOOL
WHIRLPOOL_Update 3822 EXIST::FUNCTION:WHIRLPOOL
util/mk1mf.pl
浏览文件 @
ec645d90
...
...
@@ -211,6 +211,7 @@ $cflags.=" -DOPENSSL_NO_DES" if $no_des;
$cflags
.=
"
-DOPENSSL_NO_RSA
"
if
$no_rsa
;
$cflags
.=
"
-DOPENSSL_NO_DSA
"
if
$no_dsa
;
$cflags
.=
"
-DOPENSSL_NO_DH
"
if
$no_dh
;
$cflags
.=
"
-DOPENSSL_NO_WHIRLPOOL
"
if
$no_whirlpool
;
$cflags
.=
"
-DOPENSSL_NO_SOCK
"
if
$no_sock
;
$cflags
.=
"
-DOPENSSL_NO_SSL2
"
if
$no_ssl2
;
$cflags
.=
"
-DOPENSSL_NO_SSL3
"
if
$no_ssl3
;
...
...
@@ -727,6 +728,7 @@ sub var_add
return
("")
if
$no_sock
&&
$dir
=~
/\/proxy/
;
return
("")
if
$no_bf
&&
$dir
=~
/\/bf/
;
return
("")
if
$no_cast
&&
$dir
=~
/\/cast/
;
return
("")
if
$no_whirlpool
&&
$dir
=~
/\/whrlpool/
;
$val
=~
s/^\s*(.*)\s*$/$1/
;
@a
=
split
(
/\s+/
,
$val
);
...
...
@@ -961,6 +963,7 @@ sub read_options
"
no-sha1
"
=>
\
$no_sha1
,
"
no-ripemd
"
=>
\
$no_ripemd
,
"
no-mdc2
"
=>
\
$no_mdc2
,
"
no-whirlpool
"
=>
\
$no_whirlpool
,
"
no-patents
"
=>
[
\
$no_rc2
,
\
$no_rc4
,
\
$no_rc5
,
\
$no_idea
,
\
$no_rsa
],
"
no-rsa
"
=>
\
$no_rsa
,
...
...
util/mkdef.pl
浏览文件 @
ec645d90
...
...
@@ -84,7 +84,8 @@ my @known_ossl_platforms = ( "VMS", "WIN16", "WIN32", "WINNT", "OS2" );
my
@known_algorithms
=
(
"
RC2
",
"
RC4
",
"
RC5
",
"
IDEA
",
"
DES
",
"
BF
",
"
CAST
",
"
MD2
",
"
MD4
",
"
MD5
",
"
SHA
",
"
SHA0
",
"
SHA1
",
"
SHA256
",
"
SHA512
",
"
RIPEMD
",
"
MDC2
",
"
RSA
",
"
DSA
",
"
DH
",
"
EC
",
"
ECDH
",
"
ECDSA
",
"
HMAC
",
"
AES
",
"
MDC2
",
"
RSA
",
"
DSA
",
"
DH
",
"
EC
",
"
ECDH
",
"
ECDSA
",
"
HMAC
",
"
AES
",
"
WHIRLPOOL
",
# Envelope "algorithms"
"
EVP
",
"
X509
",
"
ASN1_TYPEDEFS
",
# Helper "algorithms"
...
...
@@ -108,7 +109,7 @@ close(IN);
# defined with ifndef(NO_XXX) are not included in the .def file, and everything
# in directory xxx is ignored.
my
$no_rc2
;
my
$no_rc4
;
my
$no_rc5
;
my
$no_idea
;
my
$no_des
;
my
$no_bf
;
my
$no_cast
;
my
$no_cast
;
my
$no_whirlpool
;
my
$no_md2
;
my
$no_md4
;
my
$no_md5
;
my
$no_sha
;
my
$no_ripemd
;
my
$no_mdc2
;
my
$no_rsa
;
my
$no_dsa
;
my
$no_dh
;
my
$no_hmac
=
0
;
my
$no_aes
;
my
$no_krb5
;
my
$no_ec
;
my
$no_ecdsa
;
my
$no_ecdh
;
my
$no_engine
;
my
$no_hw
;
...
...
@@ -161,6 +162,7 @@ foreach (@ARGV, split(/ /, $options))
elsif
(
/^no-des$/
)
{
$no_des
=
1
;
$no_mdc2
=
1
;
}
elsif
(
/^no-bf$/
)
{
$no_bf
=
1
;
}
elsif
(
/^no-cast$/
)
{
$no_cast
=
1
;
}
elsif
(
/^no-whirlpool$/
)
{
$no_whirlpool
=
1
;
}
elsif
(
/^no-md2$/
)
{
$no_md2
=
1
;
}
elsif
(
/^no-md4$/
)
{
$no_md4
=
1
;
}
elsif
(
/^no-md5$/
)
{
$no_md5
=
1
;
}
...
...
@@ -233,6 +235,7 @@ $crypto.=" crypto/rc5/rc5.h" ; # unless $no_rc5;
$crypto
.=
"
crypto/rc2/rc2.h
"
;
# unless $no_rc2;
$crypto
.=
"
crypto/bf/blowfish.h
"
;
# unless $no_bf;
$crypto
.=
"
crypto/cast/cast.h
"
;
# unless $no_cast;
$crypto
.=
"
crypto/whrlpool/whrlpool.h
"
;
$crypto
.=
"
crypto/md2/md2.h
"
;
# unless $no_md2;
$crypto
.=
"
crypto/md4/md4.h
"
;
# unless $no_md4;
$crypto
.=
"
crypto/md5/md5.h
"
;
# unless $no_md5;
...
...
@@ -1078,6 +1081,7 @@ sub is_valid
if
(
$keyword
eq
"
SHA
"
&&
$no_sha
)
{
return
0
;
}
if
(
$keyword
eq
"
RIPEMD
"
&&
$no_ripemd
)
{
return
0
;
}
if
(
$keyword
eq
"
MDC2
"
&&
$no_mdc2
)
{
return
0
;
}
if
(
$keyword
eq
"
WHIRLPOOL
"
&&
$no_whirlpool
)
{
return
0
;
}
if
(
$keyword
eq
"
RSA
"
&&
$no_rsa
)
{
return
0
;
}
if
(
$keyword
eq
"
DSA
"
&&
$no_dsa
)
{
return
0
;
}
if
(
$keyword
eq
"
DH
"
&&
$no_dh
)
{
return
0
;
}
...
...
util/mkfiles.pl
浏览文件 @
ec645d90
...
...
@@ -55,6 +55,7 @@ my @dirs = (
"
crypto/krb5
",
"
crypto/store
",
"
crypto/pqueue
",
"
crypto/whrlpool
",
"
ssl
",
"
apps
",
"
engines
",
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录