Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Third Party Openssl
提交
d6019e16
T
Third Party Openssl
项目概览
OpenHarmony
/
Third Party Openssl
接近 2 年 前同步成功
通知
12
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看板
提交
d6019e16
编写于
10月 15, 2013
作者:
A
Andy Polyakov
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
PPC assembly pack: add .size directives.
上级
30b9c234
变更
8
隐藏空白更改
内联
并排
Showing
8 changed file
with
29 addition
and
3 deletion
+29
-3
crypto/aes/asm/aes-ppc.pl
crypto/aes/asm/aes-ppc.pl
+2
-0
crypto/bn/asm/ppc-mont.pl
crypto/bn/asm/ppc-mont.pl
+1
-0
crypto/bn/asm/ppc.pl
crypto/bn/asm/ppc.pl
+10
-0
crypto/bn/asm/ppc64-mont.pl
crypto/bn/asm/ppc64-mont.pl
+1
-0
crypto/perlasm/ppc-xlate.pl
crypto/perlasm/ppc-xlate.pl
+5
-3
crypto/ppccpuid.pl
crypto/ppccpuid.pl
+8
-0
crypto/sha/asm/sha1-ppc.pl
crypto/sha/asm/sha1-ppc.pl
+1
-0
crypto/sha/asm/sha512-ppc.pl
crypto/sha/asm/sha512-ppc.pl
+1
-0
未找到文件。
crypto/aes/asm/aes-ppc.pl
浏览文件 @
d6019e16
...
@@ -471,6 +471,7 @@ Lenc_done:
...
@@ -471,6 +471,7 @@ Lenc_done:
.long 0
.long 0
.byte 0,12,4,1,0x80,18,3,0
.byte 0,12,4,1,0x80,18,3,0
.long 0
.long 0
.size .AES_encrypt,.-.AES_encrypt
.align 5
.align 5
Lppc_AES_encrypt:
Lppc_AES_encrypt:
...
@@ -904,6 +905,7 @@ Ldec_done:
...
@@ -904,6 +905,7 @@ Ldec_done:
.long 0
.long 0
.byte 0,12,4,1,0x80,18,3,0
.byte 0,12,4,1,0x80,18,3,0
.long 0
.long 0
.size .AES_decrypt,.-.AES_decrypt
.align 5
.align 5
Lppc_AES_decrypt:
Lppc_AES_decrypt:
...
...
crypto/bn/asm/ppc-mont.pl
浏览文件 @
d6019e16
...
@@ -325,6 +325,7 @@ Lcopy: ; copy or in-place refresh
...
@@ -325,6 +325,7 @@ Lcopy: ; copy or in-place refresh
.long 0
.long 0
.byte 0,12,4,0,0x80,12,6,0
.byte 0,12,4,0,0x80,12,6,0
.long 0
.long 0
.size .bn_mul_mont_int,.-.bn_mul_mont_int
.asciz "Montgomery Multiplication for PPC, CRYPTOGAMS by <appro\@openssl.org>"
.asciz "Montgomery Multiplication for PPC, CRYPTOGAMS by <appro\@openssl.org>"
___
___
...
...
crypto/bn/asm/ppc.pl
浏览文件 @
d6019e16
...
@@ -392,6 +392,7 @@ $data=<<EOF;
...
@@ -392,6 +392,7 @@ $data=<<EOF;
.long 0
.long 0
.byte 0,12,0x14,0,0,0,2,0
.byte 0,12,0x14,0,0,0,2,0
.long 0
.long 0
.size .bn_sqr_comba4,.-.bn_sqr_comba4
#
#
# NOTE: The following label name should be changed to
# NOTE: The following label name should be changed to
...
@@ -819,6 +820,7 @@ $data=<<EOF;
...
@@ -819,6 +820,7 @@ $data=<<EOF;
.long 0
.long 0
.byte 0,12,0x14,0,0,0,2,0
.byte 0,12,0x14,0,0,0,2,0
.long 0
.long 0
.size .bn_sqr_comba8,.-.bn_sqr_comba8
#
#
# NOTE: The following label name should be changed to
# NOTE: The following label name should be changed to
...
@@ -972,6 +974,7 @@ $data=<<EOF;
...
@@ -972,6 +974,7 @@ $data=<<EOF;
.long 0
.long 0
.byte 0,12,0x14,0,0,0,3,0
.byte 0,12,0x14,0,0,0,3,0
.long 0
.long 0
.size .bn_mul_comba4,.-.bn_mul_comba4
#
#
# NOTE: The following label name should be changed to
# NOTE: The following label name should be changed to
...
@@ -1510,6 +1513,7 @@ $data=<<EOF;
...
@@ -1510,6 +1513,7 @@ $data=<<EOF;
.long 0
.long 0
.byte 0,12,0x14,0,0,0,3,0
.byte 0,12,0x14,0,0,0,3,0
.long 0
.long 0
.size .bn_mul_comba8,.-.bn_mul_comba8
#
#
# NOTE: The following label name should be changed to
# NOTE: The following label name should be changed to
...
@@ -1560,6 +1564,7 @@ Lppcasm_sub_adios:
...
@@ -1560,6 +1564,7 @@ Lppcasm_sub_adios:
.long 0
.long 0
.byte 0,12,0x14,0,0,0,4,0
.byte 0,12,0x14,0,0,0,4,0
.long 0
.long 0
.size .bn_sub_words,.-.bn_sub_words
#
#
# NOTE: The following label name should be changed to
# NOTE: The following label name should be changed to
...
@@ -1605,6 +1610,7 @@ Lppcasm_add_adios:
...
@@ -1605,6 +1610,7 @@ Lppcasm_add_adios:
.long 0
.long 0
.byte 0,12,0x14,0,0,0,4,0
.byte 0,12,0x14,0,0,0,4,0
.long 0
.long 0
.size .bn_add_words,.-.bn_add_words
#
#
# NOTE: The following label name should be changed to
# NOTE: The following label name should be changed to
...
@@ -1720,6 +1726,7 @@ Lppcasm_div9:
...
@@ -1720,6 +1726,7 @@ Lppcasm_div9:
.long 0
.long 0
.byte 0,12,0x14,0,0,0,3,0
.byte 0,12,0x14,0,0,0,3,0
.long 0
.long 0
.size .bn_div_words,.-.bn_div_words
#
#
# NOTE: The following label name should be changed to
# NOTE: The following label name should be changed to
...
@@ -1761,6 +1768,7 @@ Lppcasm_sqr_adios:
...
@@ -1761,6 +1768,7 @@ Lppcasm_sqr_adios:
.long 0
.long 0
.byte 0,12,0x14,0,0,0,3,0
.byte 0,12,0x14,0,0,0,3,0
.long 0
.long 0
.size .bn_sqr_words,.-.bn_sqr_words
#
#
# NOTE: The following label name should be changed to
# NOTE: The following label name should be changed to
...
@@ -1866,6 +1874,7 @@ Lppcasm_mw_OVER:
...
@@ -1866,6 +1874,7 @@ Lppcasm_mw_OVER:
.long 0
.long 0
.byte 0,12,0x14,0,0,0,4,0
.byte 0,12,0x14,0,0,0,4,0
.long 0
.long 0
.size bn_mul_words,.-bn_mul_words
#
#
# NOTE: The following label name should be changed to
# NOTE: The following label name should be changed to
...
@@ -1991,6 +2000,7 @@ Lppcasm_maw_adios:
...
@@ -1991,6 +2000,7 @@ Lppcasm_maw_adios:
.long 0
.long 0
.byte 0,12,0x14,0,0,0,4,0
.byte 0,12,0x14,0,0,0,4,0
.long 0
.long 0
.size .bn_mul_add_words,.-.bn_mul_add_words
.align 4
.align 4
EOF
EOF
$data
=~
s/\`([^\`]*)\`/eval $1/g
em
;
$data
=~
s/\`([^\`]*)\`/eval $1/g
em
;
...
...
crypto/bn/asm/ppc64-mont.pl
浏览文件 @
d6019e16
...
@@ -1079,6 +1079,7 @@ $code.=<<___;
...
@@ -1079,6 +1079,7 @@ $code.=<<___;
.long 0
.long 0
.byte 0,12,4,0,0x8c,10,6,0
.byte 0,12,4,0,0x8c,10,6,0
.long 0
.long 0
.size .$fname,.-.$fname
.asciz "Montgomery Multiplication for PPC64, CRYPTOGAMS by <appro\@openssl.org>"
.asciz "Montgomery Multiplication for PPC64, CRYPTOGAMS by <appro\@openssl.org>"
___
___
...
...
crypto/perlasm/ppc-xlate.pl
浏览文件 @
d6019e16
...
@@ -37,7 +37,6 @@ my $globl = sub {
...
@@ -37,7 +37,6 @@ my $globl = sub {
$ret
.=
"
.align 3
\n
";
$ret
.=
"
.align 3
\n
";
$ret
.=
"
$name
:
\n
";
$ret
.=
"
$name
:
\n
";
$ret
.=
"
.quad .
$name
,.TOC.
\@
tocbase,0
\n
";
$ret
.=
"
.quad .
$name
,.TOC.
\@
tocbase,0
\n
";
$ret
.=
"
.size
$name
,24
\n
";
$ret
.=
"
.previous
\n
";
$ret
.=
"
.previous
\n
";
$name
=
"
.
$name
";
$name
=
"
.
$name
";
...
@@ -62,9 +61,12 @@ my $machine = sub {
...
@@ -62,9 +61,12 @@ my $machine = sub {
"
.machine
$arch
";
"
.machine
$arch
";
};
};
my
$size
=
sub
{
my
$size
=
sub
{
if
(
$flavour
=~
/linux
.*32
/
)
if
(
$flavour
=~
/linux/
)
{
shift
;
{
shift
;
"
.size
"
.
join
("
,
",
@
_
);
my
$name
=
shift
;
$name
=~
s|^[\.\_]||
;
my
$ret
=
"
.size
$name
,.-
"
.
(
$flavour
=~
/64/
?"
.
":"")
.
$name
;
$ret
.=
"
\n
.size .
$name
,.-.
$name
"
if
(
$flavour
=~
/64/
);
$ret
;
}
}
else
else
{
"";
}
{
"";
}
...
...
crypto/ppccpuid.pl
浏览文件 @
d6019e16
...
@@ -31,6 +31,7 @@ $code=<<___;
...
@@ -31,6 +31,7 @@ $code=<<___;
blr
blr
.long 0
.long 0
.byte 0,12,0x14,0,0,0,0,0
.byte 0,12,0x14,0,0,0,0,0
.size .OPENSSL_ppc64_probe,.-.OPENSSL_ppc64_probe
.globl .OPENSSL_altivec_probe
.globl .OPENSSL_altivec_probe
.align 4
.align 4
...
@@ -39,6 +40,7 @@ $code=<<___;
...
@@ -39,6 +40,7 @@ $code=<<___;
blr
blr
.long 0
.long 0
.byte 0,12,0x14,0,0,0,0,0
.byte 0,12,0x14,0,0,0,0,0
.size .OPENSSL_altivec_probe,.-..OPENSSL_altivec_probe
.globl .OPENSSL_wipe_cpu
.globl .OPENSSL_wipe_cpu
.align 4
.align 4
...
@@ -71,6 +73,7 @@ $code=<<___;
...
@@ -71,6 +73,7 @@ $code=<<___;
blr
blr
.long 0
.long 0
.byte 0,12,0x14,0,0,0,0,0
.byte 0,12,0x14,0,0,0,0,0
.size .OPENSSL_wipe_cpu,.-.OPENSSL_wipe_cpu
.globl .OPENSSL_atomic_add
.globl .OPENSSL_atomic_add
.align 4
.align 4
...
@@ -84,6 +87,7 @@ Ladd: lwarx r5,0,r3
...
@@ -84,6 +87,7 @@ Ladd: lwarx r5,0,r3
.long 0
.long 0
.byte 0,12,0x14,0,0,0,2,0
.byte 0,12,0x14,0,0,0,2,0
.long 0
.long 0
.size .OPENSSL_atomic_add,.-.OPENSSL_atomic_add
.globl .OPENSSL_rdtsc
.globl .OPENSSL_rdtsc
.align 4
.align 4
...
@@ -93,6 +97,7 @@ Ladd: lwarx r5,0,r3
...
@@ -93,6 +97,7 @@ Ladd: lwarx r5,0,r3
blr
blr
.long 0
.long 0
.byte 0,12,0x14,0,0,0,0,0
.byte 0,12,0x14,0,0,0,0,0
.size .OPENSSL_rdtsc,.-.OPENSSL_rdtsc
.globl .OPENSSL_cleanse
.globl .OPENSSL_cleanse
.align 4
.align 4
...
@@ -125,6 +130,7 @@ Laligned:
...
@@ -125,6 +130,7 @@ Laligned:
.long 0
.long 0
.byte 0,12,0x14,0,0,0,2,0
.byte 0,12,0x14,0,0,0,2,0
.long 0
.long 0
.size .OPENSSL_cleanse,.-.OPENSSL_cleanse
___
___
{
{
my
(
$out
,
$cnt
,
$max
)
=
("
r3
","
r4
","
r5
");
my
(
$out
,
$cnt
,
$max
)
=
("
r3
","
r4
","
r5
");
...
@@ -162,6 +168,7 @@ Loop: mftb $tick
...
@@ -162,6 +168,7 @@ Loop: mftb $tick
.long 0
.long 0
.byte 0,12,0x14,0,0,0,2,0
.byte 0,12,0x14,0,0,0,2,0
.long 0
.long 0
.size .OPENSSL_instrument_bus,.-.OPENSSL_instrument_bus
.globl .OPENSSL_instrument_bus2
.globl .OPENSSL_instrument_bus2
.align 4
.align 4
...
@@ -213,6 +220,7 @@ Ldone2:
...
@@ -213,6 +220,7 @@ Ldone2:
.long 0
.long 0
.byte 0,12,0x14,0,0,0,3,0
.byte 0,12,0x14,0,0,0,3,0
.long 0
.long 0
.size .OPENSSL_instrument_bus2,.-.OPENSSL_instrument_bus2
___
___
}
}
...
...
crypto/sha/asm/sha1-ppc.pl
浏览文件 @
d6019e16
...
@@ -265,6 +265,7 @@ Ldone:
...
@@ -265,6 +265,7 @@ Ldone:
.long 0
.long 0
.byte 0,12,4,1,0x80,18,3,0
.byte 0,12,4,1,0x80,18,3,0
.long 0
.long 0
.size .sha1_block_data_order,.-.sha1_block_data_order
___
___
# This is private block function, which uses tailored calling
# This is private block function, which uses tailored calling
...
...
crypto/sha/asm/sha512-ppc.pl
浏览文件 @
d6019e16
...
@@ -344,6 +344,7 @@ Ldone:
...
@@ -344,6 +344,7 @@ Ldone:
.long 0
.long 0
.byte 0,12,4,1,0x80,18,3,0
.byte 0,12,4,1,0x80,18,3,0
.long 0
.long 0
.size $func,.-$func
___
___
if
(
$SZ
==
4
||
$SIZE_T
==
8
)
{
if
(
$SZ
==
4
||
$SIZE_T
==
8
)
{
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录