• Home
  • Raw
  • Download

Lines Matching refs:SSL

54 typedef int (*confunc_f) (SSL *s, WPACKET *pkt);
56 int ssl3_take_mac(SSL *s);
57 int check_in_list(SSL *s, uint16_t group_id, const uint16_t *groups,
59 int create_synthetic_message_hash(SSL *s, const unsigned char *hashval,
62 int parse_ca_names(SSL *s, PACKET *pkt);
63 const STACK_OF(X509_NAME) *get_ca_names(SSL *s);
64 int construct_ca_names(SSL *s, const STACK_OF(X509_NAME) *ca_sk, WPACKET *pkt);
65 size_t construct_key_exchange_tbs(SSL *s, unsigned char **ptbs,
71 int ossl_statem_client_read_transition(SSL *s, int mt);
72 WRITE_TRAN ossl_statem_client_write_transition(SSL *s);
73 WORK_STATE ossl_statem_client_pre_work(SSL *s, WORK_STATE wst);
74 WORK_STATE ossl_statem_client_post_work(SSL *s, WORK_STATE wst);
75 int ossl_statem_client_construct_message(SSL *s, WPACKET *pkt,
77 size_t ossl_statem_client_max_message_size(SSL *s);
78 MSG_PROCESS_RETURN ossl_statem_client_process_message(SSL *s, PACKET *pkt);
79 WORK_STATE ossl_statem_client_post_process_message(SSL *s, WORK_STATE wst);
84 int ossl_statem_server_read_transition(SSL *s, int mt);
85 WRITE_TRAN ossl_statem_server_write_transition(SSL *s);
86 WORK_STATE ossl_statem_server_pre_work(SSL *s, WORK_STATE wst);
87 WORK_STATE ossl_statem_server_post_work(SSL *s, WORK_STATE wst);
88 int ossl_statem_server_construct_message(SSL *s, WPACKET *pkt,
90 size_t ossl_statem_server_max_message_size(SSL *s);
91 MSG_PROCESS_RETURN ossl_statem_server_process_message(SSL *s, PACKET *pkt);
92 WORK_STATE ossl_statem_server_post_process_message(SSL *s, WORK_STATE wst);
95 __owur int tls_get_message_header(SSL *s, int *mt);
96 __owur int tls_get_message_body(SSL *s, size_t *len);
97 __owur int dtls_get_message(SSL *s, int *mt, size_t *len);
100 __owur int tls_process_initial_server_flight(SSL *s);
101 __owur MSG_PROCESS_RETURN tls_process_change_cipher_spec(SSL *s, PACKET *pkt);
102 __owur MSG_PROCESS_RETURN tls_process_finished(SSL *s, PACKET *pkt);
103 __owur int tls_construct_change_cipher_spec(SSL *s, WPACKET *pkt);
104 __owur int dtls_construct_change_cipher_spec(SSL *s, WPACKET *pkt);
106 __owur int tls_construct_finished(SSL *s, WPACKET *pkt);
107 __owur int tls_construct_key_update(SSL *s, WPACKET *pkt);
108 __owur MSG_PROCESS_RETURN tls_process_key_update(SSL *s, PACKET *pkt);
109 __owur WORK_STATE tls_finish_handshake(SSL *s, WORK_STATE wst, int clearbufs,
111 __owur WORK_STATE dtls_wait_for_dry(SSL *s);
114 __owur int tls_construct_client_hello(SSL *s, WPACKET *pkt);
115 __owur MSG_PROCESS_RETURN tls_process_server_hello(SSL *s, PACKET *pkt);
116 __owur MSG_PROCESS_RETURN tls_process_certificate_request(SSL *s, PACKET *pkt);
117 __owur MSG_PROCESS_RETURN tls_process_new_session_ticket(SSL *s, PACKET *pkt);
118 __owur int tls_process_cert_status_body(SSL *s, PACKET *pkt);
119 __owur MSG_PROCESS_RETURN tls_process_cert_status(SSL *s, PACKET *pkt);
120 __owur MSG_PROCESS_RETURN tls_process_server_done(SSL *s, PACKET *pkt);
121 __owur int tls_construct_cert_verify(SSL *s, WPACKET *pkt);
122 __owur WORK_STATE tls_prepare_client_certificate(SSL *s, WORK_STATE wst);
123 __owur int tls_construct_client_certificate(SSL *s, WPACKET *pkt);
124 __owur int ssl_do_client_cert_cb(SSL *s, X509 **px509, EVP_PKEY **ppkey);
125 __owur int tls_construct_client_key_exchange(SSL *s, WPACKET *pkt);
126 __owur int tls_client_key_exchange_post_work(SSL *s);
127 __owur int tls_construct_cert_status_body(SSL *s, WPACKET *pkt);
128 __owur int tls_construct_cert_status(SSL *s, WPACKET *pkt);
129 __owur MSG_PROCESS_RETURN tls_process_key_exchange(SSL *s, PACKET *pkt);
130 __owur MSG_PROCESS_RETURN tls_process_server_certificate(SSL *s, PACKET *pkt);
131 __owur int ssl3_check_cert_and_algorithm(SSL *s);
133 __owur int tls_construct_next_proto(SSL *s, WPACKET *pkt);
135 __owur MSG_PROCESS_RETURN tls_process_hello_req(SSL *s, PACKET *pkt);
136 __owur MSG_PROCESS_RETURN dtls_process_hello_verify(SSL *s, PACKET *pkt);
137 __owur int tls_construct_end_of_early_data(SSL *s, WPACKET *pkt);
140 __owur MSG_PROCESS_RETURN tls_process_client_hello(SSL *s, PACKET *pkt);
141 __owur WORK_STATE tls_post_process_client_hello(SSL *s, WORK_STATE wst);
142 __owur int tls_construct_server_hello(SSL *s, WPACKET *pkt);
143 __owur int dtls_construct_hello_verify_request(SSL *s, WPACKET *pkt);
144 __owur int tls_construct_server_certificate(SSL *s, WPACKET *pkt);
145 __owur int tls_construct_server_key_exchange(SSL *s, WPACKET *pkt);
146 __owur int tls_construct_certificate_request(SSL *s, WPACKET *pkt);
147 __owur int tls_construct_server_done(SSL *s, WPACKET *pkt);
148 __owur MSG_PROCESS_RETURN tls_process_client_certificate(SSL *s, PACKET *pkt);
149 __owur MSG_PROCESS_RETURN tls_process_client_key_exchange(SSL *s, PACKET *pkt);
150 __owur WORK_STATE tls_post_process_client_key_exchange(SSL *s, WORK_STATE wst);
151 __owur MSG_PROCESS_RETURN tls_process_cert_verify(SSL *s, PACKET *pkt);
153 __owur MSG_PROCESS_RETURN tls_process_next_proto(SSL *s, PACKET *pkt);
155 __owur int tls_construct_new_session_ticket(SSL *s, WPACKET *pkt);
156 MSG_PROCESS_RETURN tls_process_end_of_early_data(SSL *s, PACKET *pkt);
167 __owur int tls_validate_all_contexts(SSL *s, unsigned int thisctx,
169 __owur int extension_is_relevant(SSL *s, unsigned int extctx,
171 __owur int tls_collect_extensions(SSL *s, PACKET *packet, unsigned int context,
173 __owur int tls_parse_extension(SSL *s, TLSEXT_INDEX idx, int context,
175 __owur int tls_parse_all_extensions(SSL *s, int context, RAW_EXTENSION *exts,
177 __owur int should_add_extension(SSL *s, unsigned int extctx,
179 __owur int tls_construct_extensions(SSL *s, WPACKET *pkt, unsigned int context,
182 __owur int tls_psk_do_binder(SSL *s, const EVP_MD *md,
189 int tls_parse_ctos_renegotiate(SSL *s, PACKET *pkt, unsigned int context,
191 int tls_parse_ctos_server_name(SSL *s, PACKET *pkt, unsigned int context,
193 int tls_parse_ctos_maxfragmentlen(SSL *s, PACKET *pkt, unsigned int context,
196 int tls_parse_ctos_srp(SSL *s, PACKET *pkt, unsigned int context, X509 *x,
199 int tls_parse_ctos_early_data(SSL *s, PACKET *pkt, unsigned int context,
202 int tls_parse_ctos_ec_pt_formats(SSL *s, PACKET *pkt, unsigned int context,
204 int tls_parse_ctos_supported_groups(SSL *s, PACKET *pkt, unsigned int context,
207 int tls_parse_ctos_session_ticket(SSL *s, PACKET *pkt, unsigned int context,
209 int tls_parse_ctos_sig_algs_cert(SSL *s, PACKET *pkt, unsigned int context,
211 int tls_parse_ctos_sig_algs(SSL *s, PACKET *pkt, unsigned int context, X509 *x,
214 int tls_parse_ctos_status_request(SSL *s, PACKET *pkt, unsigned int context,
218 int tls_parse_ctos_npn(SSL *s, PACKET *pkt, unsigned int context, X509 *x,
221 int tls_parse_ctos_alpn(SSL *s, PACKET *pkt, unsigned int context, X509 *x,
224 int tls_parse_ctos_use_srtp(SSL *s, PACKET *pkt, unsigned int context, X509 *x,
227 int tls_parse_ctos_etm(SSL *s, PACKET *pkt, unsigned int context, X509 *x,
229 int tls_parse_ctos_key_share(SSL *s, PACKET *pkt, unsigned int context, X509 *x,
231 int tls_parse_ctos_cookie(SSL *s, PACKET *pkt, unsigned int context, X509 *x,
233 int tls_parse_ctos_ems(SSL *s, PACKET *pkt, unsigned int context, X509 *x,
235 int tls_parse_ctos_psk_kex_modes(SSL *s, PACKET *pkt, unsigned int context,
237 int tls_parse_ctos_psk(SSL *s, PACKET *pkt, unsigned int context, X509 *x,
239 int tls_parse_ctos_post_handshake_auth(SSL *, PACKET *pkt, unsigned int context,
242 EXT_RETURN tls_construct_stoc_renegotiate(SSL *s, WPACKET *pkt,
245 EXT_RETURN tls_construct_stoc_server_name(SSL *s, WPACKET *pkt,
248 EXT_RETURN tls_construct_stoc_early_data(SSL *s, WPACKET *pkt,
251 EXT_RETURN tls_construct_stoc_maxfragmentlen(SSL *s, WPACKET *pkt,
255 EXT_RETURN tls_construct_stoc_ec_pt_formats(SSL *s, WPACKET *pkt,
259 EXT_RETURN tls_construct_stoc_supported_groups(SSL *s, WPACKET *pkt,
262 EXT_RETURN tls_construct_stoc_session_ticket(SSL *s, WPACKET *pkt,
266 EXT_RETURN tls_construct_stoc_status_request(SSL *s, WPACKET *pkt,
271 EXT_RETURN tls_construct_stoc_next_proto_neg(SSL *s, WPACKET *pkt,
275 EXT_RETURN tls_construct_stoc_alpn(SSL *s, WPACKET *pkt, unsigned int context,
278 EXT_RETURN tls_construct_stoc_use_srtp(SSL *s, WPACKET *pkt, unsigned int context,
281 EXT_RETURN tls_construct_stoc_etm(SSL *s, WPACKET *pkt, unsigned int context,
283 EXT_RETURN tls_construct_stoc_ems(SSL *s, WPACKET *pkt, unsigned int context,
285 EXT_RETURN tls_construct_stoc_supported_versions(SSL *s, WPACKET *pkt,
288 EXT_RETURN tls_construct_stoc_key_share(SSL *s, WPACKET *pkt,
291 EXT_RETURN tls_construct_stoc_cookie(SSL *s, WPACKET *pkt, unsigned int context,
298 EXT_RETURN tls_construct_stoc_cryptopro_bug(SSL *s, WPACKET *pkt,
301 EXT_RETURN tls_construct_stoc_psk(SSL *s, WPACKET *pkt, unsigned int context,
305 EXT_RETURN tls_construct_ctos_renegotiate(SSL *s, WPACKET *pkt, unsigned int context,
307 EXT_RETURN tls_construct_ctos_server_name(SSL *s, WPACKET *pkt, unsigned int context,
309 EXT_RETURN tls_construct_ctos_maxfragmentlen(SSL *s, WPACKET *pkt, unsigned int context,
312 EXT_RETURN tls_construct_ctos_srp(SSL *s, WPACKET *pkt, unsigned int context, X509 *x,
316 EXT_RETURN tls_construct_ctos_ec_pt_formats(SSL *s, WPACKET *pkt,
319 EXT_RETURN tls_construct_ctos_supported_groups(SSL *s, WPACKET *pkt,
323 EXT_RETURN tls_construct_ctos_early_data(SSL *s, WPACKET *pkt,
326 EXT_RETURN tls_construct_ctos_session_ticket(SSL *s, WPACKET *pkt,
329 EXT_RETURN tls_construct_ctos_sig_algs(SSL *s, WPACKET *pkt,
333 EXT_RETURN tls_construct_ctos_status_request(SSL *s, WPACKET *pkt,
338 EXT_RETURN tls_construct_ctos_npn(SSL *s, WPACKET *pkt, unsigned int context,
341 EXT_RETURN tls_construct_ctos_alpn(SSL *s, WPACKET *pkt, unsigned int context,
344 EXT_RETURN tls_construct_ctos_use_srtp(SSL *s, WPACKET *pkt, unsigned int context,
347 EXT_RETURN tls_construct_ctos_etm(SSL *s, WPACKET *pkt, unsigned int context,
350 EXT_RETURN tls_construct_ctos_sct(SSL *s, WPACKET *pkt, unsigned int context,
353 EXT_RETURN tls_construct_ctos_ems(SSL *s, WPACKET *pkt, unsigned int context,
355 EXT_RETURN tls_construct_ctos_supported_versions(SSL *s, WPACKET *pkt,
358 EXT_RETURN tls_construct_ctos_key_share(SSL *s, WPACKET *pkt,
361 EXT_RETURN tls_construct_ctos_psk_kex_modes(SSL *s, WPACKET *pkt,
364 EXT_RETURN tls_construct_ctos_cookie(SSL *s, WPACKET *pkt, unsigned int context,
366 EXT_RETURN tls_construct_ctos_padding(SSL *s, WPACKET *pkt,
369 EXT_RETURN tls_construct_ctos_psk(SSL *s, WPACKET *pkt, unsigned int context,
371 EXT_RETURN tls_construct_ctos_post_handshake_auth(SSL *s, WPACKET *pkt, unsigned int context,
374 int tls_parse_stoc_renegotiate(SSL *s, PACKET *pkt, unsigned int context,
376 int tls_parse_stoc_server_name(SSL *s, PACKET *pkt, unsigned int context,
378 int tls_parse_stoc_early_data(SSL *s, PACKET *pkt, unsigned int context,
380 int tls_parse_stoc_maxfragmentlen(SSL *s, PACKET *pkt, unsigned int context,
383 int tls_parse_stoc_ec_pt_formats(SSL *s, PACKET *pkt, unsigned int context,
386 int tls_parse_stoc_session_ticket(SSL *s, PACKET *pkt, unsigned int context,
389 int tls_parse_stoc_status_request(SSL *s, PACKET *pkt, unsigned int context,
393 int tls_parse_stoc_sct(SSL *s, PACKET *pkt, unsigned int context, X509 *x,
397 int tls_parse_stoc_npn(SSL *s, PACKET *pkt, unsigned int context, X509 *x,
400 int tls_parse_stoc_alpn(SSL *s, PACKET *pkt, unsigned int context, X509 *x,
403 int tls_parse_stoc_use_srtp(SSL *s, PACKET *pkt, unsigned int context, X509 *x,
406 int tls_parse_stoc_etm(SSL *s, PACKET *pkt, unsigned int context, X509 *x,
408 int tls_parse_stoc_ems(SSL *s, PACKET *pkt, unsigned int context, X509 *x,
410 int tls_parse_stoc_supported_versions(SSL *s, PACKET *pkt, unsigned int context,
412 int tls_parse_stoc_key_share(SSL *s, PACKET *pkt, unsigned int context, X509 *x,
414 int tls_parse_stoc_cookie(SSL *s, PACKET *pkt, unsigned int context, X509 *x,
416 int tls_parse_stoc_psk(SSL *s, PACKET *pkt, unsigned int context, X509 *x,
419 int tls_handle_alpn(SSL *s);
421 int tls13_save_handshake_digest_for_pha(SSL *s);
422 int tls13_restore_handshake_digest_for_pha(SSL *s);