Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Third Party Openssl
提交
f2188228
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看板
提交
f2188228
编写于
2月 21, 2016
作者:
A
Andy Polyakov
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
chacha/asm/chacha-*.pl: fix typos in tail processing.
RT#4323 Reviewed-by:
N
Rich Salz
<
rsalz@openssl.org
>
上级
80757ad4
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
18 addition
and
18 deletion
+18
-18
crypto/chacha/asm/chacha-armv4.pl
crypto/chacha/asm/chacha-armv4.pl
+11
-11
crypto/chacha/asm/chacha-s390x.pl
crypto/chacha/asm/chacha-s390x.pl
+3
-3
crypto/chacha/asm/chacha-x86_64.pl
crypto/chacha/asm/chacha-x86_64.pl
+4
-4
未找到文件。
crypto/chacha/asm/chacha-armv4.pl
浏览文件 @
f2188228
...
...
@@ -440,9 +440,9 @@ $code.=<<___;
eorhs @x[4],@x[4],@t[0]
eorhs @x[5],@x[5],@t[1]
# ifdef __thumb2__
it hi
it ne
# endif
ldr
hi
@t[0],[sp,#4*(32+2)] @ re-load len
ldr
ne
@t[0],[sp,#4*(32+2)] @ re-load len
# ifdef __thumb2__
itt hs
# endif
...
...
@@ -584,9 +584,9 @@ ___
}
$code
.=
<<___;
# ifdef __thumb2__
it
hi
it
ne
# endif
ldr
hi
@t[0],[sp,#4*(32+2)] @ re-load len
ldr
ne
@t[0],[sp,#4*(32+2)] @ re-load len
# ifdef __thumb2__
it hs
# endif
...
...
@@ -598,15 +598,15 @@ $code.=<<___;
.Ltail:
ldr r12,[sp,#4*(32+1)] @ load inp
add @t[
2
],sp,#4*(0)
add @t[
1
],sp,#4*(0)
ldr r14,[sp,#4*(32+0)] @ load out
.Loop_tail:
ldrb @t[
0],[@t[2
]],#1 @ read buffer on stack
ldrb @t[
1
],[r12],#1 @ read input
subs @t[
3],@t[3
],#1
eor @t[
0],@t[0],@t[1
]
strb @t[
0
],[r14],#1 @ store output
ldrb @t[
2],[@t[1
]],#1 @ read buffer on stack
ldrb @t[
3
],[r12],#1 @ read input
subs @t[
0],@t[0
],#1
eor @t[
3],@t[3],@t[2
]
strb @t[
3
],[r14],#1 @ store output
bne .Loop_tail
.Ldone:
...
...
@@ -1120,7 +1120,7 @@ $code.=<<___;
# endif
stmia @t[0],{@x[0]-@x[7]}
add @t[2],sp,#4*(0)
sub @t[3],@t[
0
],#64*3 @ len-=64*3
sub @t[3],@t[
3
],#64*3 @ len-=64*3
.Loop_tail_neon:
ldrb @t[0],[@t[2]],#1 @ read buffer on stack
...
...
crypto/chacha/asm/chacha-s390x.pl
浏览文件 @
f2188228
...
...
@@ -257,11 +257,11 @@ $code.=<<___;
st @x[1],4*9(@t[0])
x @x[3],4*11(%r14)
st @x[2],4*10(@t[0])
la %r14,64(%r14)
st @x[3],4*11(@t[0])
cl${g}r %r14,@t[1] # done yet?
jle .Loop_outer
la %r14,64(%r14)
jl .Loop_outer
.Ldone:
xgr %r0,%r0
...
...
@@ -291,7 +291,7 @@ $code.=<<___;
lrvr @x[1],@x[1]
lrvr @x[2],@x[2]
lrvr @x[3],@x[3]
stm @x[0],@x[3],$stdframe+4*8
+4*8
($sp)
stm @x[0],@x[3],$stdframe+4*8($sp)
.Loop_tail:
llgc @x[4],0(@x[6],%r14)
...
...
crypto/chacha/asm/chacha-x86_64.pl
浏览文件 @
f2188228
...
...
@@ -1544,13 +1544,13 @@ $code.=<<___;
je .Ldone4xop
lea 0x40($inp),$inp # inp+=64*3
vmovdqa $xa
2
,0x00(%rsp)
vmovdqa $xa
3
,0x00(%rsp)
xor %r10,%r10
vmovdqa $xb
2
,0x10(%rsp)
vmovdqa $xb
3
,0x10(%rsp)
lea 0x40($out),$out # out+=64*3
vmovdqa $xc
2
,0x20(%rsp)
vmovdqa $xc
3
,0x20(%rsp)
sub \$192,$len # len-=64*3
vmovdqa $xd
2
,0x30(%rsp)
vmovdqa $xd
3
,0x30(%rsp)
.Loop_tail4xop:
movzb ($inp,%r10),%eax
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录