Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Third Party Openssl
提交
987bebaf
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看板
提交
987bebaf
编写于
4月 19, 2005
作者:
D
Dr. Stephen Henson
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
New "algorithm define" OPENSSL_NO_GMP. Update mkdef.pl and Configure script
to use it.
上级
65f0efe1
变更
4
隐藏空白更改
内联
并排
Showing
4 changed file
with
10 addition
and
3 deletion
+10
-3
Configure
Configure
+2
-0
crypto/engine/eng_all.c
crypto/engine/eng_all.c
+1
-1
crypto/engine/engine.h
crypto/engine/engine.h
+2
-0
util/mkdef.pl
util/mkdef.pl
+5
-2
未找到文件。
Configure
浏览文件 @
987bebaf
...
@@ -582,6 +582,7 @@ my $zlib=1; # but "no-zlib" is default
...
@@ -582,6 +582,7 @@ my $zlib=1; # but "no-zlib" is default
my $no_krb5=0; # but "no-krb5" is implied unless "--with-krb5-..." is used
my $no_krb5=0; # but "no-krb5" is implied unless "--with-krb5-..." is used
my $no_asm=0;
my $no_asm=0;
my $no_dso=0;
my $no_dso=0;
my $no_gmp=0;
my @skip=();
my @skip=();
my $Makefile="Makefile";
my $Makefile="Makefile";
my $des_locl="crypto/des/des_locl.h";
my $des_locl="crypto/des/des_locl.h";
...
@@ -611,6 +612,7 @@ my $perl;
...
@@ -611,6 +612,7 @@ my $perl;
# All of the following is disabled by default (RC5 was enabled before 0.9.8):
# All of the following is disabled by default (RC5 was enabled before 0.9.8):
my %disabled = ( # "what" => "comment"
my %disabled = ( # "what" => "comment"
"gmp" => "default",
"mdc2" => "default",
"mdc2" => "default",
"rc5" => "default",
"rc5" => "default",
"shared" => "default",
"shared" => "default",
...
...
crypto/engine/eng_all.c
浏览文件 @
987bebaf
...
@@ -102,7 +102,7 @@ void ENGINE_load_builtin_engines(void)
...
@@ -102,7 +102,7 @@ void ENGINE_load_builtin_engines(void)
#if defined(__OpenBSD__) || defined(__FreeBSD__)
#if defined(__OpenBSD__) || defined(__FreeBSD__)
ENGINE_load_cryptodev
();
ENGINE_load_cryptodev
();
#endif
#endif
#if
defined(OPENSSL_USE
_GMP) && !defined(OPENSSL_NO_HW_GMP)
#if
!defined(OPENSSL_NO
_GMP) && !defined(OPENSSL_NO_HW_GMP)
ENGINE_load_gmp
();
ENGINE_load_gmp
();
#endif
#endif
#endif
#endif
...
...
crypto/engine/engine.h
浏览文件 @
987bebaf
...
@@ -341,7 +341,9 @@ void ENGINE_load_aep(void);
...
@@ -341,7 +341,9 @@ void ENGINE_load_aep(void);
void
ENGINE_load_atalla
(
void
);
void
ENGINE_load_atalla
(
void
);
void
ENGINE_load_chil
(
void
);
void
ENGINE_load_chil
(
void
);
void
ENGINE_load_cswift
(
void
);
void
ENGINE_load_cswift
(
void
);
#ifndef OPENSSL_NO_GMP
void
ENGINE_load_gmp
(
void
);
void
ENGINE_load_gmp
(
void
);
#endif
void
ENGINE_load_nuron
(
void
);
void
ENGINE_load_nuron
(
void
);
void
ENGINE_load_sureware
(
void
);
void
ENGINE_load_sureware
(
void
);
void
ENGINE_load_ubsec
(
void
);
void
ENGINE_load_ubsec
(
void
);
...
...
util/mkdef.pl
浏览文件 @
987bebaf
...
@@ -93,7 +93,7 @@ my @known_algorithms = ( "RC2", "RC4", "RC5", "IDEA", "DES", "BF",
...
@@ -93,7 +93,7 @@ my @known_algorithms = ( "RC2", "RC4", "RC5", "IDEA", "DES", "BF",
# External "algorithms"
# External "algorithms"
"
FP_API
",
"
STDIO
",
"
SOCK
",
"
KRB5
",
"
FP_API
",
"
STDIO
",
"
SOCK
",
"
KRB5
",
# Engines
# Engines
"
STATIC_ENGINE
",
"
ENGINE
",
"
HW
",
"
STATIC_ENGINE
",
"
ENGINE
",
"
HW
",
"
GMP
",
# Deprecated functions
# Deprecated functions
"
DEPRECATED
"
);
"
DEPRECATED
"
);
...
@@ -112,7 +112,8 @@ my $no_cast;
...
@@ -112,7 +112,8 @@ my $no_cast;
my
$no_md2
;
my
$no_md4
;
my
$no_md5
;
my
$no_sha
;
my
$no_ripemd
;
my
$no_mdc2
;
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_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
;
my
$no_ec
;
my
$no_ecdsa
;
my
$no_ecdh
;
my
$no_engine
;
my
$no_hw
;
my
$no_fp_api
;
my
$no_static_engine
;
my
$no_deprecated
;
my
$no_fp_api
;
my
$no_static_engine
;
my
$no_gmp
;
my
$no_deprecated
;
foreach
(
@ARGV
,
split
(
/ /
,
$options
))
foreach
(
@ARGV
,
split
(
/ /
,
$options
))
{
{
...
@@ -184,6 +185,7 @@ foreach (@ARGV, split(/ /, $options))
...
@@ -184,6 +185,7 @@ foreach (@ARGV, split(/ /, $options))
elsif
(
/^no-krb5$/
)
{
$no_krb5
=
1
;
}
elsif
(
/^no-krb5$/
)
{
$no_krb5
=
1
;
}
elsif
(
/^no-engine$/
)
{
$no_engine
=
1
;
}
elsif
(
/^no-engine$/
)
{
$no_engine
=
1
;
}
elsif
(
/^no-hw$/
)
{
$no_hw
=
1
;
}
elsif
(
/^no-hw$/
)
{
$no_hw
=
1
;
}
elsif
(
/^no-gmp$/
)
{
$no_gmp
=
1
;
}
}
}
...
@@ -1084,6 +1086,7 @@ sub is_valid
...
@@ -1084,6 +1086,7 @@ sub is_valid
if
(
$keyword
eq
"
HW
"
&&
$no_hw
)
{
return
0
;
}
if
(
$keyword
eq
"
HW
"
&&
$no_hw
)
{
return
0
;
}
if
(
$keyword
eq
"
FP_API
"
&&
$no_fp_api
)
{
return
0
;
}
if
(
$keyword
eq
"
FP_API
"
&&
$no_fp_api
)
{
return
0
;
}
if
(
$keyword
eq
"
STATIC_ENGINE
"
&&
$no_static_engine
)
{
return
0
;
}
if
(
$keyword
eq
"
STATIC_ENGINE
"
&&
$no_static_engine
)
{
return
0
;
}
if
(
$keyword
eq
"
GMP
"
&&
$no_gmp
)
{
return
0
;
}
if
(
$keyword
eq
"
DEPRECATED
"
&&
$no_deprecated
)
{
return
0
;
}
if
(
$keyword
eq
"
DEPRECATED
"
&&
$no_deprecated
)
{
return
0
;
}
# Nothing recognise as true
# Nothing recognise as true
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录