Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Third Party Openssl
提交
1110cea0
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看板
提交
1110cea0
编写于
6月 23, 2005
作者:
R
Richard Levitte
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Update for Stratus VOS.
PR: 1130
上级
0ed64ce3
变更
5
显示空白变更内容
内联
并排
Showing
5 changed file
with
33 addition
and
19 deletion
+33
-19
crypto/md32_common.h
crypto/md32_common.h
+5
-3
crypto/md4/md4_locl.h
crypto/md4/md4_locl.h
+3
-1
crypto/md5/md5_locl.h
crypto/md5/md5_locl.h
+6
-2
crypto/ripemd/rmd_locl.h
crypto/ripemd/rmd_locl.h
+6
-2
crypto/sha/sha_locl.h
crypto/sha/sha_locl.h
+13
-11
未找到文件。
crypto/md32_common.h
浏览文件 @
1110cea0
...
...
@@ -344,9 +344,11 @@
#elif defined(DATA_ORDER_IS_LITTLE_ENDIAN)
#if defined(__i386) || defined(__i386__) || defined(__x86_64) || defined(__x86_64__)
# ifndef B_ENDIAN
/* See comment in DATA_ORDER_IS_BIG_ENDIAN section. */
# define HOST_c2l(c,l) ((l)=*((const unsigned int *)(c)), (c)+=4, l)
# define HOST_l2c(l,c) (*((unsigned int *)(c))=(l), (c)+=4, l)
# endif
#endif
#ifndef HOST_c2l
...
...
crypto/md4/md4_locl.h
浏览文件 @
1110cea0
...
...
@@ -69,6 +69,7 @@ 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(B_ENDIAN)
/*
* *_block_host_order is expected to handle aligned data while
* *_block_data_order - unaligned. As algorithm and host (x86)
...
...
@@ -90,7 +91,8 @@ void md4_block_data_order (MD4_CTX *c, const void *p,size_t num);
*
* <appro@fy.chalmers.se>
*/
#define md4_block_data_order md4_block_host_order
# define md4_block_data_order md4_block_host_order
# endif
#endif
#define DATA_ORDER_IS_LITTLE_ENDIAN
...
...
crypto/md5/md5_locl.h
浏览文件 @
1110cea0
...
...
@@ -67,7 +67,9 @@
#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
# 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
...
...
@@ -78,6 +80,7 @@ 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(B_ENDIAN)
/*
* *_block_host_order is expected to handle aligned data while
* *_block_data_order - unaligned. As algorithm and host (x86)
...
...
@@ -99,7 +102,8 @@ void md5_block_data_order (MD5_CTX *c, const void *p,size_t num);
*
* <appro@fy.chalmers.se>
*/
#define md5_block_data_order md5_block_host_order
# define md5_block_data_order md5_block_host_order
# endif
#endif
#define DATA_ORDER_IS_LITTLE_ENDIAN
...
...
crypto/ripemd/rmd_locl.h
浏览文件 @
1110cea0
...
...
@@ -72,15 +72,19 @@
*/
#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
# 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__)
#define ripemd160_block_data_order ripemd160_block_host_order
# if !defined(B_ENDIAN)
# define ripemd160_block_data_order ripemd160_block_host_order
# endif
#endif
#define DATA_ORDER_IS_LITTLE_ENDIAN
...
...
crypto/sha/sha_locl.h
浏览文件 @
1110cea0
...
...
@@ -115,6 +115,7 @@
# endif
# ifdef SHA1_ASM
# if !defined(B_ENDIAN)
# if defined(__i386) || defined(__i386__) || defined(_M_IX86) || defined(__INTEL__)
# define sha1_block_host_order sha1_block_asm_host_order
# define DONT_IMPLEMENT_BLOCK_HOST_ORDER
...
...
@@ -127,6 +128,7 @@
# define sha1_block_data_order sha1_block_asm_data_order
# define DONT_IMPLEMENT_BLOCK_DATA_ORDER
# endif
# endif
# endif
void
sha1_block_host_order
(
SHA_CTX
*
c
,
const
void
*
p
,
size_t
num
);
void
sha1_block_data_order
(
SHA_CTX
*
c
,
const
void
*
p
,
size_t
num
);
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录