Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Third Party Openssl
提交
4c7c5ff6
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看板
提交
4c7c5ff6
编写于
9月 27, 2007
作者:
A
Andy Polyakov
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
ARMv4 assembler pack.
上级
d7e91561
变更
8
隐藏空白更改
内联
并排
Showing
8 changed file
with
27 addition
and
2 deletion
+27
-2
CHANGES
CHANGES
+4
-0
Configure
Configure
+2
-0
config
config
+2
-2
crypto/sha/Makefile
crypto/sha/Makefile
+3
-0
crypto/sha/asm/sha1-armv4-large.pl
crypto/sha/asm/sha1-armv4-large.pl
+4
-0
crypto/sha/asm/sha1-thumb.pl
crypto/sha/asm/sha1-thumb.pl
+4
-0
crypto/sha/asm/sha256-armv4.pl
crypto/sha/asm/sha256-armv4.pl
+4
-0
crypto/sha/asm/sha512-armv4.pl
crypto/sha/asm/sha512-armv4.pl
+4
-0
未找到文件。
CHANGES
浏览文件 @
4c7c5ff6
...
...
@@ -4,6 +4,10 @@
Changes between 0.9.8f and 0.9.9 [xx XXX xxxx]
*) ARMv4 assembler pack. ARMv4 refers to v4 and later ISA, not CPU
"family."
[Andy Polyakov]
*) Implement certificate status request TLS extension defined in RFC3546.
A client can set the appropriate parameters and receive the encoded
OCSP response via a callback. A server can query the supplied parameters
...
...
Configure
浏览文件 @
4c7c5ff6
...
...
@@ -127,6 +127,7 @@ my $sparcv8_asm=":sparcv8.o:des_enc-sparc.o fcrypt_b.o::::::::::";
my $alpha_asm="alphacpuid.o:bn_asm.o alpha-mont.o:::::::::::";
my $mips3_asm=":bn-mips3.o:::::::::::";
my $s390x_asm=":bn_asm.o s390x-mont.o::aes_cbc.o aes-s390x.o:::sha1-s390x.o sha256-s390x.o sha512-s390x.o::::::";
my $armv4_asm=":bn_asm.o armv4-mont.o::aes_cbc.o aes-armv4.o:::sha1-armv4-large.o sha256-armv4.o sha512-armv4.o::::::";
my $no_asm="::::::::::::";
# As for $BSDthreads. Idea is to maintain "collective" set of flags,
...
...
@@ -323,6 +324,7 @@ my %table=(
# throw in -D[BL]_ENDIAN, whichever appropriate...
"linux-generic32","gcc:-DTERMIO -O3 -fomit-frame-pointer -Wall::-D_REENTRANT::-ldl:BN_LLONG RC4_CHAR RC4_CHUNK DES_INT DES_UNROLL BF_PTR:${no_asm}:dlfcn:linux-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)",
"linux-ppc", "gcc:-DB_ENDIAN -DTERMIO -O3 -Wall::-D_REENTRANT::-ldl:BN_LLONG RC4_CHAR RC4_CHUNK DES_RISC1 DES_UNROLL:ppccpuid_linux32.o:linux_ppc32.o linux_ppc32-mont.o:::::sha1-ppc_linux32.o sha256-ppc_linux32.o:::::::dlfcn:linux-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)",
"linux-armv4", "gcc:-DTERMIO -O3 -Wall::-D_REENTRANT::-ldl:BN_LLONG RC4_CHAR RC4_CHUNK DES_INT DES_UNROLL BF_PTR:${armv4_asm}:dlfcn:linux-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)",
#### IA-32 targets...
"linux-ia32-icc", "icc:-DL_ENDIAN -DTERMIO -O2 -no_cpprt::-D_REENTRANT::-ldl:BN_LLONG ${x86_gcc_des} ${x86_gcc_opts}:${x86_elf_asm}:dlfcn:linux-shared:-KPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)",
"linux-elf", "gcc:-DL_ENDIAN -DTERMIO -O3 -fomit-frame-pointer -Wall::-D_REENTRANT::-ldl:BN_LLONG ${x86_gcc_des} ${x86_gcc_opts}:${x86_elf_asm}:dlfcn:linux-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)",
...
...
config
浏览文件 @
4c7c5ff6
...
...
@@ -611,8 +611,8 @@ case "$GUESSOS" in
options
=
"
$options
-DB_ENDIAN -mschedule=
$CPUSCHEDULE
-march=
$CPUARCH
"
OUT
=
"linux-generic32"
;;
arm
*
b-
*
-linux2
)
OUT
=
"linux-generic32"
;
options
=
"
$options
-DB_ENDIAN
"
;;
arm
*
l-
*
-linux2
)
OUT
=
"linux-generic32"
;
options
=
"
$options
-DL_ENDIAN
"
;;
arm
[1-3]
*
-
*
-linux2
)
OUT
=
"linux-generic32
"
;;
arm
*
-
*
-linux2
)
OUT
=
"linux-armv4
"
;;
sh
*
b-
*
-linux2
)
OUT
=
"linux-generic32"
;
options
=
"
$options
-DB_ENDIAN"
;;
sh
*
-
*
-linux2
)
OUT
=
"linux-generic32"
;
options
=
"
$options
-DL_ENDIAN"
;;
m68k
*
-
*
-linux2
)
OUT
=
"linux-generic32"
;
options
=
"
$options
-DB_ENDIAN"
;;
...
...
crypto/sha/Makefile
浏览文件 @
4c7c5ff6
...
...
@@ -71,6 +71,9 @@ sha256-ia64.s: asm/sha512-ia64.pl
sha512-ia64.s
:
asm/sha512-ia64.pl
(
cd
asm
;
$(PERL)
sha512-ia64.pl ../
$@
$(CFLAGS)
)
sha256-armv4.s
:
asm/sha256-armv4.pl
$(PERL)
$<
$@
# Solaris make has to be explicitly told
sha1-x86_64.s
:
asm/sha1-x86_64.pl; $(PERL) asm/sha1-x86_64.pl $@
sha256-x86_64.s
:
asm/sha512-x86_64.pl; $(PERL) asm/sha512-x86_64.pl $@
...
...
crypto/sha/asm/sha1-armv4-large.pl
浏览文件 @
4c7c5ff6
...
...
@@ -38,6 +38,9 @@
# the same job in Thumb, therefore the code is never twice as
# small and always slower.
$output
=
shift
;
open
STDOUT
,"
>
$output
";
$ctx
=
"
r0
";
$inp
=
"
r1
";
$len
=
"
r2
";
...
...
@@ -224,3 +227,4 @@ $code.=<<___;
___
print
$code
;
close
STDOUT
;
# enforce flush
crypto/sha/asm/sha1-thumb.pl
浏览文件 @
4c7c5ff6
...
...
@@ -19,6 +19,9 @@
# by over 40%, while code increases by only 10% or 32 bytes. But once
# again, the goal was to establish _size_ benchmark, not performance.
$output
=
shift
;
open
STDOUT
,"
>
$output
";
$inline
=
0
;
#$cheat_on_binutils=1;
...
...
@@ -253,3 +256,4 @@ $code.=<<___;
___
print
$code
;
close
STDOUT
;
# enforce flush
crypto/sha/asm/sha256-armv4.pl
浏览文件 @
4c7c5ff6
...
...
@@ -13,6 +13,9 @@
# lute" terms is ~2250 cycles per 64-byte block or ~35 cycles per
# byte.
$output
=
shift
;
open
STDOUT
,"
>
$output
";
$ctx
=
"
r0
";
$t0
=
"
r0
";
$inp
=
"
r1
";
$len
=
"
r2
";
$t1
=
"
r2
";
...
...
@@ -173,3 +176,4 @@ ___
$code
=~
s/\`([^\`]*)\`/eval $1/g
em
;
print
$code
;
close
STDOUT
;
# enforce flush
crypto/sha/asm/sha512-armv4.pl
浏览文件 @
4c7c5ff6
...
...
@@ -22,6 +22,9 @@ $hi=0;
$lo
=
4
;
# ====================================================================
$output
=
shift
;
open
STDOUT
,"
>
$output
";
$ctx
=
"
r0
";
$inp
=
"
r1
";
$len
=
"
r2
";
...
...
@@ -391,3 +394,4 @@ ___
$code
=~
s/\`([^\`]*)\`/eval $1/g
em
;
print
$code
;
close
STDOUT
;
# enforce flush
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录