Lines Matching refs:s
65 typedef CON_FUNC_RETURN (*confunc_f) (SSL_CONNECTION *s, WPACKET *pkt);
67 int ssl3_take_mac(SSL_CONNECTION *s);
68 int check_in_list(SSL_CONNECTION *s, uint16_t group_id, const uint16_t *groups,
70 int create_synthetic_message_hash(SSL_CONNECTION *s,
74 int parse_ca_names(SSL_CONNECTION *s, PACKET *pkt);
75 const STACK_OF(X509_NAME) *get_ca_names(SSL_CONNECTION *s);
76 int construct_ca_names(SSL_CONNECTION *s, const STACK_OF(X509_NAME) *ca_sk,
78 size_t construct_key_exchange_tbs(SSL_CONNECTION *s, unsigned char **ptbs,
84 int ossl_statem_client_read_transition(SSL_CONNECTION *s, int mt);
85 WRITE_TRAN ossl_statem_client_write_transition(SSL_CONNECTION *s);
86 WORK_STATE ossl_statem_client_pre_work(SSL_CONNECTION *s, WORK_STATE wst);
87 WORK_STATE ossl_statem_client_post_work(SSL_CONNECTION *s, WORK_STATE wst);
88 int ossl_statem_client_construct_message(SSL_CONNECTION *s,
90 size_t ossl_statem_client_max_message_size(SSL_CONNECTION *s);
91 MSG_PROCESS_RETURN ossl_statem_client_process_message(SSL_CONNECTION *s,
93 WORK_STATE ossl_statem_client_post_process_message(SSL_CONNECTION *s,
99 int ossl_statem_server_read_transition(SSL_CONNECTION *s, int mt);
100 WRITE_TRAN ossl_statem_server_write_transition(SSL_CONNECTION *s);
101 WORK_STATE ossl_statem_server_pre_work(SSL_CONNECTION *s, WORK_STATE wst);
102 WORK_STATE ossl_statem_server_post_work(SSL_CONNECTION *s, WORK_STATE wst);
103 int ossl_statem_server_construct_message(SSL_CONNECTION *s,
105 size_t ossl_statem_server_max_message_size(SSL_CONNECTION *s);
106 MSG_PROCESS_RETURN ossl_statem_server_process_message(SSL_CONNECTION *s,
108 WORK_STATE ossl_statem_server_post_process_message(SSL_CONNECTION *s,
112 __owur int tls_get_message_header(SSL_CONNECTION *s, int *mt);
113 __owur int tls_get_message_body(SSL_CONNECTION *s, size_t *len);
114 __owur int dtls_get_message(SSL_CONNECTION *s, int *mt);
115 __owur int dtls_get_message_body(SSL_CONNECTION *s, size_t *len);
118 __owur int tls_process_initial_server_flight(SSL_CONNECTION *s);
119 __owur MSG_PROCESS_RETURN tls_process_change_cipher_spec(SSL_CONNECTION *s,
121 __owur MSG_PROCESS_RETURN tls_process_finished(SSL_CONNECTION *s, PACKET *pkt);
122 __owur CON_FUNC_RETURN tls_construct_change_cipher_spec(SSL_CONNECTION *s,
124 __owur CON_FUNC_RETURN dtls_construct_change_cipher_spec(SSL_CONNECTION *s,
127 __owur CON_FUNC_RETURN tls_construct_finished(SSL_CONNECTION *s, WPACKET *pkt);
128 __owur CON_FUNC_RETURN tls_construct_key_update(SSL_CONNECTION *s, WPACKET *pkt);
129 __owur MSG_PROCESS_RETURN tls_process_key_update(SSL_CONNECTION *s,
131 __owur WORK_STATE tls_finish_handshake(SSL_CONNECTION *s, WORK_STATE wst,
133 __owur WORK_STATE dtls_wait_for_dry(SSL_CONNECTION *s);
143 __owur CON_FUNC_RETURN tls_construct_client_hello(SSL_CONNECTION *s,
145 __owur MSG_PROCESS_RETURN tls_process_server_hello(SSL_CONNECTION *s,
147 __owur MSG_PROCESS_RETURN tls_process_certificate_request(SSL_CONNECTION *s,
149 __owur MSG_PROCESS_RETURN tls_process_new_session_ticket(SSL_CONNECTION *s,
151 __owur int tls_process_cert_status_body(SSL_CONNECTION *s, PACKET *pkt);
152 __owur MSG_PROCESS_RETURN tls_process_cert_status(SSL_CONNECTION *s,
154 __owur MSG_PROCESS_RETURN tls_process_server_done(SSL_CONNECTION *s,
156 __owur CON_FUNC_RETURN tls_construct_cert_verify(SSL_CONNECTION *s,
158 __owur WORK_STATE tls_prepare_client_certificate(SSL_CONNECTION *s,
160 __owur CON_FUNC_RETURN tls_construct_client_certificate(SSL_CONNECTION *s,
166 __owur int ssl_do_client_cert_cb(SSL_CONNECTION *s, X509 **px509,
168 __owur CON_FUNC_RETURN tls_construct_client_key_exchange(SSL_CONNECTION *s,
170 __owur int tls_client_key_exchange_post_work(SSL_CONNECTION *s);
171 __owur int tls_construct_cert_status_body(SSL_CONNECTION *s, WPACKET *pkt);
172 __owur CON_FUNC_RETURN tls_construct_cert_status(SSL_CONNECTION *s,
174 __owur MSG_PROCESS_RETURN tls_process_key_exchange(SSL_CONNECTION *s,
182 __owur int tls_process_rpk(SSL_CONNECTION *s, PACKET *pkt, EVP_PKEY **peer_rpk);
183 __owur MSG_PROCESS_RETURN tls_process_server_certificate(SSL_CONNECTION *s,
185 __owur WORK_STATE tls_post_process_server_certificate(SSL_CONNECTION *s,
191 __owur int ssl3_check_cert_and_algorithm(SSL_CONNECTION *s);
193 __owur CON_FUNC_RETURN tls_construct_next_proto(SSL_CONNECTION *s, WPACKET *pkt);
195 __owur MSG_PROCESS_RETURN tls_process_hello_req(SSL_CONNECTION *s, PACKET *pkt);
196 __owur MSG_PROCESS_RETURN dtls_process_hello_verify(SSL_CONNECTION *s, PACKET *pkt);
197 __owur CON_FUNC_RETURN tls_construct_end_of_early_data(SSL_CONNECTION *s,
201 __owur MSG_PROCESS_RETURN tls_process_client_hello(SSL_CONNECTION *s,
203 __owur WORK_STATE tls_post_process_client_hello(SSL_CONNECTION *s,
205 __owur CON_FUNC_RETURN tls_construct_server_hello(SSL_CONNECTION *s,
207 __owur CON_FUNC_RETURN dtls_construct_hello_verify_request(SSL_CONNECTION *s,
209 __owur CON_FUNC_RETURN tls_construct_server_certificate(SSL_CONNECTION *s,
215 __owur CON_FUNC_RETURN tls_construct_server_key_exchange(SSL_CONNECTION *s,
217 __owur CON_FUNC_RETURN tls_construct_certificate_request(SSL_CONNECTION *s,
219 __owur CON_FUNC_RETURN tls_construct_server_done(SSL_CONNECTION *s,
221 __owur MSG_PROCESS_RETURN tls_process_client_certificate(SSL_CONNECTION *s,
227 __owur MSG_PROCESS_RETURN tls_process_client_key_exchange(SSL_CONNECTION *s,
229 __owur WORK_STATE tls_post_process_client_key_exchange(SSL_CONNECTION *s,
231 __owur MSG_PROCESS_RETURN tls_process_cert_verify(SSL_CONNECTION *s,
234 __owur MSG_PROCESS_RETURN tls_process_next_proto(SSL_CONNECTION *s,
237 __owur CON_FUNC_RETURN tls_construct_new_session_ticket(SSL_CONNECTION *s,
239 MSG_PROCESS_RETURN tls_process_end_of_early_data(SSL_CONNECTION *s,
244 int ossl_gost18_cke_cipher_nid(const SSL_CONNECTION *s);
245 int ossl_gost_ukm(const SSL_CONNECTION *s, unsigned char *dgst_buf);
256 __owur int tls_validate_all_contexts(SSL_CONNECTION *s, unsigned int thisctx,
258 __owur int extension_is_relevant(SSL_CONNECTION *s, unsigned int extctx,
260 __owur int tls_collect_extensions(SSL_CONNECTION *s, PACKET *packet,
263 __owur int tls_parse_extension(SSL_CONNECTION *s, TLSEXT_INDEX idx, int context,
265 __owur int tls_parse_all_extensions(SSL_CONNECTION *s, int context,
268 __owur int should_add_extension(SSL_CONNECTION *s, unsigned int extctx,
270 __owur int tls_construct_extensions(SSL_CONNECTION *s, WPACKET *pkt,
274 __owur int tls_psk_do_binder(SSL_CONNECTION *s, const EVP_MD *md,
281 int tls_parse_ctos_renegotiate(SSL_CONNECTION *s, PACKET *pkt,
284 int tls_parse_ctos_server_name(SSL_CONNECTION *s, PACKET *pkt,
287 int tls_parse_ctos_maxfragmentlen(SSL_CONNECTION *s, PACKET *pkt,
291 int tls_parse_ctos_srp(SSL_CONNECTION *s, PACKET *pkt, unsigned int context,
294 int tls_parse_ctos_early_data(SSL_CONNECTION *s, PACKET *pkt,
297 int tls_parse_ctos_ec_pt_formats(SSL_CONNECTION *s, PACKET *pkt,
300 int tls_parse_ctos_supported_groups(SSL_CONNECTION *s, PACKET *pkt,
303 int tls_parse_ctos_session_ticket(SSL_CONNECTION *s, PACKET *pkt,
306 int tls_parse_ctos_sig_algs_cert(SSL_CONNECTION *s, PACKET *pkt,
309 int tls_parse_ctos_sig_algs(SSL_CONNECTION *s, PACKET *pkt,
312 int tls_parse_ctos_status_request(SSL_CONNECTION *s, PACKET *pkt,
317 int tls_parse_ctos_npn(SSL_CONNECTION *s, PACKET *pkt, unsigned int context,
320 int tls_parse_ctos_alpn(SSL_CONNECTION *s, PACKET *pkt, unsigned int context,
323 int tls_parse_ctos_use_srtp(SSL_CONNECTION *s, PACKET *pkt,
326 int tls_parse_ctos_etm(SSL_CONNECTION *s, PACKET *pkt, unsigned int context,
328 int tls_parse_ctos_key_share(SSL_CONNECTION *s, PACKET *pkt,
330 int tls_parse_ctos_cookie(SSL_CONNECTION *s, PACKET *pkt, unsigned int context,
332 int tls_parse_ctos_ems(SSL_CONNECTION *s, PACKET *pkt, unsigned int context,
334 int tls_parse_ctos_psk_kex_modes(SSL_CONNECTION *s, PACKET *pkt,
337 int tls_parse_ctos_psk(SSL_CONNECTION *s, PACKET *pkt, unsigned int context,
343 EXT_RETURN tls_construct_stoc_renegotiate(SSL_CONNECTION *s, WPACKET *pkt,
346 EXT_RETURN tls_construct_stoc_server_name(SSL_CONNECTION *s, WPACKET *pkt,
349 EXT_RETURN tls_construct_stoc_early_data(SSL_CONNECTION *s, WPACKET *pkt,
352 EXT_RETURN tls_construct_stoc_maxfragmentlen(SSL_CONNECTION *s, WPACKET *pkt,
355 EXT_RETURN tls_construct_stoc_ec_pt_formats(SSL_CONNECTION *s, WPACKET *pkt,
358 EXT_RETURN tls_construct_stoc_supported_groups(SSL_CONNECTION *s, WPACKET *pkt,
361 EXT_RETURN tls_construct_stoc_session_ticket(SSL_CONNECTION *s, WPACKET *pkt,
365 EXT_RETURN tls_construct_stoc_status_request(SSL_CONNECTION *s, WPACKET *pkt,
370 EXT_RETURN tls_construct_stoc_next_proto_neg(SSL_CONNECTION *s, WPACKET *pkt,
374 EXT_RETURN tls_construct_stoc_alpn(SSL_CONNECTION *s, WPACKET *pkt,
378 EXT_RETURN tls_construct_stoc_use_srtp(SSL_CONNECTION *s, WPACKET *pkt,
382 EXT_RETURN tls_construct_stoc_etm(SSL_CONNECTION *s, WPACKET *pkt,
385 EXT_RETURN tls_construct_stoc_ems(SSL_CONNECTION *s, WPACKET *pkt,
388 EXT_RETURN tls_construct_stoc_supported_versions(SSL_CONNECTION *s, WPACKET *pkt,
391 EXT_RETURN tls_construct_stoc_key_share(SSL_CONNECTION *s, WPACKET *pkt,
394 EXT_RETURN tls_construct_stoc_cookie(SSL_CONNECTION *s, WPACKET *pkt,
402 EXT_RETURN tls_construct_stoc_cryptopro_bug(SSL_CONNECTION *s, WPACKET *pkt,
405 EXT_RETURN tls_construct_stoc_psk(SSL_CONNECTION *s, WPACKET *pkt,
410 EXT_RETURN tls_construct_ctos_renegotiate(SSL_CONNECTION *s, WPACKET *pkt,
413 EXT_RETURN tls_construct_ctos_server_name(SSL_CONNECTION *s, WPACKET *pkt,
416 EXT_RETURN tls_construct_ctos_maxfragmentlen(SSL_CONNECTION *s, WPACKET *pkt,
420 EXT_RETURN tls_construct_ctos_srp(SSL_CONNECTION *s, WPACKET *pkt,
424 EXT_RETURN tls_construct_ctos_ec_pt_formats(SSL_CONNECTION *s, WPACKET *pkt,
427 EXT_RETURN tls_construct_ctos_supported_groups(SSL_CONNECTION *s, WPACKET *pkt,
431 EXT_RETURN tls_construct_ctos_early_data(SSL_CONNECTION *s, WPACKET *pkt,
434 EXT_RETURN tls_construct_ctos_session_ticket(SSL_CONNECTION *s, WPACKET *pkt,
437 EXT_RETURN tls_construct_ctos_sig_algs(SSL_CONNECTION *s, WPACKET *pkt,
441 EXT_RETURN tls_construct_ctos_status_request(SSL_CONNECTION *s, WPACKET *pkt,
446 EXT_RETURN tls_construct_ctos_npn(SSL_CONNECTION *s, WPACKET *pkt,
450 EXT_RETURN tls_construct_ctos_alpn(SSL_CONNECTION *s, WPACKET *pkt,
454 EXT_RETURN tls_construct_ctos_use_srtp(SSL_CONNECTION *s, WPACKET *pkt,
458 EXT_RETURN tls_construct_ctos_etm(SSL_CONNECTION *s, WPACKET *pkt,
462 EXT_RETURN tls_construct_ctos_sct(SSL_CONNECTION *s, WPACKET *pkt,
466 EXT_RETURN tls_construct_ctos_ems(SSL_CONNECTION *s, WPACKET *pkt,
469 EXT_RETURN tls_construct_ctos_supported_versions(SSL_CONNECTION *s, WPACKET *pkt,
472 EXT_RETURN tls_construct_ctos_key_share(SSL_CONNECTION *s, WPACKET *pkt,
475 EXT_RETURN tls_construct_ctos_psk_kex_modes(SSL_CONNECTION *s, WPACKET *pkt,
478 EXT_RETURN tls_construct_ctos_cookie(SSL_CONNECTION *s, WPACKET *pkt,
481 EXT_RETURN tls_construct_ctos_padding(SSL_CONNECTION *s, WPACKET *pkt,
484 EXT_RETURN tls_construct_ctos_psk(SSL_CONNECTION *s, WPACKET *pkt,
487 EXT_RETURN tls_construct_ctos_post_handshake_auth(SSL_CONNECTION *s, WPACKET *pkt,
491 int tls_parse_stoc_renegotiate(SSL_CONNECTION *s, PACKET *pkt,
494 int tls_parse_stoc_server_name(SSL_CONNECTION *s, PACKET *pkt,
497 int tls_parse_stoc_early_data(SSL_CONNECTION *s, PACKET *pkt,
500 int tls_parse_stoc_maxfragmentlen(SSL_CONNECTION *s, PACKET *pkt,
503 int tls_parse_stoc_ec_pt_formats(SSL_CONNECTION *s, PACKET *pkt,
506 int tls_parse_stoc_session_ticket(SSL_CONNECTION *s, PACKET *pkt,
510 int tls_parse_stoc_status_request(SSL_CONNECTION *s, PACKET *pkt,
515 int tls_parse_stoc_sct(SSL_CONNECTION *s, PACKET *pkt, unsigned int context,
519 int tls_parse_stoc_npn(SSL_CONNECTION *s, PACKET *pkt, unsigned int context,
522 int tls_parse_stoc_alpn(SSL_CONNECTION *s, PACKET *pkt, unsigned int context,
525 int tls_parse_stoc_use_srtp(SSL_CONNECTION *s, PACKET *pkt,
528 int tls_parse_stoc_etm(SSL_CONNECTION *s, PACKET *pkt, unsigned int context,
530 int tls_parse_stoc_ems(SSL_CONNECTION *s, PACKET *pkt, unsigned int context,
532 int tls_parse_stoc_supported_versions(SSL_CONNECTION *s, PACKET *pkt,
535 int tls_parse_stoc_key_share(SSL_CONNECTION *s, PACKET *pkt,
537 int tls_parse_stoc_cookie(SSL_CONNECTION *s, PACKET *pkt, unsigned int context,
539 int tls_parse_stoc_psk(SSL_CONNECTION *s, PACKET *pkt, unsigned int context,
542 int tls_handle_alpn(SSL_CONNECTION *s);
544 int tls13_save_handshake_digest_for_pha(SSL_CONNECTION *s);
545 int tls13_restore_handshake_digest_for_pha(SSL_CONNECTION *s);
570 int tls_parse_stoc_server_cert_type(SSL_CONNECTION *s, PACKET *pkt,