Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Third Party Openssl
提交
7c510d6f
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看板
提交
7c510d6f
编写于
12月 06, 2005
作者:
D
Dr. Stephen Henson
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Initial attempt at Whirlpool assembler support on VC++.
上级
7bbcb2f6
变更
4
隐藏空白更改
内联
并排
Showing
4 changed file
with
149 addition
and
129 deletion
+149
-129
ms/do_masm.bat
ms/do_masm.bat
+68
-63
ms/do_nasm.bat
ms/do_nasm.bat
+70
-65
util/mk1mf.pl
util/mk1mf.pl
+8
-0
util/pl/VC-32.pl
util/pl/VC-32.pl
+3
-1
未找到文件。
ms/do_masm.bat
浏览文件 @
7c510d6f
@echo
off
echo
Generating
x86
for
MASM
assember
echo
Bignum
cd
crypto
\bn\asm
perl
x86
.pl
win32
>
bn_win32
.asm
cd
..\..\..
echo
DES
cd
crypto
\des\asm
perl
des
-
586
.pl
win32
>
d_win32
.asm
cd
..\..\..
echo
"crypt(3)"
cd
crypto
\des\asm
perl
crypt586
.pl
win32
>
y_win32
.asm
cd
..\..\..
echo
Blowfish
cd
crypto
\bf\asm
perl
bf
-
586
.pl
win32
>
b_win32
.asm
cd
..\..\..
echo
CAST5
cd
crypto
\cast\asm
perl
cast
-
586
.pl
win32
>
c_win32
.asm
cd
..\..\..
echo
RC4
cd
crypto
\rc4\asm
perl
rc4
-
586
.pl
win32
>
r4_win32
.asm
cd
..\..\..
echo
MD5
cd
crypto
\md5\asm
perl
md5
-
586
.pl
win32
>
m5_win32
.asm
cd
..\..\..
echo
SHA1
cd
crypto
\sha\asm
perl
sha1
-
586
.pl
win32
>
s1_win32
.asm
cd
..\..\..
echo
RIPEMD160
cd
crypto
\ripemd\asm
perl
rmd
-
586
.pl
win32
>
rm_win32
.asm
cd
..\..\..
echo
RC5
\32
cd
crypto
\rc5\asm
perl
rc5
-
586
.pl
win32
>
r5_win32
.asm
cd
..\..\..
echo
on
perl
util
\mkfiles.pl
>
MINFO
perl
util
\mk1mf.pl
VC
-WIN
32
>
ms
\nt.mak
perl
util
\mk1mf.pl
dll
VC
-WIN
32
>
ms
\ntdll.mak
perl
util
\mkdef.pl
32
libeay
>
ms
\libeay32.def
perl
util
\mkdef.pl
32
ssleay
>
ms
\ssleay32.def
@echo
off
echo
Generating
x86
for
MASM
assember
echo
Bignum
cd
crypto
\bn\asm
perl
x86
.pl
win32
>
bn_win32
.asm
cd
..\..\..
echo
DES
cd
crypto
\des\asm
perl
des
-
586
.pl
win32
>
d_win32
.asm
cd
..\..\..
echo
"crypt(3)"
cd
crypto
\des\asm
perl
crypt586
.pl
win32
>
y_win32
.asm
cd
..\..\..
echo
Blowfish
cd
crypto
\bf\asm
perl
bf
-
586
.pl
win32
>
b_win32
.asm
cd
..\..\..
echo
CAST5
cd
crypto
\cast\asm
perl
cast
-
586
.pl
win32
>
c_win32
.asm
cd
..\..\..
echo
RC4
cd
crypto
\rc4\asm
perl
rc4
-
586
.pl
win32
>
r4_win32
.asm
cd
..\..\..
echo
MD5
cd
crypto
\md5\asm
perl
md5
-
586
.pl
win32
>
m5_win32
.asm
cd
..\..\..
echo
SHA1
cd
crypto
\sha\asm
perl
sha1
-
586
.pl
win32
>
s1_win32
.asm
cd
..\..\..
echo
RIPEMD160
cd
crypto
\ripemd\asm
perl
rmd
-
586
.pl
win32
>
rm_win32
.asm
cd
..\..\..
echo
RC5
\32
cd
crypto
\rc5\asm
perl
rc5
-
586
.pl
win32
>
r5_win32
.asm
cd
..\..\..
echo
Whirlpool
cd
crypto
\whrlpool\asm
perl
wp
-mmx
.pl
win32
>
wp_win32
.asm
cd
..\..\..
echo
on
perl
util
\mkfiles.pl
>
MINFO
perl
util
\mk1mf.pl
VC
-WIN
32
>
ms
\nt.mak
perl
util
\mk1mf.pl
dll
VC
-WIN
32
>
ms
\ntdll.mak
perl
util
\mkdef.pl
32
libeay
>
ms
\libeay32.def
perl
util
\mkdef.pl
32
ssleay
>
ms
\ssleay32.def
ms/do_nasm.bat
浏览文件 @
7c510d6f
@echo
off
echo
Generating
x86
for
NASM
assember
echo
Bignum
cd
crypto
\bn\asm
perl
x86
.pl
win32n
>
bn_win32
.asm
cd
..\..\..
echo
DES
cd
crypto
\des\asm
perl
des
-
586
.pl
win32n
>
d_win32
.asm
cd
..\..\..
echo
"crypt(3)"
cd
crypto
\des\asm
perl
crypt586
.pl
win32n
>
y_win32
.asm
cd
..\..\..
echo
Blowfish
cd
crypto
\bf\asm
perl
bf
-
586
.pl
win32n
>
b_win32
.asm
cd
..\..\..
echo
CAST5
cd
crypto
\cast\asm
perl
cast
-
586
.pl
win32n
>
c_win32
.asm
cd
..\..\..
echo
RC4
cd
crypto
\rc4\asm
perl
rc4
-
586
.pl
win32n
>
r4_win32
.asm
cd
..\..\..
echo
MD5
cd
crypto
\md5\asm
perl
md5
-
586
.pl
win32n
>
m5_win32
.asm
cd
..\..\..
echo
SHA1
cd
crypto
\sha\asm
perl
sha1
-
586
.pl
win32n
>
s1_win32
.asm
cd
..\..\..
echo
RIPEMD160
cd
crypto
\ripemd\asm
perl
rmd
-
586
.pl
win32n
>
rm_win32
.asm
cd
..\..\..
echo
RC5
\32
cd
crypto
\rc5\asm
perl
rc5
-
586
.pl
win32n
>
r5_win32
.asm
cd
..\..\..
echo
on
perl
util
\mkfiles.pl
>
MINFO
perl
util
\mk1mf.pl
nasm
VC
-WIN
32
>
ms
\nt.mak
perl
util
\mk1mf.pl
dll
nasm
VC
-WIN
32
>
ms
\ntdll.mak
perl
util
\mk1mf.pl
nasm
BC
-NT
>
ms
\bcb.mak
perl
util
\mkdef.pl
32
libeay
>
ms
\libeay32.def
perl
util
\mkdef.pl
32
ssleay
>
ms
\ssleay32.def
@echo
off
echo
Generating
x86
for
NASM
assember
echo
Bignum
cd
crypto
\bn\asm
perl
x86
.pl
win32n
>
bn_win32
.asm
cd
..\..\..
echo
DES
cd
crypto
\des\asm
perl
des
-
586
.pl
win32n
>
d_win32
.asm
cd
..\..\..
echo
"crypt(3)"
cd
crypto
\des\asm
perl
crypt586
.pl
win32n
>
y_win32
.asm
cd
..\..\..
echo
Blowfish
cd
crypto
\bf\asm
perl
bf
-
586
.pl
win32n
>
b_win32
.asm
cd
..\..\..
echo
CAST5
cd
crypto
\cast\asm
perl
cast
-
586
.pl
win32n
>
c_win32
.asm
cd
..\..\..
echo
RC4
cd
crypto
\rc4\asm
perl
rc4
-
586
.pl
win32n
>
r4_win32
.asm
cd
..\..\..
echo
MD5
cd
crypto
\md5\asm
perl
md5
-
586
.pl
win32n
>
m5_win32
.asm
cd
..\..\..
echo
SHA1
cd
crypto
\sha\asm
perl
sha1
-
586
.pl
win32n
>
s1_win32
.asm
cd
..\..\..
echo
RIPEMD160
cd
crypto
\ripemd\asm
perl
rmd
-
586
.pl
win32n
>
rm_win32
.asm
cd
..\..\..
echo
RC5
\32
cd
crypto
\rc5\asm
perl
rc5
-
586
.pl
win32n
>
r5_win32
.asm
cd
..\..\..
echo
Whirlpool
cd
crypto
\whrlpool\asm
perl
wp
-mmx
.pl
win32n
>
wp_win32
.asm
cd
..\..\..
echo
on
perl
util
\mkfiles.pl
>
MINFO
perl
util
\mk1mf.pl
nasm
VC
-WIN
32
>
ms
\nt.mak
perl
util
\mk1mf.pl
dll
nasm
VC
-WIN
32
>
ms
\ntdll.mak
perl
util
\mk1mf.pl
nasm
BC
-NT
>
ms
\bcb.mak
perl
util
\mkdef.pl
32
libeay
>
ms
\libeay32.def
perl
util
\mkdef.pl
32
ssleay
>
ms
\ssleay32.def
util/mk1mf.pl
浏览文件 @
7c510d6f
...
...
@@ -414,6 +414,8 @@ SHA1_ASM_OBJ=$sha1_asm_obj
SHA1_ASM_SRC=$sha1_asm_src
RMD160_ASM_OBJ=$rmd160_asm_obj
RMD160_ASM_SRC=$rmd160_asm_src
WHIRLPOOL_ASM_OBJ=$whirlpool_asm_obj
WHIRLPOOL_ASM_SRC=$whirlpool_asm_src
# The output directory for everything intersting
OUT_D=$out_dir
...
...
@@ -657,6 +659,11 @@ foreach (values %lib_nam)
$lib_obj
=~
s/\s(\S*\/rmd_dgst\S*)/ $1 \$(RMD160_ASM_OBJ)/
;
$rules
.=
&do_asm_rule
(
$rmd160_asm_obj
,
$rmd160_asm_src
);
}
if
((
$whirlpool_asm_obj
ne
"")
&&
(
$_
eq
"
CRYPTO
"))
{
$lib_obj
=~
s/\s(\S*\/wp_dgst\S*)/ $1 \$(WHIRLPOOL_ASM_OBJ)/
;
$rules
.=
&do_asm_rule
(
$whirlpool_asm_obj
,
$whirlpool_asm_src
);
}
$defs
.=
&do_defs
(
$
{
_
}
.
"
OBJ
",
$lib_obj
,"
\$
(OBJ_D)
",
$obj
);
$lib
=
(
$slib
)?"
\$
(SHLIB_CFLAGS)
"
.
$shlib_ex_cflags
{
$_
}:"
\$
(LIB_CFLAGS)
";
$rules
.=
&do_compile_rule
("
\$
(OBJ_D)
",
$lib_obj
{
$_
},
$lib
);
...
...
@@ -840,6 +847,7 @@ sub do_defs
elsif
(
$_
=~
/MD5_ASM/
)
{
$t
=
"
$_
";
}
elsif
(
$_
=~
/SHA1_ASM/
){
$t
=
"
$_
";
}
elsif
(
$_
=~
/RMD160_ASM/
){
$t
=
"
$_
";
}
elsif
(
$_
=~
/WHIRLPOOL_ASM/
){
$t
=
"
$_
";
}
else
{
$t
=
"
$location${o}$_$pf
";
}
$Vars
{
$var
}
.=
"
$t
";
...
...
util/pl/VC-32.pl
浏览文件 @
7c510d6f
...
...
@@ -194,7 +194,9 @@ if (!$no_asm)
$sha1_asm_src
=
'
crypto\sha\asm\s1_win32.asm
';
$rmd160_asm_obj
=
'
crypto\ripemd\asm\rm_win32.obj
';
$rmd160_asm_src
=
'
crypto\ripemd\asm\rm_win32.asm
';
$cflags
.=
"
-DBN_ASM -DMD5_ASM -DSHA1_ASM -DRMD160_ASM
";
$whirlpool_asm_obj
=
'
crypto\whrlpool\asm\wp_win32.obj
';
$whirlpool_asm_src
=
'
crypto\whrlpool\asm\wp_win32.asm
';
$cflags
.=
"
-DBN_ASM -DMD5_ASM -DSHA1_ASM -DRMD160_ASM -DWHIRLPOOL_ASM
";
}
if
(
$shlib
&&
$FLAVOR
!~
/CE/
)
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录