Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Third Party Openssl
提交
6cd13f70
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看板
提交
6cd13f70
编写于
7月 16, 2014
作者:
A
Andy Polyakov
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Revert "Engage GHASH for PowerISA 2.07."
This reverts commit
14aaf883
.
上级
14aaf883
变更
4
隐藏空白更改
内联
并排
Showing
4 changed file
with
11 addition
and
30 deletion
+11
-30
Configure
Configure
+1
-1
TABLE
TABLE
+10
-10
crypto/modes/Makefile
crypto/modes/Makefile
+0
-2
crypto/modes/gcm128.c
crypto/modes/gcm128.c
+0
-17
未找到文件。
Configure
浏览文件 @
6cd13f70
...
...
@@ -140,7 +140,7 @@ my $armv4_asm="armcap.o armv4cpuid.o:bn_asm.o armv4-mont.o armv4-gf2m.o::aes_cbc
my $aarch64_asm="armcap.o arm64cpuid.o mem_clr.o:::aes_core.o aes_cbc.o aesv8-armx.o:::sha1-armv8.o sha256-armv8.o sha512-armv8.o:::::::ghashv8-armx.o:";
my $parisc11_asm="pariscid.o:bn_asm.o parisc-mont.o::aes_core.o aes_cbc.o aes-parisc.o:::sha1-parisc.o sha256-parisc.o sha512-parisc.o::rc4-parisc.o:::::ghash-parisc.o::32";
my $parisc20_asm="pariscid.o:pa-risc2W.o parisc-mont.o::aes_core.o aes_cbc.o aes-parisc.o:::sha1-parisc.o sha256-parisc.o sha512-parisc.o::rc4-parisc.o:::::ghash-parisc.o::64";
my $ppc64_asm="ppccpuid.o ppccap.o:bn-ppc.o ppc-mont.o ppc64-mont.o::aes_core.o aes_cbc.o aes-ppc.o vpaes-ppc.o aesp8-ppc.o:::sha1-ppc.o sha256-ppc.o sha512-ppc.o sha256p8-ppc.o sha512p8-ppc.o:::::::
ghashp8-ppc.o
:";
my $ppc64_asm="ppccpuid.o ppccap.o:bn-ppc.o ppc-mont.o ppc64-mont.o::aes_core.o aes_cbc.o aes-ppc.o vpaes-ppc.o aesp8-ppc.o:::sha1-ppc.o sha256-ppc.o sha512-ppc.o sha256p8-ppc.o sha512p8-ppc.o::::::::";
my $ppc32_asm=$ppc64_asm;
my $no_asm=":::::::::::::::void";
...
...
TABLE
浏览文件 @
6cd13f70
...
...
@@ -912,7 +912,7 @@ $rmd160_obj =
$rc5_obj =
$wp_obj =
$cmll_obj =
$modes_obj =
ghashp8-ppc.o
$modes_obj =
$engines_obj =
$perlasm_scheme = aix32
$dso_scheme = dlfcn
...
...
@@ -945,7 +945,7 @@ $rmd160_obj =
$rc5_obj =
$wp_obj =
$cmll_obj =
$modes_obj =
ghashp8-ppc.o
$modes_obj =
$engines_obj =
$perlasm_scheme = aix32
$dso_scheme = dlfcn
...
...
@@ -1011,7 +1011,7 @@ $rmd160_obj =
$rc5_obj =
$wp_obj =
$cmll_obj =
$modes_obj =
ghashp8-ppc.o
$modes_obj =
$engines_obj =
$perlasm_scheme = aix64
$dso_scheme = dlfcn
...
...
@@ -1044,7 +1044,7 @@ $rmd160_obj =
$rc5_obj =
$wp_obj =
$cmll_obj =
$modes_obj =
ghashp8-ppc.o
$modes_obj =
$engines_obj =
$perlasm_scheme = aix64
$dso_scheme = dlfcn
...
...
@@ -1473,7 +1473,7 @@ $rmd160_obj =
$rc5_obj =
$wp_obj =
$cmll_obj =
$modes_obj =
ghashp8-ppc.o
$modes_obj =
$engines_obj =
$perlasm_scheme = osx32
$dso_scheme = dlfcn
...
...
@@ -1506,7 +1506,7 @@ $rmd160_obj =
$rc5_obj =
$wp_obj =
$cmll_obj =
$modes_obj =
ghashp8-ppc.o
$modes_obj =
$engines_obj =
$perlasm_scheme = osx64
$dso_scheme = dlfcn
...
...
@@ -2199,7 +2199,7 @@ $rmd160_obj =
$rc5_obj =
$wp_obj =
$cmll_obj =
$modes_obj =
ghashp8-ppc.o
$modes_obj =
$engines_obj =
$perlasm_scheme = osx32
$dso_scheme = dlfcn
...
...
@@ -4542,7 +4542,7 @@ $rmd160_obj =
$rc5_obj =
$wp_obj =
$cmll_obj =
$modes_obj =
ghashp8-ppc.o
$modes_obj =
$engines_obj =
$perlasm_scheme = linux32
$dso_scheme = dlfcn
...
...
@@ -4575,7 +4575,7 @@ $rmd160_obj =
$rc5_obj =
$wp_obj =
$cmll_obj =
$modes_obj =
ghashp8-ppc.o
$modes_obj =
$engines_obj =
$perlasm_scheme = linux64
$dso_scheme = dlfcn
...
...
@@ -4608,7 +4608,7 @@ $rmd160_obj =
$rc5_obj =
$wp_obj =
$cmll_obj =
$modes_obj =
ghashp8-ppc.o
$modes_obj =
$engines_obj =
$perlasm_scheme = linux64le
$dso_scheme = dlfcn
...
...
crypto/modes/Makefile
浏览文件 @
6cd13f70
...
...
@@ -62,8 +62,6 @@ ghash-parisc.s: asm/ghash-parisc.pl
$(PERL)
asm/ghash-parisc.pl
$(PERLASM_SCHEME)
$@
ghashv8-armx.S
:
asm/ghashv8-armx.pl
$(PERL)
asm/ghashv8-armx.pl
$(PERLASM_SCHEME)
$@
ghashp8-ppc.s
:
asm/ghashp8-ppc.pl
$(PERL)
asm/ghashp8-ppc.pl
$(PERLASM_SCHEME)
$@
# GNU make "catch all"
ghash-%.S
:
asm/ghash-%.pl; $(PERL) $< $(PERLASM_SCHEME) $@
...
...
crypto/modes/gcm128.c
浏览文件 @
6cd13f70
...
...
@@ -700,13 +700,6 @@ extern unsigned int OPENSSL_sparcv9cap_P[];
void
gcm_init_vis3
(
u128
Htable
[
16
],
const
u64
Xi
[
2
]);
void
gcm_gmult_vis3
(
u64
Xi
[
2
],
const
u128
Htable
[
16
]);
void
gcm_ghash_vis3
(
u64
Xi
[
2
],
const
u128
Htable
[
16
],
const
u8
*
inp
,
size_t
len
);
#elif defined(OPENSSL_CPUID_OBJ) && (defined(__powerpc__) || defined(__ppc__) || defined(_ARCH_PPC))
# define GHASH_ASM_PPC
# define GCM_FUNCREF_4BIT
extern
unsigned
int
OPENSSL_ppccap_P
[];
void
gcm_init_p8
(
u128
Htable
[
16
],
const
u64
Xi
[
2
]);
void
gcm_gmult_p8
(
u64
Xi
[
2
],
const
u128
Htable
[
16
]);
void
gcm_ghash_p8
(
u64
Xi
[
2
],
const
u128
Htable
[
16
],
const
u8
*
inp
,
size_t
len
);
# endif
#endif
...
...
@@ -810,16 +803,6 @@ void CRYPTO_gcm128_init(GCM128_CONTEXT *ctx,void *key,block128_f block)
ctx
->
gmult
=
gcm_gmult_4bit
;
ctx
->
ghash
=
gcm_ghash_4bit
;
}
# elif defined(GHASH_ASM_PPC)
if
(
OPENSSL_ppccap_P
[
0
]
&
(
1
<<
2
))
{
gcm_init_p8
(
ctx
->
Htable
,
ctx
->
H
.
u
);
ctx
->
gmult
=
gcm_gmult_p8
;
ctx
->
ghash
=
gcm_ghash_p8
;
}
else
{
gcm_init_4bit
(
ctx
->
Htable
,
ctx
->
H
.
u
);
ctx
->
gmult
=
gcm_gmult_4bit
;
ctx
->
ghash
=
gcm_ghash_4bit
;
}
# else
gcm_init_4bit
(
ctx
->
Htable
,
ctx
->
H
.
u
);
# endif
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录