Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Third Party Openssl
提交
6c1fc273
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看板
提交
6c1fc273
编写于
10月 25, 2005
作者:
A
Andy Polyakov
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Eliminate false preprocessor dependencies introduced with VOS support.
上级
aa8b03b4
变更
5
隐藏空白更改
内联
并排
Showing
5 changed file
with
17 addition
and
17 deletion
+17
-17
crypto/md32_common.h
crypto/md32_common.h
+2
-0
crypto/md4/md4_locl.h
crypto/md4/md4_locl.h
+2
-1
crypto/md5/md5_locl.h
crypto/md5/md5_locl.h
+5
-5
crypto/ripemd/rmd_locl.h
crypto/ripemd/rmd_locl.h
+3
-4
crypto/sha/sha_locl.h
crypto/sha/sha_locl.h
+5
-7
未找到文件。
crypto/md32_common.h
浏览文件 @
6c1fc273
...
...
@@ -288,6 +288,7 @@
# if defined(__GNUC__) && __GNUC__>=2 && !defined(OPENSSL_NO_ASM) && !defined(OPENSSL_NO_INLINE_ASM)
# if ((defined(__i386) || defined(__i386__)) && !defined(I386_ONLY)) || \
(defined(__x86_64) || defined(__x86_64__))
# if !defined(B_ENDIAN)
/*
* This gives ~30-40% performance improvement in SHA-256 compiled
* with gcc [on P4]. Well, first macro to be frank. We can pull
...
...
@@ -300,6 +301,7 @@
# define HOST_l2c(l,c) ({ unsigned int r=(l); \
asm ("bswapl %0":"=r"(r):"0"(r)); \
*((unsigned int *)(c))=r; (c)+=4; r; })
# endif
# endif
# endif
#endif
...
...
crypto/md4/md4_locl.h
浏览文件 @
6c1fc273
...
...
@@ -68,7 +68,8 @@
void
md4_block_host_order
(
MD4_CTX
*
c
,
const
void
*
p
,
size_t
num
);
void
md4_block_data_order
(
MD4_CTX
*
c
,
const
void
*
p
,
size_t
num
);
#if defined(__i386) || defined(__i386__) || defined(_M_IX86) || defined(__INTEL__)
#if defined(__i386) || defined(__i386__) || defined(_M_IX86) || defined(__INTEL__) || \
defined(__x86_64) || defined(__x86_64__) || defined(_M_AMD64) || defined(_M_X64)
# if !defined(B_ENDIAN)
/*
* *_block_host_order is expected to handle aligned data while
...
...
crypto/md5/md5_locl.h
浏览文件 @
6c1fc273
...
...
@@ -66,10 +66,9 @@
#endif
#ifdef MD5_ASM
# if defined(__i386) || defined(__i386__) || defined(_M_IX86) || defined(__INTEL__) || defined(__x86_64) || defined(__x86_64__)
# if !defined(B_ENDIAN)
# define md5_block_host_order md5_block_asm_host_order
# endif
# if defined(__i386) || defined(__i386__) || defined(_M_IX86) || defined(__INTEL__) || \
defined(__x86_64) || defined(__x86_64__) || defined(_M_AMD64) || defined(_M_X64)
# define md5_block_host_order md5_block_asm_host_order
# elif defined(__sparc) && defined(OPENSSL_SYS_ULTRASPARC)
void
md5_block_asm_data_order_aligned
(
MD5_CTX
*
c
,
const
MD5_LONG
*
p
,
size_t
num
);
# define HASH_BLOCK_DATA_ORDER_ALIGNED md5_block_asm_data_order_aligned
...
...
@@ -82,7 +81,8 @@
void
md5_block_host_order
(
MD5_CTX
*
c
,
const
void
*
p
,
size_t
num
);
void
md5_block_data_order
(
MD5_CTX
*
c
,
const
void
*
p
,
size_t
num
);
#if defined(__i386) || defined(__i386__) || defined(_M_IX86) || defined(__INTEL__) || defined(__x86_64) || defined(__x86_64__)
#if defined(__i386) || defined(__i386__) || defined(_M_IX86) || defined(__INTEL__) || \
defined(__x86_64) || defined(__x86_64__) || defined(_M_AMD64) || defined(_M_X64)
# if !defined(B_ENDIAN)
/*
* *_block_host_order is expected to handle aligned data while
...
...
crypto/ripemd/rmd_locl.h
浏览文件 @
6c1fc273
...
...
@@ -72,16 +72,15 @@
*/
#ifdef RMD160_ASM
# if defined(__i386) || defined(__i386__) || defined(_M_IX86) || defined(__INTEL__)
# if !defined(B_ENDIAN)
# define ripemd160_block_host_order ripemd160_block_asm_host_order
# endif
# define ripemd160_block_host_order ripemd160_block_asm_host_order
# endif
#endif
void
ripemd160_block_host_order
(
RIPEMD160_CTX
*
c
,
const
void
*
p
,
size_t
num
);
void
ripemd160_block_data_order
(
RIPEMD160_CTX
*
c
,
const
void
*
p
,
size_t
num
);
#if defined(__i386) || defined(__i386__) || defined(_M_IX86) || defined(__INTEL__)
#if defined(__i386) || defined(__i386__) || defined(_M_IX86) || defined(__INTEL__) || \
defined(__x86_64) || defined(__x86_64__) || defined(_M_AMD64) || defined(_M_X64)
# if !defined(B_ENDIAN)
# define ripemd160_block_data_order ripemd160_block_host_order
# endif
...
...
crypto/sha/sha_locl.h
浏览文件 @
6c1fc273
...
...
@@ -116,13 +116,11 @@
# ifdef SHA1_ASM
# if defined(__i386) || defined(__i386__) || defined(_M_IX86) || defined(__INTEL__)
# if !defined(B_ENDIAN)
# define sha1_block_host_order sha1_block_asm_host_order
# define DONT_IMPLEMENT_BLOCK_HOST_ORDER
# define sha1_block_data_order sha1_block_asm_data_order
# define DONT_IMPLEMENT_BLOCK_DATA_ORDER
# define HASH_BLOCK_DATA_ORDER_ALIGNED sha1_block_asm_data_order
# endif
# define sha1_block_host_order sha1_block_asm_host_order
# define DONT_IMPLEMENT_BLOCK_HOST_ORDER
# define sha1_block_data_order sha1_block_asm_data_order
# define DONT_IMPLEMENT_BLOCK_DATA_ORDER
# define HASH_BLOCK_DATA_ORDER_ALIGNED sha1_block_asm_data_order
# elif defined(__ia64) || defined(__ia64__) || defined(_M_IA64)
# define sha1_block_host_order sha1_block_asm_host_order
# define DONT_IMPLEMENT_BLOCK_HOST_ORDER
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录