Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Third Party Openssl
提交
bd54d55c
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看板
提交
bd54d55c
编写于
5月 31, 2002
作者:
R
Richard Levitte
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Declare the CFB and OFB modes for AES, and prepare for a declaration
of CTR mode.
上级
09c70c32
变更
2
隐藏空白更改
内联
并排
Showing
2 changed file
with
30 addition
and
0 deletion
+30
-0
crypto/evp/c_allc.c
crypto/evp/c_allc.c
+15
-0
crypto/evp/evp.h
crypto/evp/evp.h
+15
-0
未找到文件。
crypto/evp/c_allc.c
浏览文件 @
bd54d55c
...
@@ -149,14 +149,29 @@ void OpenSSL_add_all_ciphers(void)
...
@@ -149,14 +149,29 @@ void OpenSSL_add_all_ciphers(void)
#ifndef OPENSSL_NO_AES
#ifndef OPENSSL_NO_AES
EVP_add_cipher
(
EVP_aes_128_ecb
());
EVP_add_cipher
(
EVP_aes_128_ecb
());
EVP_add_cipher
(
EVP_aes_128_cbc
());
EVP_add_cipher
(
EVP_aes_128_cbc
());
EVP_add_cipher
(
EVP_aes_128_cfb
());
EVP_add_cipher
(
EVP_aes_128_ofb
());
#if 0
EVP_add_cipher(EVP_aes_128_ctr());
#endif
EVP_add_cipher_alias
(
SN_aes_128_cbc
,
"AES128"
);
EVP_add_cipher_alias
(
SN_aes_128_cbc
,
"AES128"
);
EVP_add_cipher_alias
(
SN_aes_128_cbc
,
"aes128"
);
EVP_add_cipher_alias
(
SN_aes_128_cbc
,
"aes128"
);
EVP_add_cipher
(
EVP_aes_192_ecb
());
EVP_add_cipher
(
EVP_aes_192_ecb
());
EVP_add_cipher
(
EVP_aes_192_cbc
());
EVP_add_cipher
(
EVP_aes_192_cbc
());
EVP_add_cipher
(
EVP_aes_192_cfb
());
EVP_add_cipher
(
EVP_aes_192_ofb
());
#if 0
EVP_add_cipher(EVP_aes_192_ctr());
#endif
EVP_add_cipher_alias
(
SN_aes_192_cbc
,
"AES192"
);
EVP_add_cipher_alias
(
SN_aes_192_cbc
,
"AES192"
);
EVP_add_cipher_alias
(
SN_aes_192_cbc
,
"aes192"
);
EVP_add_cipher_alias
(
SN_aes_192_cbc
,
"aes192"
);
EVP_add_cipher
(
EVP_aes_256_ecb
());
EVP_add_cipher
(
EVP_aes_256_ecb
());
EVP_add_cipher
(
EVP_aes_256_cbc
());
EVP_add_cipher
(
EVP_aes_256_cbc
());
EVP_add_cipher
(
EVP_aes_256_cfb
());
EVP_add_cipher
(
EVP_aes_256_ofb
());
#if 0
EVP_add_cipher(EVP_aes_256_ctr());
#endif
EVP_add_cipher_alias
(
SN_aes_256_cbc
,
"AES256"
);
EVP_add_cipher_alias
(
SN_aes_256_cbc
,
"AES256"
);
EVP_add_cipher_alias
(
SN_aes_256_cbc
,
"aes256"
);
EVP_add_cipher_alias
(
SN_aes_256_cbc
,
"aes256"
);
#endif
#endif
...
...
crypto/evp/evp.h
浏览文件 @
bd54d55c
...
@@ -660,10 +660,25 @@ const EVP_CIPHER *EVP_rc5_32_12_16_ofb(void);
...
@@ -660,10 +660,25 @@ const EVP_CIPHER *EVP_rc5_32_12_16_ofb(void);
#ifndef OPENSSL_NO_AES
#ifndef OPENSSL_NO_AES
const
EVP_CIPHER
*
EVP_aes_128_ecb
(
void
);
const
EVP_CIPHER
*
EVP_aes_128_ecb
(
void
);
const
EVP_CIPHER
*
EVP_aes_128_cbc
(
void
);
const
EVP_CIPHER
*
EVP_aes_128_cbc
(
void
);
const
EVP_CIPHER
*
EVP_aes_128_cfb
(
void
);
const
EVP_CIPHER
*
EVP_aes_128_ofb
(
void
);
#if 0
const EVP_CIPHER *EVP_aes_128_ctr(void);
#endif
const
EVP_CIPHER
*
EVP_aes_192_ecb
(
void
);
const
EVP_CIPHER
*
EVP_aes_192_ecb
(
void
);
const
EVP_CIPHER
*
EVP_aes_192_cbc
(
void
);
const
EVP_CIPHER
*
EVP_aes_192_cbc
(
void
);
const
EVP_CIPHER
*
EVP_aes_192_cfb
(
void
);
const
EVP_CIPHER
*
EVP_aes_192_ofb
(
void
);
#if 0
const EVP_CIPHER *EVP_aes_192_ctr(void);
#endif
const
EVP_CIPHER
*
EVP_aes_256_ecb
(
void
);
const
EVP_CIPHER
*
EVP_aes_256_ecb
(
void
);
const
EVP_CIPHER
*
EVP_aes_256_cbc
(
void
);
const
EVP_CIPHER
*
EVP_aes_256_cbc
(
void
);
const
EVP_CIPHER
*
EVP_aes_256_cfb
(
void
);
const
EVP_CIPHER
*
EVP_aes_256_ofb
(
void
);
#if 0
const EVP_CIPHER *EVP_aes_256_ctr(void);
#endif
#endif
#endif
void
OPENSSL_add_all_algorithms_noconf
(
void
);
void
OPENSSL_add_all_algorithms_noconf
(
void
);
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录