Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Third Party Openssl
提交
396df731
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看板
提交
396df731
编写于
7月 08, 2010
作者:
A
Andy Polyakov
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
crypto/*/Makefile: unify "catch-all" assembler make rules and harmonize
ARM assembler modules.
上级
f04f3873
变更
9
隐藏空白更改
内联
并排
Showing
9 changed file
with
17 addition
and
12 deletion
+17
-12
crypto/aes/Makefile
crypto/aes/Makefile
+1
-1
crypto/aes/asm/aes-armv4.pl
crypto/aes/asm/aes-armv4.pl
+4
-0
crypto/bn/Makefile
crypto/bn/Makefile
+1
-1
crypto/modes/Makefile
crypto/modes/Makefile
+2
-1
crypto/modes/asm/ghash-armv4.pl
crypto/modes/asm/ghash-armv4.pl
+3
-3
crypto/sha/Makefile
crypto/sha/Makefile
+3
-3
crypto/sha/asm/sha1-armv4-large.pl
crypto/sha/asm/sha1-armv4-large.pl
+1
-1
crypto/sha/asm/sha256-armv4.pl
crypto/sha/asm/sha256-armv4.pl
+1
-1
crypto/sha/asm/sha512-armv4.pl
crypto/sha/asm/sha512-armv4.pl
+1
-1
未找到文件。
crypto/aes/Makefile
浏览文件 @
396df731
...
...
@@ -68,7 +68,7 @@ aes-parisc.s: asm/aes-parisc.pl
$(PERL)
asm/aes-parisc.pl
$(PERLASM_SCHEME)
$@
# GNU make "catch all"
aes-%.s
:
asm/aes-%.pl; $(PERL) $< $(
CFLAGS) >
$@
aes-%.s
:
asm/aes-%.pl; $(PERL) $< $(
PERLASM_SCHEME)
$@
files
:
$(PERL)
$(TOP)
/util/files.pl Makefile
>>
$(TOP)
/MINFO
...
...
crypto/aes/asm/aes-armv4.pl
浏览文件 @
396df731
...
...
@@ -22,6 +22,9 @@
#
# AES_set_[en|de]crypt_key is added.
while
((
$output
=
shift
)
&&
(
$output
!~
/^\w[\w\-]*\.\w+$/
))
{}
open
STDOUT
,"
>
$output
";
$s0
=
"
r0
";
$s1
=
"
r1
";
$s2
=
"
r2
";
...
...
@@ -1029,3 +1032,4 @@ ___
$code
=~
s/\bbx\s+lr\b/.word\t0xe12fff1e/gm
;
# make it possible to compile with -march=armv4
print
$code
;
close
STDOUT
;
# enforce flush
crypto/bn/Makefile
浏览文件 @
396df731
...
...
@@ -114,7 +114,7 @@ alpha-mont.s: asm/alpha-mont.pl
$(PERL)
$<
|
$(CC)
-E
- |
tee
$@
>
/dev/null
# GNU make "catch all"
%-mont.s
:
asm/%-mont.pl; $(PERL) $< $(
CFLAGS) >
$@
%-mont.s
:
asm/%-mont.pl; $(PERL) $< $(
PERLASM_SCHEME)
$@
files
:
$(PERL)
$(TOP)
/util/files.pl Makefile
>>
$(TOP)
/MINFO
...
...
crypto/modes/Makefile
浏览文件 @
396df731
...
...
@@ -55,8 +55,9 @@ ghash-alpha.s: asm/ghash-alpha.pl
$(PERL)
$<
|
$(CC)
-E
- |
tee
$@
>
/dev/null
ghash-parisc.s
:
asm/ghash-parisc.pl
$
(
$PERL
)
asm/ghash-parisc.pl
$(PERLASM_SCHEME)
$@
# GNU make "catch all"
ghash-%.s
:
asm/ghash-%.pl; $(PERL) $< $(PERLASM_SCHEME) $
(CFLAGS) > $
@
ghash-%.s
:
asm/ghash-%.pl; $(PERL) $< $(PERLASM_SCHEME) $@
files
:
$(PERL)
$(TOP)
/util/files.pl Makefile
>>
$(TOP)
/MINFO
...
...
crypto/modes/asm/ghash-armv4.pl
浏览文件 @
396df731
...
...
@@ -39,6 +39,9 @@
# *native* byte order on current platform. See gcm128.c for working
# example...
while
((
$output
=
shift
)
&&
(
$output
!~
/^\w[\w\-]*\.\w+$/
))
{}
open
STDOUT
,"
>
$output
";
$Xi
=
"
r0
";
# argument block
$Htbl
=
"
r1
";
$inp
=
"
r2
";
...
...
@@ -59,9 +62,6 @@ $nhi="r14";
$rem_4bit
=
$inp
;
# used in gcm_gmult_4bit
$cnt
=
$len
;
$output
=
shift
;
open
STDOUT
,"
>
$output
";
sub
Zsmash
()
{
my
$i
=
12
;
my
@args
=
@_
;
...
...
crypto/sha/Makefile
浏览文件 @
396df731
...
...
@@ -79,9 +79,9 @@ sha256-parisc.s:asm/sha512-parisc.pl; $(PERL) asm/sha512-parisc.pl $(PERLASM_SCH
sha512-parisc.s
:
asm/sha512-parisc.pl; $(PERL) asm/sha512-parisc.pl $(PERLASM_SCHEME) $@
# GNU make "catch all"
sha1-%.s
:
asm/sha1-%.pl; $(PERL) $< $@
sha256-%.s
:
asm/sha512-%.pl; $(PERL) $< $@
sha512-%.s
:
asm/sha512-%.pl; $(PERL) $< $@
sha1-%.s
:
asm/sha1-%.pl; $(PERL) $< $
(PERLASM_SCHEME) $
@
sha256-%.s
:
asm/sha512-%.pl; $(PERL) $< $
(PERLASM_SCHEME) $
@
sha512-%.s
:
asm/sha512-%.pl; $(PERL) $< $
(PERLASM_SCHEME) $
@
files
:
$(PERL)
$(TOP)
/util/files.pl Makefile
>>
$(TOP)
/MINFO
...
...
crypto/sha/asm/sha1-armv4-large.pl
浏览文件 @
396df731
...
...
@@ -39,7 +39,7 @@
# small and always slower.
# [***] which is also ~35% better than compiler generated code.
$output
=
shift
;
while
((
$output
=
shift
)
&&
(
$output
!~
/^\w[\w\-]*\.\w+$/
))
{}
open
STDOUT
,"
>
$output
";
$ctx
=
"
r0
";
...
...
crypto/sha/asm/sha256-armv4.pl
浏览文件 @
396df731
...
...
@@ -13,7 +13,7 @@
# lute" terms is ~2250 cycles per 64-byte block or ~35 cycles per
# byte.
$output
=
shift
;
while
((
$output
=
shift
)
&&
(
$output
!~
/^\w[\w\-]*\.\w+$/
))
{}
open
STDOUT
,"
>
$output
";
$ctx
=
"
r0
";
$t0
=
"
r0
";
...
...
crypto/sha/asm/sha512-armv4.pl
浏览文件 @
396df731
...
...
@@ -22,7 +22,7 @@ $hi=0;
$lo
=
4
;
# ====================================================================
$output
=
shift
;
while
((
$output
=
shift
)
&&
(
$output
!~
/^\w[\w\-]*\.\w+$/
))
{}
open
STDOUT
,"
>
$output
";
$ctx
=
"
r0
";
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录