Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Third Party Openssl
提交
251718e4
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看板
体验新版 GitCode,发现更多精彩内容 >>
提交
251718e4
编写于
5月 02, 2007
作者:
A
Andy Polyakov
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Fix s390x bugs and correct performance coefficients.
上级
c504a5e7
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
5 addition
and
3 deletion
+5
-3
crypto/aes/asm/aes-s390x.pl
crypto/aes/asm/aes-s390x.pl
+1
-1
crypto/sha/asm/sha1-s390x.pl
crypto/sha/asm/sha1-s390x.pl
+2
-1
crypto/sha/asm/sha512-s390x.pl
crypto/sha/asm/sha512-s390x.pl
+2
-1
未找到文件。
crypto/aes/asm/aes-s390x.pl
浏览文件 @
251718e4
...
...
@@ -23,7 +23,7 @@
# for CBC is not utilized, nor multiple blocks are ever processed.
# Then software key schedule can be postponed till hardware support
# detection... Performance improvement over assembler is reportedly
# ~2.5x, but can reach >
15
x [naturally on larger chunks] if proper
# ~2.5x, but can reach >
8
x [naturally on larger chunks] if proper
# support is implemented.
$t1
=
"
%r0
";
...
...
crypto/sha/asm/sha1-s390x.pl
浏览文件 @
251718e4
...
...
@@ -13,7 +13,7 @@
#
# Performance is >30% better than gcc 3.3 generated code. But the real
# twist is that SHA1 hardware support is detected and utilized. In
# which case performance can reach further >
8
x for larger chunks.
# which case performance can reach further >
4.5
x for larger chunks.
$kimdfunc
=
1
;
# magic function code for kimd instruction
...
...
@@ -160,6 +160,7 @@ $code.=<<___ if ($kimdfunc);
lgr
%r2
,
$inp
sllg
%r3
,
$len
,
6
.
long
0xb93e0002
# kimd %r0,%r2
brc
1
,
.-
4
# pay attention to "partial completion"
br
%r14
.
Lsoftware:
___
...
...
crypto/sha/asm/sha512-s390x.pl
浏览文件 @
251718e4
...
...
@@ -16,7 +16,7 @@
# "pathologically" high, in particular in comparison to other SHA
# modules). But the real twist is that it detects if hardware support
# for SHA256 is available and in such case utilizes it. Then the
# performance can reach >
12
x of assembler one for larger chunks.
# performance can reach >
6.5
x of assembler one for larger chunks.
#
# sha512_block_data_order is ~70% faster than gcc 3.3 generated code.
...
...
@@ -219,6 +219,7 @@ $code.=<<___ if ($kimdfunc);
lgr
%r2
,
$inp
sllg
%r3
,
$len
,`
log(16*
$SZ
)/log(2)
`
.
long
0xb93e0002
# kimd %r0,%r2
brc
1
,
.-
4
# pay attention to "partial completion"
br
%r14
.
Lsoftware:
___
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录