Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Third Party Openssl
提交
5271ebd9
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看板
提交
5271ebd9
编写于
25年前
作者:
U
Ulf Möller
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
More no-xxx option tweaks.
上级
5676d8cb
变更
4
隐藏空白更改
内联
并排
Showing
4 changed file
with
22 addition
and
3 deletion
+22
-3
CHANGES
CHANGES
+3
-0
apps/speed.c
apps/speed.c
+4
-2
crypto/evp/p5_crpt.c
crypto/evp/p5_crpt.c
+14
-0
crypto/x509/x509.h
crypto/x509/x509.h
+1
-1
未找到文件。
CHANGES
浏览文件 @
5271ebd9
...
...
@@ -4,6 +4,9 @@
Changes between 0.9.3a and 0.9.4
*) Fix problems with no-hmac etc.
[Ulf Möller, pointed out by Brian Wellington <bwelling@tislabs.com>]
*) New functions RSA_get_default_method(), RSA_set_method() and
RSA_get_method(). These allows replacement of RSA_METHODs without having
to mess around with the internals of an RSA structure.
...
...
This diff is collapsed.
Click to expand it.
apps/speed.c
浏览文件 @
5271ebd9
...
...
@@ -123,9 +123,11 @@
#endif
#ifndef NO_MD5
#include <openssl/md5.h>
#endif
#ifndef NO_HMAC
#include <openssl/hmac.h>
#include <openssl/evp.h>
#endif
#include <openssl/evp.h>
#ifndef NO_SHA
#include <openssl/sha.h>
#endif
...
...
@@ -756,7 +758,7 @@ int MAIN(int argc, char **argv)
}
#endif
#if
ndef NO_MD5
#if
!defined(NO_MD5) && !defined(NO_HMAC)
if
(
doit
[
D_HMAC
])
{
HMAC_CTX
hctx
;
...
...
This diff is collapsed.
Click to expand it.
crypto/evp/p5_crpt.c
浏览文件 @
5271ebd9
...
...
@@ -68,22 +68,36 @@
void
PKCS5_PBE_add
(
void
)
{
#ifndef NO_DES
# ifndef NO_MD5
EVP_PBE_alg_add
(
NID_pbeWithMD5AndDES_CBC
,
EVP_des_cbc
(),
EVP_md5
(),
PKCS5_PBE_keyivgen
);
# endif
# ifndef NO_MD2
EVP_PBE_alg_add
(
NID_pbeWithMD2AndDES_CBC
,
EVP_des_cbc
(),
EVP_md2
(),
PKCS5_PBE_keyivgen
);
# endif
# ifndef NO_SHA
EVP_PBE_alg_add
(
NID_pbeWithSHA1AndDES_CBC
,
EVP_des_cbc
(),
EVP_sha1
(),
PKCS5_PBE_keyivgen
);
# endif
#endif
#ifndef NO_RC2
# ifndef NO_MD5
EVP_PBE_alg_add
(
NID_pbeWithMD5AndRC2_CBC
,
EVP_rc2_64_cbc
(),
EVP_md5
(),
PKCS5_PBE_keyivgen
);
# endif
# ifndef NO_MD2
EVP_PBE_alg_add
(
NID_pbeWithMD2AndRC2_CBC
,
EVP_rc2_64_cbc
(),
EVP_md2
(),
PKCS5_PBE_keyivgen
);
# endif
# ifndef NO_SHA
EVP_PBE_alg_add
(
NID_pbeWithSHA1AndRC2_CBC
,
EVP_rc2_64_cbc
(),
EVP_sha1
(),
PKCS5_PBE_keyivgen
);
# endif
#endif
#ifndef NO_HMAC
EVP_PBE_alg_add
(
NID_pbes2
,
NULL
,
NULL
,
PKCS5_v2_PBE_keyivgen
);
#endif
}
int
PKCS5_PBE_keyivgen
(
EVP_CIPHER_CTX
*
cctx
,
const
char
*
pass
,
int
passlen
,
...
...
This diff is collapsed.
Click to expand it.
crypto/x509/x509.h
浏览文件 @
5271ebd9
...
...
@@ -605,13 +605,13 @@ int i2d_RSAPublicKey_bio(BIO *bp,RSA *rsa);
#ifndef NO_DSA
DSA
*
d2i_DSAPrivateKey_bio
(
BIO
*
bp
,
DSA
**
dsa
);
int
i2d_DSAPrivateKey_bio
(
BIO
*
bp
,
DSA
*
dsa
);
#endif
X509_SIG
*
d2i_PKCS8_bio
(
BIO
*
bp
,
X509_SIG
**
p8
);
int
i2d_PKCS8_bio
(
BIO
*
bp
,
X509_SIG
*
p8
);
PKCS8_PRIV_KEY_INFO
*
d2i_PKCS8_PRIV_KEY_INFO_bio
(
BIO
*
bp
,
PKCS8_PRIV_KEY_INFO
**
p8inf
);
int
i2d_PKCS8_PRIV_KEY_INFO_bio
(
BIO
*
bp
,
PKCS8_PRIV_KEY_INFO
*
p8inf
);
#endif
#endif
X509
*
X509_dup
(
X509
*
x509
);
X509_ATTRIBUTE
*
X509_ATTRIBUTE_dup
(
X509_ATTRIBUTE
*
xa
);
...
...
This diff is collapsed.
Click to expand it.
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录
新手
引导
客服
返回
顶部