Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openeuler
Kernel
提交
02c0241b
K
Kernel
项目概览
openeuler
/
Kernel
1 年多 前同步成功
通知
8
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
K
Kernel
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
提交
02c0241b
编写于
6月 21, 2013
作者:
H
Herbert Xu
浏览文件
操作
浏览文件
下载
差异文件
Merge
git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto
Merge crypto to resolve conflict in crypto/Kconfig.
上级
da5ffe11
fe6510b5
变更
5
隐藏空白更改
内联
并排
Showing
5 changed file
with
37 addition
and
21 deletion
+37
-21
arch/x86/crypto/aesni-intel_asm.S
arch/x86/crypto/aesni-intel_asm.S
+32
-16
arch/x86/crypto/sha256-avx-asm.S
arch/x86/crypto/sha256-avx-asm.S
+1
-1
arch/x86/crypto/sha256-ssse3-asm.S
arch/x86/crypto/sha256-ssse3-asm.S
+1
-1
drivers/crypto/caam/caamalg.c
drivers/crypto/caam/caamalg.c
+2
-2
drivers/crypto/sahara.c
drivers/crypto/sahara.c
+1
-1
未找到文件。
arch/x86/crypto/aesni-intel_asm.S
浏览文件 @
02c0241b
...
...
@@ -2681,56 +2681,68 @@ ENTRY(aesni_xts_crypt8)
addq
%
rcx
,
KEYP
movdqa
IV
,
STATE1
pxor
0x00
(
INP
),
STATE1
movdqu
0x00
(
INP
),
INC
pxor
INC
,
STATE1
movdqu
IV
,
0x00
(
OUTP
)
_aesni_gf128mul_x_ble
()
movdqa
IV
,
STATE2
pxor
0x10
(
INP
),
STATE2
movdqu
0x10
(
INP
),
INC
pxor
INC
,
STATE2
movdqu
IV
,
0x10
(
OUTP
)
_aesni_gf128mul_x_ble
()
movdqa
IV
,
STATE3
pxor
0x20
(
INP
),
STATE3
movdqu
0x20
(
INP
),
INC
pxor
INC
,
STATE3
movdqu
IV
,
0x20
(
OUTP
)
_aesni_gf128mul_x_ble
()
movdqa
IV
,
STATE4
pxor
0x30
(
INP
),
STATE4
movdqu
0x30
(
INP
),
INC
pxor
INC
,
STATE4
movdqu
IV
,
0x30
(
OUTP
)
call
*%
r11
pxor
0x00
(
OUTP
),
STATE1
movdqu
0x00
(
OUTP
),
INC
pxor
INC
,
STATE1
movdqu
STATE1
,
0x00
(
OUTP
)
_aesni_gf128mul_x_ble
()
movdqa
IV
,
STATE1
pxor
0x40
(
INP
),
STATE1
movdqu
0x40
(
INP
),
INC
pxor
INC
,
STATE1
movdqu
IV
,
0x40
(
OUTP
)
pxor
0x10
(
OUTP
),
STATE2
movdqu
0x10
(
OUTP
),
INC
pxor
INC
,
STATE2
movdqu
STATE2
,
0x10
(
OUTP
)
_aesni_gf128mul_x_ble
()
movdqa
IV
,
STATE2
pxor
0x50
(
INP
),
STATE2
movdqu
0x50
(
INP
),
INC
pxor
INC
,
STATE2
movdqu
IV
,
0x50
(
OUTP
)
pxor
0x20
(
OUTP
),
STATE3
movdqu
0x20
(
OUTP
),
INC
pxor
INC
,
STATE3
movdqu
STATE3
,
0x20
(
OUTP
)
_aesni_gf128mul_x_ble
()
movdqa
IV
,
STATE3
pxor
0x60
(
INP
),
STATE3
movdqu
0x60
(
INP
),
INC
pxor
INC
,
STATE3
movdqu
IV
,
0x60
(
OUTP
)
pxor
0x30
(
OUTP
),
STATE4
movdqu
0x30
(
OUTP
),
INC
pxor
INC
,
STATE4
movdqu
STATE4
,
0x30
(
OUTP
)
_aesni_gf128mul_x_ble
()
movdqa
IV
,
STATE4
pxor
0x70
(
INP
),
STATE4
movdqu
0x70
(
INP
),
INC
pxor
INC
,
STATE4
movdqu
IV
,
0x70
(
OUTP
)
_aesni_gf128mul_x_ble
()
...
...
@@ -2738,16 +2750,20 @@ ENTRY(aesni_xts_crypt8)
call
*%
r11
pxor
0x40
(
OUTP
),
STATE1
movdqu
0x40
(
OUTP
),
INC
pxor
INC
,
STATE1
movdqu
STATE1
,
0x40
(
OUTP
)
pxor
0x50
(
OUTP
),
STATE2
movdqu
0x50
(
OUTP
),
INC
pxor
INC
,
STATE2
movdqu
STATE2
,
0x50
(
OUTP
)
pxor
0x60
(
OUTP
),
STATE3
movdqu
0x60
(
OUTP
),
INC
pxor
INC
,
STATE3
movdqu
STATE3
,
0x60
(
OUTP
)
pxor
0x70
(
OUTP
),
STATE4
movdqu
0x70
(
OUTP
),
INC
pxor
INC
,
STATE4
movdqu
STATE4
,
0x70
(
OUTP
)
ret
...
...
arch/x86/crypto/sha256-avx-asm.S
浏览文件 @
02c0241b
...
...
@@ -118,7 +118,7 @@ y2 = %r15d
_INP_END_SIZE
=
8
_INP_SIZE
=
8
_XFER_SIZE
=
8
_XFER_SIZE
=
16
_XMM_SAVE_SIZE
=
0
_INP_END
=
0
...
...
arch/x86/crypto/sha256-ssse3-asm.S
浏览文件 @
02c0241b
...
...
@@ -111,7 +111,7 @@ y2 = %r15d
_INP_END_SIZE
=
8
_INP_SIZE
=
8
_XFER_SIZE
=
8
_XFER_SIZE
=
16
_XMM_SAVE_SIZE
=
0
_INP_END
=
0
...
...
drivers/crypto/caam/caamalg.c
浏览文件 @
02c0241b
...
...
@@ -1154,7 +1154,7 @@ static struct aead_edesc *aead_edesc_alloc(struct aead_request *req,
dst_nents
=
sg_count
(
req
->
dst
,
req
->
cryptlen
,
&
dst_chained
);
sgc
=
dma_map_sg_chained
(
jrdev
,
req
->
assoc
,
assoc_nents
?
:
1
,
DMA_
BIDIRECTIONAL
,
assoc_chained
);
DMA_
TO_DEVICE
,
assoc_chained
);
if
(
likely
(
req
->
src
==
req
->
dst
))
{
sgc
=
dma_map_sg_chained
(
jrdev
,
req
->
src
,
src_nents
?
:
1
,
DMA_BIDIRECTIONAL
,
src_chained
);
...
...
@@ -1336,7 +1336,7 @@ static struct aead_edesc *aead_giv_edesc_alloc(struct aead_givcrypt_request
dst_nents
=
sg_count
(
req
->
dst
,
req
->
cryptlen
,
&
dst_chained
);
sgc
=
dma_map_sg_chained
(
jrdev
,
req
->
assoc
,
assoc_nents
?
:
1
,
DMA_
BIDIRECTIONAL
,
assoc_chained
);
DMA_
TO_DEVICE
,
assoc_chained
);
if
(
likely
(
req
->
src
==
req
->
dst
))
{
sgc
=
dma_map_sg_chained
(
jrdev
,
req
->
src
,
src_nents
?
:
1
,
DMA_BIDIRECTIONAL
,
src_chained
);
...
...
drivers/crypto/sahara.c
浏览文件 @
02c0241b
...
...
@@ -863,7 +863,7 @@ static struct of_device_id sahara_dt_ids[] = {
{
.
compatible
=
"fsl,imx27-sahara"
},
{
/* sentinel */
}
};
MODULE_DEVICE_TABLE
(
platform
,
sahara_dt_ids
);
MODULE_DEVICE_TABLE
(
of
,
sahara_dt_ids
);
static
int
sahara_probe
(
struct
platform_device
*
pdev
)
{
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录