Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Third Party Openssl
提交
fd8ad019
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看板
提交
fd8ad019
编写于
8月 03, 2013
作者:
A
Andy Polyakov
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
crypto/bn/asm/rsax-x86_64.pl: make it work on Darwin.
上级
00678437
变更
1
隐藏空白更改
内联
并排
Showing
1 changed file
with
9 addition
and
9 deletion
+9
-9
crypto/bn/asm/rsaz-x86_64.pl
crypto/bn/asm/rsaz-x86_64.pl
+9
-9
未找到文件。
crypto/bn/asm/rsaz-x86_64.pl
浏览文件 @
fd8ad019
...
...
@@ -729,7 +729,7 @@ ___
{
my
(
$out
,
$ap
,
$bp
,
$mod
,
$n0
)
=
("
%rdi
","
%rsi
","
%rdx
","
%rcx
","
%r8
");
$code
.=
<<___;
.glob
a
l rsaz_512_mul
.globl rsaz_512_mul
.type rsaz_512_mul,\@function,5
.align 32
rsaz_512_mul:
...
...
@@ -747,7 +747,7 @@ rsaz_512_mul:
movq $n0, 128(%rsp)
movq $bp, %rbp # pass argument
call _rsaz_512_mul
call _
_
rsaz_512_mul
movq %xmm0, $out
movq %xmm1, %rbp
...
...
@@ -791,7 +791,7 @@ ___
{
my
(
$out
,
$ap
,
$bp
,
$mod
,
$n0
,
$pwr
)
=
("
%rdi
","
%rsi
","
%rdx
","
%rcx
","
%r8
","
%r9d
");
$code
.=
<<___;
.glob
a
l rsaz_512_mul_gather4
.globl rsaz_512_mul_gather4
.type rsaz_512_mul_gather4,\@function,6
.align 32
rsaz_512_mul_gather4:
...
...
@@ -999,7 +999,7 @@ ___
{
my
(
$out
,
$ap
,
$mod
,
$n0
,
$tbl
,
$pwr
)
=
("
%rdi
","
%rsi
","
%rdx
","
%rcx
","
%r8
","
%r9d
");
$code
.=
<<___;
.glob
a
l rsaz_512_mul_scatter4
.globl rsaz_512_mul_scatter4
.type rsaz_512_mul_scatter4,\@function,6
.align 32
rsaz_512_mul_scatter4:
...
...
@@ -1019,7 +1019,7 @@ rsaz_512_mul_scatter4:
movq $n0, 128(%rsp)
movq $out, %rbp
call _rsaz_512_mul
call _
_
rsaz_512_mul
movq %xmm0, $out
movq %xmm1, %rbp
...
...
@@ -1359,16 +1359,16 @@ _rsaz_512_subtract:
.size _rsaz_512_subtract,.-_rsaz_512_subtract
___
}
{
# _rsaz_512_mul
{
# _
_
rsaz_512_mul
#
# input: %rsi - ap, %rbp - bp
# ouput:
# clobbers: everything
my
(
$ap
,
$bp
)
=
("
%rsi
","
%rbp
");
$code
.=
<<___;
.type _rsaz_512_mul,\@abi-omnipotent
.type _
_
rsaz_512_mul,\@abi-omnipotent
.align 32
_rsaz_512_mul:
_
_
rsaz_512_mul:
leaq 8(%rsp), %rdi
movq ($bp), %rbx
...
...
@@ -1508,7 +1508,7 @@ _rsaz_512_mul:
movq %r15, 56(%rdi)
ret
.size _
rsaz_512_mul,.-
_rsaz_512_mul
.size _
_rsaz_512_mul,.-_
_rsaz_512_mul
___
}
{
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录