Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Third Party Openssl
提交
eead69f5
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看板
提交
eead69f5
编写于
2月 21, 2011
作者:
D
Dr. Stephen Henson
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Make fipscanisteronly build only required files.
上级
ab8a4e54
变更
4
隐藏空白更改
内联
并排
Showing
4 changed file
with
45 addition
and
3 deletion
+45
-3
CHANGES
CHANGES
+4
-0
Makefile.fips
Makefile.fips
+3
-3
crypto/Makefile
crypto/Makefile
+7
-0
util/fipsobj.pl
util/fipsobj.pl
+31
-0
未找到文件。
CHANGES
浏览文件 @
eead69f5
...
...
@@ -4,6 +4,10 @@
Changes between 1.0.1 and 1.1.0 [xx XXX xxxx]
*) Modify fipscanisteronly build option to only build the necessary object
files by filtering FIPS_EX_OBJ through a perl script in crypto/Makefile.
[Steve Henson]
*) Add experimental option FIPSSYMS to give all symbols in
fipscanister.o and FIPS or fips prefix. This will avoid
conflicts with future versions of OpenSSL. Add perl script
...
...
Makefile.fips
浏览文件 @
eead69f5
...
...
@@ -147,8 +147,8 @@ SHLIBDIRS= crypto
# dirs in crypto to build
SDIRS
=
\
sha hmac des aes modes
\
bn ec rsa dsa ecdsa dh
ecdh
\
buffer rand evp cmac
bn ec rsa dsa ecdsa dh
\
buffer rand evp
# ecdh
cmac
# keep in mind that the above list is adjusted by ./Configure
# according to no-xxx arguments...
...
...
@@ -372,7 +372,7 @@ build_crypto:
else
\
AS
=
'
$(CC)
-c'
;
\
fi
;
export
AS
;
\
dir
=
crypto
;
target
=
all
;
$(BUILD_ONE_CMD)
dir
=
crypto
;
target
=
fips
;
$(BUILD_ONE_CMD)
build_ssl
:
@
dir
=
ssl
;
target
=
all
;
$(BUILD_ONE_CMD)
build_engines
:
...
...
crypto/Makefile
浏览文件 @
eead69f5
...
...
@@ -50,6 +50,13 @@ top:
all
:
shared
fips
:
cryptlib.o thr_id.o uid.o $(CPUID_OBJ)
[
-n
"
$(SDIRS)
"
]
&&
for
i
in
$(SDIRS)
;
do
\
(
obj
=
`
$(PERL)
$(TOP)
/util/fipsobj.pl
$$
i
`
&&
\
cd
$$
i
&&
echo
"making fips in
$(DIR)
/
$$
i..."
&&
\
$(MAKE)
-e
TOP
=
../..
DIR
=
$$
i
INCLUDES
=
'
$(INCLUDES)
'
$$
obj
)
||
exit
1
;
\
done
;
buildinf.h
:
../Makefile
(
echo
"#ifndef MK1MF_BUILD"
;
\
echo
' /* auto-generated by crypto/Makefile for crypto/cversion.c */'
;
\
...
...
util/fipsobj.pl
0 → 100644
浏览文件 @
eead69f5
# Filter script. Take all FIPS object files from the environment
# and print out only those in the given directory.
my
$dir
=
$ARGV
[
0
];
my
$asmobjs
=
"";
# Add any needed assembly languagr files.
$asmobjs
=
$ENV
{
AES_ENC
}
if
$dir
eq
"
aes
";
$asmobjs
=
$ENV
{
BN_ASM
}
if
$dir
eq
"
bn
";
$asmobjs
=
$ENV
{
DES_ENC
}
if
$dir
eq
"
des
";
$asmobjs
=
$ENV
{
SHA1_ASM_OBJ
}
if
$dir
eq
"
sha
";
$asmobjs
=
$ENV
{
MODES_ASM_OBJ
}
if
$dir
eq
"
modes
";
# Get all other FIPS object files, filtered by directory.
my
@objlist
=
grep
{
/crypto\/$dir\//
}
split
/ /
,
$ENV
{
FIPS_EX_OBJ
};
push
@objlist
,
split
/ /
,
$asmobjs
;
# Fatal error if no matches
die
"
No objects in
$dir
!
"
if
(
scalar
@objlist
==
0
);
# Output all matches removing pathname.
foreach
(
@objlist
)
{
s|../crypto/$dir/||
;
print
"
$_
\n
";
}
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录