Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Third Party Openssl
提交
d749e108
T
Third Party Openssl
项目概览
OpenHarmony
/
Third Party Openssl
9 个月 前同步成功
通知
8
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,体验更适合开发者的 AI 搜索 >>
提交
d749e108
编写于
2月 16, 2011
作者:
D
Dr. Stephen Henson
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Experimental symbol renaming to avoid clashes with regular OpenSSL.
Make sure crypto.h is included first in any affected files.
上级
0fbf8f44
变更
28
隐藏空白更改
内联
并排
Showing
28 changed file
with
42 addition
and
5 deletion
+42
-5
crypto/aes/aes_cbc.c
crypto/aes/aes_cbc.c
+1
-0
crypto/aes/aes_cfb.c
crypto/aes/aes_cfb.c
+1
-0
crypto/aes/aes_core.c
crypto/aes/aes_core.c
+1
-0
crypto/aes/aes_ecb.c
crypto/aes/aes_ecb.c
+1
-0
crypto/aes/aes_ofb.c
crypto/aes/aes_ofb.c
+1
-0
crypto/aes/aes_x86core.c
crypto/aes/aes_x86core.c
+1
-0
crypto/bn/bn_asm.c
crypto/bn/bn_asm.c
+6
-1
crypto/crypto.h
crypto/crypto.h
+8
-0
crypto/des/cfb64ede.c
crypto/des/cfb64ede.c
+1
-0
crypto/des/cfb64enc.c
crypto/des/cfb64enc.c
+1
-0
crypto/des/cfb_enc.c
crypto/des/cfb_enc.c
+1
-0
crypto/des/des_enc.c
crypto/des/des_enc.c
+1
-0
crypto/des/ecb3_enc.c
crypto/des/ecb3_enc.c
+1
-0
crypto/des/ecb_enc.c
crypto/des/ecb_enc.c
+1
-0
crypto/des/fcrypt.c
crypto/des/fcrypt.c
+2
-0
crypto/des/fcrypt_b.c
crypto/des/fcrypt_b.c
+1
-0
crypto/des/ofb64ede.c
crypto/des/ofb64ede.c
+1
-0
crypto/des/set_key.c
crypto/des/set_key.c
+1
-0
crypto/des/str2key.c
crypto/des/str2key.c
+1
-1
crypto/modes/cbc128.c
crypto/modes/cbc128.c
+1
-0
crypto/modes/cfb128.c
crypto/modes/cfb128.c
+1
-0
crypto/modes/ctr128.c
crypto/modes/ctr128.c
+1
-0
crypto/modes/ofb128.c
crypto/modes/ofb128.c
+1
-0
crypto/rand/md_rand.c
crypto/rand/md_rand.c
+2
-2
crypto/rand/rand_egd.c
crypto/rand/rand_egd.c
+1
-0
crypto/sha/sha1_one.c
crypto/sha/sha1_one.c
+1
-1
crypto/sha/sha1dgst.c
crypto/sha/sha1dgst.c
+1
-0
crypto/sha/sha_dgst.c
crypto/sha/sha_dgst.c
+1
-0
未找到文件。
crypto/aes/aes_cbc.c
浏览文件 @
d749e108
...
...
@@ -49,6 +49,7 @@
*
*/
#include <openssl/crypto.h>
#include <openssl/aes.h>
#include <openssl/modes.h>
...
...
crypto/aes/aes_cfb.c
浏览文件 @
d749e108
...
...
@@ -49,6 +49,7 @@
*
*/
#include <openssl/crypto.h>
#include <openssl/aes.h>
#include <openssl/modes.h>
...
...
crypto/aes/aes_core.c
浏览文件 @
d749e108
...
...
@@ -36,6 +36,7 @@
#include <assert.h>
#include <stdlib.h>
#include <openssl/crypto.h>
#include <openssl/aes.h>
#include "aes_locl.h"
...
...
crypto/aes/aes_ecb.c
浏览文件 @
d749e108
...
...
@@ -56,6 +56,7 @@
#endif
#include <assert.h>
#include <openssl/crypto.h>
#include <openssl/aes.h>
#include "aes_locl.h"
...
...
crypto/aes/aes_ofb.c
浏览文件 @
d749e108
...
...
@@ -49,6 +49,7 @@
*
*/
#include <openssl/crypto.h>
#include <openssl/aes.h>
#include <openssl/modes.h>
...
...
crypto/aes/aes_x86core.c
浏览文件 @
d749e108
...
...
@@ -43,6 +43,7 @@
#include <assert.h>
#include <stdlib.h>
#include <crypto/aes.h>
#include <openssl/aes.h>
#include "aes_locl.h"
...
...
crypto/bn/bn_asm.c
浏览文件 @
d749e108
...
...
@@ -63,6 +63,7 @@
#include <stdio.h>
#include <assert.h>
#include <openssl/crypto.h>
#include "cryptlib.h"
#include "bn_lcl.h"
...
...
@@ -428,10 +429,12 @@ BN_ULONG bn_sub_words(BN_ULONG *r, const BN_ULONG *a, const BN_ULONG *b, int n)
#if defined(BN_MUL_COMBA) && !defined(OPENSSL_SMALL_FOOTPRINT)
#ifndef OPENSSL_FIPSCANISTER
#undef bn_mul_comba8
#undef bn_mul_comba4
#undef bn_sqr_comba8
#undef bn_sqr_comba4
#endif
/* mul_add_c(a,b,c0,c1,c2) -- c+=a*b for three word number c=(c2,c1,c0) */
/* mul_add_c2(a,b,c0,c1,c2) -- c+=2*a*b for three word number c=(c2,c1,c0) */
...
...
@@ -946,14 +949,16 @@ int bn_mul_mont(BN_ULONG *rp, const BN_ULONG *ap, const BN_ULONG *bp, const BN_U
#else
/* !BN_MUL_COMBA */
/* hmm... is it faster just to do a multiply? */
#ifndef OPENSSL_FIPSCANISTER
#undef bn_sqr_comba4
#undef bn_sqr_comba8
#endif
void
bn_sqr_comba4
(
BN_ULONG
*
r
,
const
BN_ULONG
*
a
)
{
BN_ULONG
t
[
8
];
bn_sqr_normal
(
r
,
a
,
4
,
t
);
}
#undef bn_sqr_comba8
void
bn_sqr_comba8
(
BN_ULONG
*
r
,
const
BN_ULONG
*
a
)
{
BN_ULONG
t
[
16
];
...
...
crypto/crypto.h
浏览文件 @
d749e108
...
...
@@ -143,6 +143,14 @@
one way or another */
#include <openssl/symhacks.h>
/* For FIPS mode rename all OpenSSL symbols to avoid clashes with a
* non-FIPS OpenSSL.
*/
#if defined(OPENSSL_FIPSCANISTER) && defined(OPENSSL_FIPSSYMS)
#include <openssl/fipssyms.h>
#endif
#ifdef __cplusplus
extern
"C"
{
#endif
...
...
crypto/des/cfb64ede.c
浏览文件 @
d749e108
...
...
@@ -56,6 +56,7 @@
* [including the GNU Public Licence.]
*/
#include <openssl/crypto.h>
#include "des_locl.h"
#include "e_os.h"
...
...
crypto/des/cfb64enc.c
浏览文件 @
d749e108
...
...
@@ -56,6 +56,7 @@
* [including the GNU Public Licence.]
*/
#include <openssl/crypto.h>
#include "des_locl.h"
/* The input and output encrypted as though 64bit cfb mode is being
...
...
crypto/des/cfb_enc.c
浏览文件 @
d749e108
...
...
@@ -57,6 +57,7 @@
*/
#include "e_os.h"
#include <openssl/crypto.h>
#include "des_locl.h"
#include <assert.h>
...
...
crypto/des/des_enc.c
浏览文件 @
d749e108
...
...
@@ -56,6 +56,7 @@
* [including the GNU Public Licence.]
*/
#include <openssl/crypto.h>
#include "des_locl.h"
#include "spr.h"
...
...
crypto/des/ecb3_enc.c
浏览文件 @
d749e108
...
...
@@ -56,6 +56,7 @@
* [including the GNU Public Licence.]
*/
#include <openssl/crypto.h>
#include "des_locl.h"
void
DES_ecb3_encrypt
(
const_DES_cblock
*
input
,
DES_cblock
*
output
,
...
...
crypto/des/ecb_enc.c
浏览文件 @
d749e108
...
...
@@ -56,6 +56,7 @@
* [including the GNU Public Licence.]
*/
#include <openssl/crypto.h>
#include "des_locl.h"
#include "des_ver.h"
#include <openssl/opensslv.h>
...
...
crypto/des/fcrypt.c
浏览文件 @
d749e108
...
...
@@ -9,6 +9,8 @@
#include <openssl/ebcdic.h>
#endif
#include <openssl/crypto.h>
/* This version of crypt has been developed from my MIT compatible
* DES library.
* Eric Young (eay@cryptsoft.com)
...
...
crypto/des/fcrypt_b.c
浏览文件 @
d749e108
...
...
@@ -57,6 +57,7 @@
*/
#include <stdio.h>
#include <openssl/crypto.h>
/* This version of crypt has been developed from my MIT compatible
* DES library.
...
...
crypto/des/ofb64ede.c
浏览文件 @
d749e108
...
...
@@ -56,6 +56,7 @@
* [including the GNU Public Licence.]
*/
#include <openssl/crypto.h>
#include "des_locl.h"
/* The input and output encrypted as though 64bit ofb mode is being
...
...
crypto/des/set_key.c
浏览文件 @
d749e108
...
...
@@ -63,6 +63,7 @@
* 1.1 added norm_expand_bits
* 1.0 First working version
*/
#include <openssl/crypto.h>
#include "des_locl.h"
OPENSSL_IMPLEMENT_GLOBAL
(
int
,
DES_check_key
,
0
)
/* defaults to false */
...
...
crypto/des/str2key.c
浏览文件 @
d749e108
...
...
@@ -56,8 +56,8 @@
* [including the GNU Public Licence.]
*/
#include "des_locl.h"
#include <openssl/crypto.h>
#include "des_locl.h"
void
DES_string_to_key
(
const
char
*
str
,
DES_cblock
*
key
)
{
...
...
crypto/modes/cbc128.c
浏览文件 @
d749e108
...
...
@@ -48,6 +48,7 @@
*
*/
#include <openssl/crypto.h>
#include "modes_lcl.h"
#include <string.h>
...
...
crypto/modes/cfb128.c
浏览文件 @
d749e108
...
...
@@ -48,6 +48,7 @@
*
*/
#include <openssl/crypto.h>
#include "modes_lcl.h"
#include <string.h>
...
...
crypto/modes/ctr128.c
浏览文件 @
d749e108
...
...
@@ -48,6 +48,7 @@
*
*/
#include <openssl/crypto.h>
#include "modes_lcl.h"
#include <string.h>
...
...
crypto/modes/ofb128.c
浏览文件 @
d749e108
...
...
@@ -48,6 +48,7 @@
*
*/
#include <openssl/crypto.h>
#include "modes_lcl.h"
#include <string.h>
...
...
crypto/rand/md_rand.c
浏览文件 @
d749e108
...
...
@@ -123,10 +123,10 @@
#include "e_os.h"
#include <openssl/crypto.h>
#include <openssl/rand.h>
#include "rand_lcl.h"
#include <openssl/crypto.h>
#include <openssl/err.h>
#ifdef OPENSSL_FIPS
...
...
@@ -168,7 +168,7 @@ static int ssleay_rand_nopseudo_bytes(unsigned char *buf, int num);
static
int
ssleay_rand_pseudo_bytes
(
unsigned
char
*
buf
,
int
num
);
static
int
ssleay_rand_status
(
void
);
RAND_METHOD
rand_ssleay_meth
=
{
static
RAND_METHOD
rand_ssleay_meth
=
{
ssleay_rand_seed
,
ssleay_rand_nopseudo_bytes
,
ssleay_rand_cleanup
,
...
...
crypto/rand/rand_egd.c
浏览文件 @
d749e108
...
...
@@ -54,6 +54,7 @@
*
*/
#include <openssl/crypto.h>
#include <openssl/e_os2.h>
#include <openssl/rand.h>
#include <openssl/buffer.h>
...
...
crypto/sha/sha1_one.c
浏览文件 @
d749e108
...
...
@@ -58,8 +58,8 @@
#include <stdio.h>
#include <string.h>
#include <openssl/sha.h>
#include <openssl/crypto.h>
#include <openssl/sha.h>
#ifndef OPENSSL_NO_SHA1
unsigned
char
*
SHA1
(
const
unsigned
char
*
d
,
size_t
n
,
unsigned
char
*
md
)
...
...
crypto/sha/sha1dgst.c
浏览文件 @
d749e108
...
...
@@ -56,6 +56,7 @@
* [including the GNU Public Licence.]
*/
#include <openssl/crypto.h>
#include <openssl/opensslconf.h>
#if !defined(OPENSSL_NO_SHA1) && !defined(OPENSSL_NO_SHA)
...
...
crypto/sha/sha_dgst.c
浏览文件 @
d749e108
...
...
@@ -56,6 +56,7 @@
* [including the GNU Public Licence.]
*/
#include <openssl/crypto.h>
#include <openssl/opensslconf.h>
#if !defined(OPENSSL_NO_SHA0) && !defined(OPENSSL_NO_SHA)
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录