Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Third Party Openssl
提交
8fcdb1e6
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看板
提交
8fcdb1e6
编写于
10月 15, 2011
作者:
A
Andy Polyakov
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Add android-x86.
上级
e1db7c4e
变更
6
隐藏空白更改
内联
并排
Showing
6 changed file
with
48 addition
and
3 deletion
+48
-3
Configure
Configure
+1
-0
TABLE
TABLE
+33
-0
config
config
+1
-0
crypto/perlasm/x86asm.pl
crypto/perlasm/x86asm.pl
+3
-1
crypto/perlasm/x86gas.pl
crypto/perlasm/x86gas.pl
+8
-1
fips/fips_canister.c
fips/fips_canister.c
+2
-1
未找到文件。
Configure
浏览文件 @
8fcdb1e6
...
...
@@ -400,6 +400,7 @@ my %table=(
# Android: linux-* but without -DTERMIO and pointers to headers and libs.
"android","gcc:-mandroid -I\$(ANDROID_DEV)/include -B\$(ANDROID_DEV)/lib -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)",
"android-x86","gcc:-mandroid -I\$(ANDROID_DEV)/include -B\$(ANDROID_DEV)/lib -O3 -fomit-frame-pointer -Wall::-D_REENTRANT::-ldl:BN_LLONG ${x86_gcc_des} ${x86_gcc_opts}:".eval{my $asm=${x86_elf_asm};$asm=~s/:elf/:android/;$asm}.":dlfcn:linux-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)",
"android-armv7","gcc:-march=armv7-a -mandroid -I\$(ANDROID_DEV)/include -B\$(ANDROID_DEV)/lib -O3 -fomit-frame-pointer -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)",
#### *BSD [do see comment about ${BSDthreads} above!]
...
...
TABLE
浏览文件 @
8fcdb1e6
...
...
@@ -1089,6 +1089,39 @@ $ranlib =
$arflags =
$multilib =
*** android-x86
$cc = gcc
$cflags = -mandroid -I$(ANDROID_DEV)/include -B$(ANDROID_DEV)/lib -O3 -fomit-frame-pointer -Wall
$unistd =
$thread_cflag = -D_REENTRANT
$sys_id =
$lflags = -ldl
$bn_ops = BN_LLONG DES_PTR DES_RISC1 DES_UNROLL RC4_INDEX MD2_INT
$cpuid_obj = x86cpuid.o
$bn_obj = bn-586.o co-586.o x86-mont.o x86-gf2m.o
$des_obj = des-586.o crypt586.o
$aes_obj = aes-586.o vpaes-x86.o aesni-x86.o
$bf_obj = bf-586.o
$md5_obj = md5-586.o
$sha1_obj = sha1-586.o sha256-586.o sha512-586.o
$cast_obj = cast-586.o
$rc4_obj = rc4-586.o
$rmd160_obj = rmd-586.o
$rc5_obj = rc5-586.o
$wp_obj = wp_block.o wp-mmx.o
$cmll_obj = cmll-x86.o
$modes_obj = ghash-x86.o
$engines_obj = e_padlock-x86.o
$perlasm_scheme = android
$dso_scheme = dlfcn
$shared_target= linux-shared
$shared_cflag = -fPIC
$shared_ldflag =
$shared_extension = .so.$(SHLIB_MAJOR).$(SHLIB_MINOR)
$ranlib =
$arflags =
$multilib =
*** aux3-gcc
$cc = gcc
$cflags = -O2 -DTERMIO
...
...
config
浏览文件 @
8fcdb1e6
...
...
@@ -830,6 +830,7 @@ case "$GUESSOS" in
beos-
*
)
OUT
=
"
$GUESSOS
"
;;
x86pc-
*
-qnx6
)
OUT
=
"QNX6-i386"
;;
*
-
*
-qnx6
)
OUT
=
"QNX6"
;;
x86-
*
-android
|
i?86-
*
-android
)
OUT
=
"android-x86"
;;
armv[7-9]
*
-
*
-android
)
OUT
=
"android-armv7"
;;
*
)
OUT
=
`
echo
$GUESSOS
|
awk
-F-
'{print $3}'
`
;;
esac
...
...
crypto/perlasm/x86asm.pl
浏览文件 @
8fcdb1e6
...
...
@@ -218,7 +218,7 @@ sub ::asm_init
$filename
=
$fn
;
$i386
=
$cpu
;
$elf
=
$cpp
=
$coff
=
$aout
=
$macosx
=
$win32
=
$netware
=
$mwerks
=
0
;
$elf
=
$cpp
=
$coff
=
$aout
=
$macosx
=
$win32
=
$netware
=
$mwerks
=
$android
=
0
;
if
((
$type
eq
"
elf
"))
{
$elf
=
1
;
require
"
x86gas.pl
";
}
elsif
((
$type
eq
"
a
\
.out
"))
...
...
@@ -235,6 +235,8 @@ sub ::asm_init
{
$win32
=
1
;
require
"
x86masm.pl
";
}
elsif
((
$type
eq
"
macosx
"))
{
$aout
=
1
;
$macosx
=
1
;
require
"
x86gas.pl
";
}
elsif
((
$type
eq
"
android
"))
{
$elf
=
1
;
$android
=
1
;
require
"
x86gas.pl
";
}
else
{
print
STDERR
<<"EOF";
Pick one target type from
...
...
crypto/perlasm/x86gas.pl
浏览文件 @
8fcdb1e6
...
...
@@ -209,7 +209,14 @@ sub ::picmeup
sub
::
initseg
{
my
$f
=
$nmdecor
.
shift
;
if
(
$
::
elf
)
if
(
$
::
android
)
{
$initseg
.=
<<___;
.section .init_array
.align 4
.long $f
___
}
elsif
(
$
::
elf
)
{
$initseg
.=
<<___;
.section .init
call $f
...
...
fips/fips_canister.c
浏览文件 @
8fcdb1e6
...
...
@@ -28,7 +28,8 @@ const void *FIPS_text_end(void);
#endif
#if !defined(FIPS_REF_POINT_IS_CROSS_COMPILER_AWARE)
# if (defined(__ANDROID__) && (defined(__arm__) || defined(__arm))) || \
# if (defined(__ANDROID__) && (defined(__arm__) || defined(__arm) || \
defined(__i386__)|| defined(__i386))) || \
(defined(__vxworks) && (defined(__ppc__) || defined(__ppc))) || \
(defined(__linux) && defined(__PPC__) && !defined(__PPC64__))
# define FIPS_REF_POINT_IS_CROSS_COMPILER_AWARE
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录