Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Third Party Openssl
提交
8408f4fb
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看板
提交
8408f4fb
编写于
7月 31, 2001
作者:
B
Ben Laurie
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Document DES changes better.
上级
534164ef
变更
2
隐藏空白更改
内联
并排
Showing
2 changed file
with
37 addition
and
34 deletion
+37
-34
CHANGES
CHANGES
+5
-2
doc/crypto/des.pod
doc/crypto/des.pod
+32
-32
未找到文件。
CHANGES
浏览文件 @
8408f4fb
...
...
@@ -17,8 +17,11 @@
the number of header dependencies.
[Ben Laurie]
+) Make DES key schedule conform to the usual scheme, as well as correcting
its structure.
+) Make DES key schedule conform to the usual scheme, as well as
correcting its structure. This means that calls to DES functions
now have to pass a pointer to a des_key_schedule instead of a
plain des_key_schedule (which was actually always a pointer
anyway).
[Ben Laurie]
+) Enhanced support for IA-64 Unix platforms (well, Linux and HP-UX).
...
...
doc/crypto/des.pod
浏览文件 @
8408f4fb
...
...
@@ -19,71 +19,71 @@ des_fcrypt, des_crypt, des_enc_read, des_enc_write - DES encryption
void des_random_key(des_cblock *ret);
int des_set_key(const_des_cblock *key, des_key_schedule schedule);
int des_key_sched(const_des_cblock *key, des_key_schedule schedule);
int des_set_key(const_des_cblock *key, des_key_schedule
*
schedule);
int des_key_sched(const_des_cblock *key, des_key_schedule
*
schedule);
int des_set_key_checked(const_des_cblock *key,
des_key_schedule schedule);
des_key_schedule
*
schedule);
void des_set_key_unchecked(const_des_cblock *key,
des_key_schedule schedule);
des_key_schedule
*
schedule);
void des_set_odd_parity(des_cblock *key);
int des_is_weak_key(const_des_cblock *key);
void des_ecb_encrypt(const_des_cblock *input, des_cblock *output,
des_key_schedule ks, int enc);
des_key_schedule
*
ks, int enc);
void des_ecb2_encrypt(const_des_cblock *input, des_cblock *output,
des_key_schedule
ks1, des_key_schedule
ks2, int enc);
des_key_schedule
*ks1, des_key_schedule *
ks2, int enc);
void des_ecb3_encrypt(const_des_cblock *input, des_cblock *output,
des_key_schedule
ks1, des_key_schedule
ks2,
des_key_schedule ks3, int enc);
des_key_schedule
*ks1, des_key_schedule *
ks2,
des_key_schedule
*
ks3, int enc);
void des_ncbc_encrypt(const unsigned char *input, unsigned char *output,
long length, des_key_schedule schedule, des_cblock *ivec,
long length, des_key_schedule
*
schedule, des_cblock *ivec,
int enc);
void des_cfb_encrypt(const unsigned char *in, unsigned char *out,
int numbits, long length, des_key_schedule schedule,
int numbits, long length, des_key_schedule
*
schedule,
des_cblock *ivec, int enc);
void des_ofb_encrypt(const unsigned char *in, unsigned char *out,
int numbits, long length, des_key_schedule schedule,
int numbits, long length, des_key_schedule
*
schedule,
des_cblock *ivec);
void des_pcbc_encrypt(const unsigned char *input, unsigned char *output,
long length, des_key_schedule schedule, des_cblock *ivec,
long length, des_key_schedule
*
schedule, des_cblock *ivec,
int enc);
void des_cfb64_encrypt(const unsigned char *in, unsigned char *out,
long length, des_key_schedule schedule, des_cblock *ivec,
long length, des_key_schedule
*
schedule, des_cblock *ivec,
int *num, int enc);
void des_ofb64_encrypt(const unsigned char *in, unsigned char *out,
long length, des_key_schedule schedule, des_cblock *ivec,
long length, des_key_schedule
*
schedule, des_cblock *ivec,
int *num);
void des_xcbc_encrypt(const unsigned char *input, unsigned char *output,
long length, des_key_schedule schedule, des_cblock *ivec,
long length, des_key_schedule
*
schedule, des_cblock *ivec,
const_des_cblock *inw, const_des_cblock *outw, int enc);
void des_ede2_cbc_encrypt(const unsigned char *input,
unsigned char *output, long length, des_key_schedule ks1,
des_key_schedule ks2, des_cblock *ivec, int enc);
unsigned char *output, long length, des_key_schedule
*
ks1,
des_key_schedule
*
ks2, des_cblock *ivec, int enc);
void des_ede2_cfb64_encrypt(const unsigned char *in,
unsigned char *out, long length, des_key_schedule ks1,
des_key_schedule ks2, des_cblock *ivec, int *num, int enc);
unsigned char *out, long length, des_key_schedule
*
ks1,
des_key_schedule
*
ks2, des_cblock *ivec, int *num, int enc);
void des_ede2_ofb64_encrypt(const unsigned char *in,
unsigned char *out, long length, des_key_schedule ks1,
des_key_schedule ks2, des_cblock *ivec, int *num);
unsigned char *out, long length, des_key_schedule
*
ks1,
des_key_schedule
*
ks2, des_cblock *ivec, int *num);
void des_ede3_cbc_encrypt(const unsigned char *input,
unsigned char *output, long length, des_key_schedule ks1,
des_key_schedule
ks2, des_key_schedule
ks3, des_cblock *ivec,
unsigned char *output, long length, des_key_schedule
*
ks1,
des_key_schedule
*ks2, des_key_schedule *
ks3, des_cblock *ivec,
int enc);
void des_ede3_cbcm_encrypt(const unsigned char *in, unsigned char *out,
long length, des_key_schedule
ks1, des_key_schedule
ks2,
des_key_schedule ks3, des_cblock *ivec1, des_cblock *ivec2,
long length, des_key_schedule
*ks1, des_key_schedule *
ks2,
des_key_schedule
*
ks3, des_cblock *ivec1, des_cblock *ivec2,
int enc);
void des_ede3_cfb64_encrypt(const unsigned char *in, unsigned char *out,
long length, des_key_schedule
ks1, des_key_schedule
ks2,
des_key_schedule ks3, des_cblock *ivec, int *num, int enc);
long length, des_key_schedule
*ks1, des_key_schedule *
ks2,
des_key_schedule
*
ks3, des_cblock *ivec, int *num, int enc);
void des_ede3_ofb64_encrypt(const unsigned char *in, unsigned char *out,
long length, des_key_schedule ks1,
des_key_schedule
ks2, des_key_schedule
ks3,
long length, des_key_schedule
*
ks1,
des_key_schedule
*ks2, des_key_schedule *
ks3,
des_cblock *ivec, int *num);
int des_read_password(des_cblock *key, const char *prompt, int verify);
...
...
@@ -93,7 +93,7 @@ des_fcrypt, des_crypt, des_enc_read, des_enc_write - DES encryption
int verify);
DES_LONG des_cbc_cksum(const unsigned char *input, des_cblock *output,
long length, des_key_schedule schedule,
long length, des_key_schedule
*
schedule,
const_des_cblock *ivec);
DES_LONG des_quad_cksum(const unsigned char *input, des_cblock output[],
long length, int out_count, des_cblock *seed);
...
...
@@ -105,10 +105,10 @@ des_fcrypt, des_crypt, des_enc_read, des_enc_write - DES encryption
char *des_crypt(const char *buf, const char *salt);
char *crypt(const char *buf, const char *salt);
int des_enc_read(int fd, void *buf, int len, des_key_schedule sched,
int des_enc_read(int fd, void *buf, int len, des_key_schedule
*
sched,
des_cblock *iv);
int des_enc_write(int fd, const void *buf, int len,
des_key_schedule sched, des_cblock *iv);
des_key_schedule
*
sched, des_cblock *iv);
=head1 DESCRIPTION
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录