Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Third Party Openssl
提交
480506bd
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看板
提交
480506bd
编写于
4月 26, 2005
作者:
B
Bodo Möller
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
remove some functions from exported headers
上级
0d5ea761
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
27 addition
and
57 deletion
+27
-57
ssl/dtls1.h
ssl/dtls1.h
+0
-27
ssl/ssl3.h
ssl/ssl3.h
+0
-28
ssl/ssl_locl.h
ssl/ssl_locl.h
+27
-2
未找到文件。
ssl/dtls1.h
浏览文件 @
480506bd
...
...
@@ -201,33 +201,6 @@ typedef struct dtls1_record_data_st
SSL3_RECORD
rrec
;
}
DTLS1_RECORD_DATA
;
/* client methods */
int
dtls1_client_hello
(
SSL
*
s
);
int
dtls1_send_client_certificate
(
SSL
*
s
);
int
dtls1_send_client_key_exchange
(
SSL
*
s
);
int
dtls1_send_client_verify
(
SSL
*
s
);
/* server methods */
int
dtls1_send_hello_request
(
SSL
*
s
);
int
dtls1_send_server_hello
(
SSL
*
s
);
int
dtls1_send_server_certificate
(
SSL
*
s
);
int
dtls1_send_server_key_exchange
(
SSL
*
s
);
int
dtls1_send_certificate_request
(
SSL
*
s
);
int
dtls1_send_server_done
(
SSL
*
s
);
/* common methods */
int
dtls1_send_change_cipher_spec
(
SSL
*
s
,
int
a
,
int
b
);
int
dtls1_send_finished
(
SSL
*
s
,
int
a
,
int
b
,
const
char
*
sender
,
int
slen
);
unsigned
long
dtls1_output_cert_chain
(
SSL
*
s
,
X509
*
x
);
int
dtls1_read_failed
(
SSL
*
s
,
int
code
);
int
dtls1_buffer_message
(
SSL
*
s
,
int
ccs
);
int
dtls1_retransmit_message
(
SSL
*
s
,
unsigned
short
seq
,
unsigned
long
frag_off
,
int
*
found
);
void
dtls1_clear_record_buffer
(
SSL
*
s
);
void
dtls1_get_message_header
(
unsigned
char
*
data
,
struct
hm_header_st
*
msg_hdr
);
void
dtls1_get_ccs_header
(
unsigned
char
*
data
,
struct
ccs_header_st
*
ccs_hdr
);
void
dtls1_reset_seq_numbers
(
SSL
*
s
,
int
rw
);
/* Timeout multipliers (timeout slice is defined in apps/timeouts.h */
#define DTLS1_TMO_READ_COUNT 2
...
...
ssl/ssl3.h
浏览文件 @
480506bd
...
...
@@ -438,34 +438,6 @@ typedef struct ssl3_state_st
}
SSL3_STATE
;
/* client methods */
int
ssl3_client_hello
(
SSL
*
s
);
int
ssl3_get_server_hello
(
SSL
*
s
);
int
ssl3_get_certificate_request
(
SSL
*
s
);
int
ssl3_get_server_done
(
SSL
*
s
);
int
ssl3_send_client_verify
(
SSL
*
s
);
int
ssl3_send_client_certificate
(
SSL
*
s
);
int
ssl3_send_client_key_exchange
(
SSL
*
s
);
int
ssl3_get_key_exchange
(
SSL
*
s
);
int
ssl3_get_server_certificate
(
SSL
*
s
);
int
ssl3_check_cert_and_algorithm
(
SSL
*
s
);
/* server methods */
int
ssl3_get_client_hello
(
SSL
*
s
);
int
ssl3_send_server_hello
(
SSL
*
s
);
int
ssl3_send_hello_request
(
SSL
*
s
);
int
ssl3_send_server_key_exchange
(
SSL
*
s
);
int
ssl3_send_certificate_request
(
SSL
*
s
);
int
ssl3_send_server_done
(
SSL
*
s
);
int
ssl3_check_client_hello
(
SSL
*
s
);
int
ssl3_get_client_certificate
(
SSL
*
s
);
int
ssl3_get_client_key_exchange
(
SSL
*
s
);
int
ssl3_get_cert_verify
(
SSL
*
s
);
/* utility functions */
void
ssl3_record_sequence_update
(
unsigned
char
*
seq
);
int
ssl3_do_change_cipher_spec
(
SSL
*
ssl
);
/* SSLv3 */
/*client */
/* extra state */
...
...
ssl/ssl_locl.h
浏览文件 @
480506bd
...
...
@@ -638,7 +638,20 @@ unsigned char *dtls1_set_message_header(SSL *s,
int
dtls1_write_app_data_bytes
(
SSL
*
s
,
int
type
,
const
void
*
buf
,
int
len
);
int
dtls1_write_bytes
(
SSL
*
s
,
int
type
,
const
void
*
buf
,
int
len
);
/* client functionality */
int
dtls1_send_change_cipher_spec
(
SSL
*
s
,
int
a
,
int
b
);
int
dtls1_send_finished
(
SSL
*
s
,
int
a
,
int
b
,
const
char
*
sender
,
int
slen
);
unsigned
long
dtls1_output_cert_chain
(
SSL
*
s
,
X509
*
x
);
int
dtls1_read_failed
(
SSL
*
s
,
int
code
);
int
dtls1_buffer_message
(
SSL
*
s
,
int
ccs
);
int
dtls1_retransmit_message
(
SSL
*
s
,
unsigned
short
seq
,
unsigned
long
frag_off
,
int
*
found
);
void
dtls1_clear_record_buffer
(
SSL
*
s
);
void
dtls1_get_message_header
(
unsigned
char
*
data
,
struct
hm_header_st
*
msg_hdr
);
void
dtls1_get_ccs_header
(
unsigned
char
*
data
,
struct
ccs_header_st
*
ccs_hdr
);
void
dtls1_reset_seq_numbers
(
SSL
*
s
,
int
rw
);
/* some client-only functions */
int
ssl3_client_hello
(
SSL
*
s
);
int
ssl3_get_server_hello
(
SSL
*
s
);
int
ssl3_get_certificate_request
(
SSL
*
s
);
...
...
@@ -650,7 +663,12 @@ int ssl3_get_key_exchange(SSL *s);
int
ssl3_get_server_certificate
(
SSL
*
s
);
int
ssl3_check_cert_and_algorithm
(
SSL
*
s
);
/* server functionality */
int
dtls1_client_hello
(
SSL
*
s
);
int
dtls1_send_client_certificate
(
SSL
*
s
);
int
dtls1_send_client_key_exchange
(
SSL
*
s
);
int
dtls1_send_client_verify
(
SSL
*
s
);
/* some server-only functions */
int
ssl3_get_client_hello
(
SSL
*
s
);
int
ssl3_send_server_hello
(
SSL
*
s
);
int
ssl3_send_hello_request
(
SSL
*
s
);
...
...
@@ -662,6 +680,13 @@ int ssl3_get_client_certificate(SSL *s);
int
ssl3_get_client_key_exchange
(
SSL
*
s
);
int
ssl3_get_cert_verify
(
SSL
*
s
);
int
dtls1_send_hello_request
(
SSL
*
s
);
int
dtls1_send_server_hello
(
SSL
*
s
);
int
dtls1_send_server_certificate
(
SSL
*
s
);
int
dtls1_send_server_key_exchange
(
SSL
*
s
);
int
dtls1_send_certificate_request
(
SSL
*
s
);
int
dtls1_send_server_done
(
SSL
*
s
);
int
ssl23_accept
(
SSL
*
s
);
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录