Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Third Party Openssl
提交
69d5747f
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看板
提交
69d5747f
编写于
10月 15, 2014
作者:
A
Andy Polyakov
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
aesni-x86_64.pl: make ECB subroutine Windows ABI compliant.
RT: 3553 Reviewed-by:
N
Emilia Kasper
<
emilia@openssl.org
>
上级
fb0e87fb
变更
1
隐藏空白更改
内联
并排
Showing
1 changed file
with
27 addition
and
25 deletion
+27
-25
crypto/aes/asm/aesni-x86_64.pl
crypto/aes/asm/aesni-x86_64.pl
+27
-25
未找到文件。
crypto/aes/asm/aesni-x86_64.pl
浏览文件 @
69d5747f
...
...
@@ -584,6 +584,16 @@ $code.=<<___;
.type aesni_ecb_encrypt,\@function,5
.align 16
aesni_ecb_encrypt:
___
$code
.=<<
___
if
(
$win64
);
lea
-
0x58
(
%rsp
),
%rsp
movaps
%xmm6
,(
%rsp
)
movaps
%xmm7
,
0x10
(
%rsp
)
movaps
%xmm8
,
0x20
(
%rsp
)
movaps
%xmm9
,
0x30
(
%rsp
)
.
Lecb_enc_body:
___
$code
.=
<<___;
and \$-16,$len
jz .Lecb_ret
...
...
@@ -862,6 +872,16 @@ $code.=<<___;
movups $inout5,0x50($out)
.Lecb_ret:
___
$code
.=<<
___
if
(
$win64
);
movaps
(
%rsp
),
%xmm6
movaps
0x10
(
%rsp
),
%xmm7
movaps
0x20
(
%rsp
),
%xmm8
movaps
0x30
(
%rsp
),
%xmm9
lea
0x58
(
%rsp
),
%rsp
.
Lecb_enc_ret:
___
$code
.=
<<___;
ret
.size aesni_ecb_encrypt,.-aesni_ecb_encrypt
___
...
...
@@ -3225,28 +3245,9 @@ $code.=<<___;
.extern __imp_RtlVirtualUnwind
___
$code
.=<<
___
if
(
$PREFIX
eq
"
aesni
");
.
type
ecb_se_handler
,
\
@abi
-
omnipotent
.
align
16
ecb_se_handler:
push
%rsi
push
%rdi
push
%rbx
push
%rbp
push
%r12
push
%r13
push
%r14
push
%r15
pushfq
sub
\$64,%
rsp
mov
152($
context
),%
rax
#
pull
context
->
Rsp
jmp
.
Lcommon_seh_tail
.
size
ecb_se_handler
,.-
ecb_se_handler
.
type
ccm64_se_handler
,\@
abi
-
omnipotent
.
type
ecb_ccm64_se_handler
,
\
@abi
-
omnipotent
.
align
16
ccm64_se_handler
:
ecb_
ccm64_se_handler:
push
%rsi
push
%rdi
push
%rbx
...
...
@@ -3283,7 +3284,7 @@ ccm64_se_handler:
lea
0x58
(
%rax
),
%rax
# adjust stack pointer
jmp
.
Lcommon_seh_tail
.
size
ccm64_se_handler
,
.-
ccm64_se_handler
.
size
ecb_ccm64_se_handler
,
.-
ecb_
ccm64_se_handler
.
type
ctr_xts_se_handler
,
\
@abi
-
omnipotent
.
align
16
...
...
@@ -3457,14 +3458,15 @@ ___
$code
.=<<
___
if
(
$PREFIX
eq
"
aesni
");
.
LSEH_info_ecb:
.
byte
9
,
0
,
0
,
0
.
rva
ecb_se_handler
.
rva
ecb_ccm64_se_handler
.
rva
.
Lecb_enc_body
,
.
Lecb_enc_ret
# HandlerData[]
.
LSEH_info_ccm64_enc:
.
byte
9
,
0
,
0
,
0
.
rva
ccm64_se_handler
.
rva
ecb_
ccm64_se_handler
.
rva
.
Lccm64_enc_body
,
.
Lccm64_enc_ret
# HandlerData[]
.
LSEH_info_ccm64_dec:
.
byte
9
,
0
,
0
,
0
.
rva
ccm64_se_handler
.
rva
ecb_
ccm64_se_handler
.
rva
.
Lccm64_dec_body
,
.
Lccm64_dec_ret
# HandlerData[]
.
LSEH_info_ctr32:
.
byte
9
,
0
,
0
,
0
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录