Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Third Party Openssl
提交
7722e53f
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看板
体验新版 GitCode,发现更多精彩内容 >>
提交
7722e53f
编写于
9月 27, 2007
作者:
A
Andy Polyakov
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Yet another ARM update. It appears to be more appropriate to make
developers responsible for -march choice.
上级
2c3ee162
变更
7
隐藏空白更改
内联
并排
Showing
7 changed file
with
8 addition
and
4 deletion
+8
-4
Configure
Configure
+2
-1
config
config
+1
-3
crypto/aes/asm/aes-armv4.pl
crypto/aes/asm/aes-armv4.pl
+1
-0
crypto/bn/asm/armv4-mont.pl
crypto/bn/asm/armv4-mont.pl
+1
-0
crypto/sha/asm/sha1-armv4-large.pl
crypto/sha/asm/sha1-armv4-large.pl
+1
-0
crypto/sha/asm/sha256-armv4.pl
crypto/sha/asm/sha256-armv4.pl
+1
-0
crypto/sha/asm/sha512-armv4.pl
crypto/sha/asm/sha512-armv4.pl
+1
-0
未找到文件。
Configure
浏览文件 @
7722e53f
...
...
@@ -324,7 +324,8 @@ 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)",
# It's appropriate to complement it with -march, which is done in ./config...
# It's believed that majority of ARM toolchains predefine appropriate -march.
# If you compiler does not, do complement config command line with one!
"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)",
...
...
config
浏览文件 @
7722e53f
...
...
@@ -612,9 +612,7 @@ case "$GUESSOS" in
options
=
"
$options
-DB_ENDIAN -mschedule=
$CPUSCHEDULE
-march=
$CPUARCH
"
OUT
=
"linux-generic32"
;;
armv[1-3]
*
-
*
-linux2
)
OUT
=
"linux-generic32"
;;
# -march=armv4t is expected to generate code binary compatible with
# vanilla armv4 but interoperable with armv4t.
arm
*
-
*
-linux2
)
OUT
=
"linux-armv4"
;
options
=
"
$options
-march=armv4t"
;;
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/aes/asm/aes-armv4.pl
浏览文件 @
7722e53f
...
...
@@ -1026,4 +1026,5 @@ _armv4_AES_decrypt:
.asciz "AES for ARMv4, CRYPTOGAMS by <appro\@openssl.org>"
___
$code
=~
s/\bbx\s+lr\b/.word\t0xe12fff1e/gm
;
# make it possible to compile with -march=armv4
print
$code
;
crypto/bn/asm/armv4-mont.pl
浏览文件 @
7722e53f
...
...
@@ -195,5 +195,6 @@ bn_mul_mont:
.asciz "Montgomery multiplication for ARMv4, CRYPTOGAMS by <appro\@openssl.org>"
___
$code
=~
s/\bbx\s+lr\b/.word\t0xe12fff1e/gm
;
# make it possible to compile with -march=armv4
print
$code
;
close
STDOUT
;
crypto/sha/asm/sha1-armv4-large.pl
浏览文件 @
7722e53f
...
...
@@ -226,5 +226,6 @@ $code.=<<___;
.asciz "SHA1 block transform for ARMv4, CRYPTOGAMS by <appro\@openssl.org>"
___
$code
=~
s/\bbx\s+lr\b/.word\t0xe12fff1e/gm
;
# make it possible to compile with -march=armv4
print
$code
;
close
STDOUT
;
# enforce flush
crypto/sha/asm/sha256-armv4.pl
浏览文件 @
7722e53f
...
...
@@ -175,5 +175,6 @@ $code.=<<___;
___
$code
=~
s/\`([^\`]*)\`/eval $1/g
em
;
$code
=~
s/\bbx\s+lr\b/.word\t0xe12fff1e/gm
;
# make it possible to compile with -march=armv4
print
$code
;
close
STDOUT
;
# enforce flush
crypto/sha/asm/sha512-armv4.pl
浏览文件 @
7722e53f
...
...
@@ -393,5 +393,6 @@ $code.=<<___;
___
$code
=~
s/\`([^\`]*)\`/eval $1/g
em
;
$code
=~
s/\bbx\s+lr\b/.word\t0xe12fff1e/gm
;
# make it possible to compile with -march=armv4
print
$code
;
close
STDOUT
;
# enforce flush
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录