/external/rust/crates/quiche/deps/boringssl/src/ssl/ |
D | ssl_lib.cc | 201 void ssl_reset_error_state(SSL *ssl) { in ssl_reset_error_state() 209 void ssl_set_read_error(SSL* ssl) { in ssl_set_read_error() 214 static bool check_read_error(const SSL *ssl) { in check_read_error() 222 bool ssl_can_write(const SSL *ssl) { in ssl_can_write() 226 bool ssl_can_read(const SSL *ssl) { in ssl_can_read() 230 ssl_open_record_t ssl_open_handshake(SSL *ssl, size_t *out_consumed, in ssl_open_handshake() 244 ssl_open_record_t ssl_open_change_cipher_spec(SSL *ssl, size_t *out_consumed, in ssl_open_change_cipher_spec() 260 ssl_open_record_t ssl_open_app_data(SSL *ssl, Span<uint8_t> *out, in ssl_open_app_data() 276 SSL *const ssl = hs->ssl; in ssl_update_cache() local 342 bool ssl_log_secret(const SSL *ssl, const char *label, in ssl_log_secret() [all …]
|
D | d1_lib.cc | 88 bool dtls1_new(SSL *ssl) { in dtls1_new() 109 void dtls1_free(SSL *ssl) { in dtls1_free() 120 void dtls1_start_timer(SSL *ssl) { in dtls1_start_timer() 138 bool dtls1_is_timer_expired(SSL *ssl) { in dtls1_is_timer_expired() 155 static void dtls1_double_timeout(SSL *ssl) { in dtls1_double_timeout() 162 void dtls1_stop_timer(SSL *ssl) { in dtls1_stop_timer() 168 bool dtls1_check_timeout_num(SSL *ssl) { in dtls1_check_timeout_num() 194 void DTLSv1_set_initial_timeout_duration(SSL *ssl, unsigned int duration_ms) { in DTLSv1_set_initial_timeout_duration() 198 int DTLSv1_get_timeout(const SSL *ssl, struct timeval *out) { in DTLSv1_get_timeout() 248 int DTLSv1_handle_timeout(SSL *ssl) { in DTLSv1_handle_timeout()
|
D | d1_both.cc | 254 static bool dtls1_is_current_message_complete(const SSL *ssl) { in dtls1_is_current_message_complete() 265 SSL *ssl, uint8_t *out_alert, const struct hm_header_st *msg_hdr) { in dtls1_get_incoming_message() 296 ssl_open_record_t dtls1_open_handshake(SSL *ssl, size_t *out_consumed, in dtls1_open_handshake() 407 bool dtls1_get_message(const SSL *ssl, SSLMessage *out) { in dtls1_get_message() 425 void dtls1_next_message(SSL *ssl) { in dtls1_next_message() 439 bool dtls_has_unprocessed_handshake_data(const SSL *ssl) { in dtls_has_unprocessed_handshake_data() 470 ssl_open_record_t dtls1_open_change_cipher_spec(SSL *ssl, size_t *out_consumed, in dtls1_open_change_cipher_spec() 495 void dtls_clear_outgoing_messages(SSL *ssl) { in dtls_clear_outgoing_messages() 506 bool dtls1_init_message(SSL *ssl, CBB *cbb, CBB *body, uint8_t type) { in dtls1_init_message() 520 bool dtls1_finish_message(SSL *ssl, CBB *cbb, Array<uint8_t> *out_msg) { in dtls1_finish_message() [all …]
|
D | s3_both.cc | 137 static bool add_record_to_flight(SSL *ssl, uint8_t type, in add_record_to_flight() 171 bool tls_init_message(SSL *ssl, CBB *cbb, CBB *body, uint8_t type) { in tls_init_message() 184 bool tls_finish_message(SSL *ssl, CBB *cbb, Array<uint8_t> *out_msg) { in tls_finish_message() 188 bool tls_add_message(SSL *ssl, Array<uint8_t> msg) { in tls_add_message() 244 bool tls_flush_pending_hs_data(SSL *ssl) { in tls_flush_pending_hs_data() 265 bool tls_add_change_cipher_spec(SSL *ssl) { in tls_add_change_cipher_spec() 283 int tls_flush_flight(SSL *ssl) { in tls_flush_flight() 349 static ssl_open_record_t read_v2_client_hello(SSL *ssl, size_t *out_consumed, in read_v2_client_hello() 471 static bool parse_message(const SSL *ssl, SSLMessage *out, in parse_message() 499 bool tls_get_message(const SSL *ssl, SSLMessage *out) { in tls_get_message() [all …]
|
D | tls_record.cc | 143 static bool ssl_needs_record_splitting(const SSL *ssl) { in ssl_needs_record_splitting() 165 size_t ssl_record_prefix_len(const SSL *ssl) { in ssl_record_prefix_len() 176 size_t ssl_seal_align_prefix_len(const SSL *ssl) { in ssl_seal_align_prefix_len() 190 static ssl_open_record_t skip_early_data(SSL *ssl, uint8_t *out_alert, in skip_early_data() 206 ssl_open_record_t tls_open_record(SSL *ssl, uint8_t *out_type, in tls_open_record() 376 static bool do_seal_record(SSL *ssl, uint8_t *out_prefix, uint8_t *out, in do_seal_record() 425 static size_t tls_seal_scatter_prefix_len(const SSL *ssl, uint8_t type, in tls_seal_scatter_prefix_len() 442 static bool tls_seal_scatter_suffix_len(const SSL *ssl, size_t *out_suffix_len, in tls_seal_scatter_suffix_len() 469 static bool tls_seal_scatter_record(SSL *ssl, uint8_t *out_prefix, uint8_t *out, in tls_seal_scatter_record() 514 bool tls_seal_record(SSL *ssl, uint8_t *out, size_t *out_len, in tls_seal_record() [all …]
|
D | tls13_server.cc | 46 SSL *const ssl = hs->ssl; in resolve_ecdhe_secret() local 89 const SSL *ssl, const SSL_CLIENT_HELLO *client_hello, uint16_t group_id) { in choose_tls13_cipher() 100 SSL *const ssl = hs->ssl; in add_new_session_tickets() local 187 SSL *const ssl = hs->ssl; in do_select_parameters() local 245 SSL *const ssl = hs->ssl; in select_session() local 338 SSL *const ssl = hs->ssl; in do_select_session() local 525 SSL *const ssl = hs->ssl; in do_send_hello_retry_request() local 560 SSL *const ssl = hs->ssl; in do_read_second_client_hello() local 637 SSL *const ssl = hs->ssl; in do_send_server_hello() local 798 SSL *const ssl = hs->ssl; in do_send_server_finished() local [all …]
|
D | ssl_buffer.cc | 124 static int dtls_read_buffer_next_packet(SSL *ssl) { in dtls_read_buffer_next_packet() 145 static int tls_read_buffer_extend_to(SSL *ssl, size_t len) { in tls_read_buffer_extend_to() 169 int ssl_read_buffer_extend_to(SSL *ssl, size_t len) { in ssl_read_buffer_extend_to() 207 int ssl_handle_open_record(SSL *ssl, bool *out_retry, ssl_open_record_t ret, in ssl_handle_open_record() 259 static int tls_write_buffer_flush(SSL *ssl) { in tls_write_buffer_flush() 274 static int dtls_write_buffer_flush(SSL *ssl) { in dtls_write_buffer_flush() 293 int ssl_write_buffer_flush(SSL *ssl) { in ssl_write_buffer_flush()
|
D | handshake_client.cc | 217 SSL *const ssl = hs->ssl; in ssl_write_client_cipher_list() local 284 SSL *const ssl = hs->ssl; in ssl_write_client_hello() local 343 SSL *const ssl = hs->ssl; in parse_supported_versions() local 378 SSL *const ssl = hs->ssl; in do_start_connect() local 444 SSL *const ssl = hs->ssl; in do_enter_early_data() local 510 SSL *const ssl = hs->ssl; in do_read_hello_verify_request() local 554 SSL *const ssl = hs->ssl; in do_read_server_hello() local 801 SSL *const ssl = hs->ssl; in do_read_server_certificate() local 848 SSL *const ssl = hs->ssl; in do_read_certificate_status() local 934 SSL *const ssl = hs->ssl; in do_read_server_key_exchange() local [all …]
|
D | s3_pkt.cc | 129 int tls_write_app_data(SSL *ssl, bool *out_needs_handshake, const uint8_t *in, in tls_write_app_data() 204 static int tls_write_pending(SSL *ssl, int type, const uint8_t *in, in tls_write_pending() 223 static int do_tls_write(SSL *ssl, int type, const uint8_t *in, unsigned len) { in do_tls_write() 302 ssl_open_record_t tls_open_app_data(SSL *ssl, Span<uint8_t> *out, in tls_open_app_data() 358 ssl_open_record_t tls_open_change_cipher_spec(SSL *ssl, size_t *out_consumed, in tls_open_change_cipher_spec() 384 void ssl_send_alert(SSL *ssl, int level, int desc) { in ssl_send_alert() 401 int ssl_send_alert_impl(SSL *ssl, int level, int desc) { in ssl_send_alert_impl() 429 int tls_dispatch_alert(SSL *ssl) { in tls_dispatch_alert()
|
D | bio_ssl.cc | 20 SSL *ssl = get_ssl(bio); in ssl_read() local 60 SSL *ssl = get_ssl(bio); in ssl_write() local 94 SSL *ssl = get_ssl(bio); in ssl_ctrl() local 154 SSL *ssl = get_ssl(bio); in ssl_free() local 169 SSL *ssl = get_ssl(bio); in ssl_callback_ctrl() local 190 long BIO_set_ssl(BIO *bio, SSL *ssl, int take_owership) { in BIO_set_ssl()
|
/external/libwebsockets/lib/tls/mbedtls/wrapper/library/ |
D | ssl_lib.c | 69 int ossl_statem_in_error(const SSL *ssl) in ossl_statem_in_error() 82 int SSL_want(const SSL *ssl) in SSL_want() 92 int SSL_want_nothing(const SSL *ssl) in SSL_want_nothing() 105 int SSL_want_read(const SSL *ssl) in SSL_want_read() 118 int SSL_want_write(const SSL *ssl) in SSL_want_write() 131 int SSL_want_x509_lookup(const SSL *ssl) in SSL_want_x509_lookup() 141 int SSL_get_error(const SSL *ssl, int ret_code) in SSL_get_error() 172 OSSL_HANDSHAKE_STATE SSL_get_state(const SSL *ssl) in SSL_get_state() 301 SSL *ssl; in SSL_new() local 367 void SSL_free(SSL *ssl) in SSL_free() [all …]
|
/external/boringssl/src/ssl/ |
D | ssl_lib.cc | 203 void ssl_reset_error_state(SSL *ssl) { in ssl_reset_error_state() 211 void ssl_set_read_error(SSL* ssl) { in ssl_set_read_error() 216 static bool check_read_error(const SSL *ssl) { in check_read_error() 224 bool ssl_can_write(const SSL *ssl) { in ssl_can_write() 228 bool ssl_can_read(const SSL *ssl) { in ssl_can_read() 232 ssl_open_record_t ssl_open_handshake(SSL *ssl, size_t *out_consumed, in ssl_open_handshake() 246 ssl_open_record_t ssl_open_change_cipher_spec(SSL *ssl, size_t *out_consumed, in ssl_open_change_cipher_spec() 262 ssl_open_record_t ssl_open_app_data(SSL *ssl, Span<uint8_t> *out, in ssl_open_app_data() 293 bool ssl_log_secret(const SSL *ssl, const char *label, in ssl_log_secret() 318 void ssl_do_info_callback(const SSL *ssl, int type, int value) { in ssl_do_info_callback() [all …]
|
D | d1_lib.cc | 88 bool dtls1_new(SSL *ssl) { in dtls1_new() 109 void dtls1_free(SSL *ssl) { in dtls1_free() 120 void dtls1_start_timer(SSL *ssl) { in dtls1_start_timer() 138 bool dtls1_is_timer_expired(SSL *ssl) { in dtls1_is_timer_expired() 155 static void dtls1_double_timeout(SSL *ssl) { in dtls1_double_timeout() 162 void dtls1_stop_timer(SSL *ssl) { in dtls1_stop_timer() 168 bool dtls1_check_timeout_num(SSL *ssl) { in dtls1_check_timeout_num() 194 void DTLSv1_set_initial_timeout_duration(SSL *ssl, unsigned int duration_ms) { in DTLSv1_set_initial_timeout_duration() 198 int DTLSv1_get_timeout(const SSL *ssl, struct timeval *out) { in DTLSv1_get_timeout() 248 int DTLSv1_handle_timeout(SSL *ssl) { in DTLSv1_handle_timeout()
|
D | d1_both.cc | 254 static bool dtls1_is_current_message_complete(const SSL *ssl) { in dtls1_is_current_message_complete() 265 SSL *ssl, uint8_t *out_alert, const struct hm_header_st *msg_hdr) { in dtls1_get_incoming_message() 296 ssl_open_record_t dtls1_open_handshake(SSL *ssl, size_t *out_consumed, in dtls1_open_handshake() 407 bool dtls1_get_message(const SSL *ssl, SSLMessage *out) { in dtls1_get_message() 425 void dtls1_next_message(SSL *ssl) { in dtls1_next_message() 439 bool dtls_has_unprocessed_handshake_data(const SSL *ssl) { in dtls_has_unprocessed_handshake_data() 470 ssl_open_record_t dtls1_open_change_cipher_spec(SSL *ssl, size_t *out_consumed, in dtls1_open_change_cipher_spec() 495 void dtls_clear_outgoing_messages(SSL *ssl) { in dtls_clear_outgoing_messages() 506 bool dtls1_init_message(const SSL *ssl, CBB *cbb, CBB *body, uint8_t type) { in dtls1_init_message() 520 bool dtls1_finish_message(const SSL *ssl, CBB *cbb, Array<uint8_t> *out_msg) { in dtls1_finish_message() [all …]
|
D | s3_both.cc | 137 static bool add_record_to_flight(SSL *ssl, uint8_t type, in add_record_to_flight() 171 bool tls_init_message(const SSL *ssl, CBB *cbb, CBB *body, uint8_t type) { in tls_init_message() 184 bool tls_finish_message(const SSL *ssl, CBB *cbb, Array<uint8_t> *out_msg) { in tls_finish_message() 188 bool tls_add_message(SSL *ssl, Array<uint8_t> msg) { in tls_add_message() 244 bool tls_flush_pending_hs_data(SSL *ssl) { in tls_flush_pending_hs_data() 266 bool tls_add_change_cipher_spec(SSL *ssl) { in tls_add_change_cipher_spec() 284 int tls_flush_flight(SSL *ssl) { in tls_flush_flight() 355 static ssl_open_record_t read_v2_client_hello(SSL *ssl, size_t *out_consumed, in read_v2_client_hello() 477 static bool parse_message(const SSL *ssl, SSLMessage *out, in parse_message() 505 bool tls_get_message(const SSL *ssl, SSLMessage *out) { in tls_get_message() [all …]
|
D | tls_record.cc | 143 static bool ssl_needs_record_splitting(const SSL *ssl) { in ssl_needs_record_splitting() 165 size_t ssl_record_prefix_len(const SSL *ssl) { in ssl_record_prefix_len() 176 size_t ssl_seal_align_prefix_len(const SSL *ssl) { in ssl_seal_align_prefix_len() 190 static ssl_open_record_t skip_early_data(SSL *ssl, uint8_t *out_alert, in skip_early_data() 206 ssl_open_record_t tls_open_record(SSL *ssl, uint8_t *out_type, in tls_open_record() 376 static bool do_seal_record(SSL *ssl, uint8_t *out_prefix, uint8_t *out, in do_seal_record() 425 static size_t tls_seal_scatter_prefix_len(const SSL *ssl, uint8_t type, in tls_seal_scatter_prefix_len() 442 static bool tls_seal_scatter_suffix_len(const SSL *ssl, size_t *out_suffix_len, in tls_seal_scatter_suffix_len() 469 static bool tls_seal_scatter_record(SSL *ssl, uint8_t *out_prefix, uint8_t *out, in tls_seal_scatter_record() 514 bool tls_seal_record(SSL *ssl, uint8_t *out, size_t *out_len, in tls_seal_record() [all …]
|
D | ssl_buffer.cc | 124 static int dtls_read_buffer_next_packet(SSL *ssl) { in dtls_read_buffer_next_packet() 145 static int tls_read_buffer_extend_to(SSL *ssl, size_t len) { in tls_read_buffer_extend_to() 169 int ssl_read_buffer_extend_to(SSL *ssl, size_t len) { in ssl_read_buffer_extend_to() 207 int ssl_handle_open_record(SSL *ssl, bool *out_retry, ssl_open_record_t ret, in ssl_handle_open_record() 259 static int tls_write_buffer_flush(SSL *ssl) { in tls_write_buffer_flush() 274 static int dtls_write_buffer_flush(SSL *ssl) { in dtls_write_buffer_flush() 293 int ssl_write_buffer_flush(SSL *ssl) { in ssl_write_buffer_flush()
|
D | tls13_server.cc | 47 SSL *const ssl = hs->ssl; in resolve_ecdhe_secret() local 112 const SSL *ssl, const SSL_CLIENT_HELLO *client_hello, uint16_t group_id) { in choose_tls13_cipher() 123 SSL *const ssl = hs->ssl; in add_new_session_tickets() local 208 SSL *const ssl = hs->ssl; in do_select_parameters() local 260 SSL *const ssl = hs->ssl; in select_session() local 363 SSL *const ssl = hs->ssl; in do_select_session() local 549 SSL *const ssl = hs->ssl; in do_send_hello_retry_request() local 608 SSL *const ssl = hs->ssl; in do_read_second_client_hello() local 734 SSL *const ssl = hs->ssl; in do_send_server_hello() local 894 SSL *const ssl = hs->ssl; in do_send_server_finished() local [all …]
|
D | handshake_client.cc | 220 const SSL *const ssl = hs->ssl; in ssl_write_client_cipher_list() local 290 const SSL *const ssl = hs->ssl; in ssl_write_client_hello_without_extensions() local 324 SSL *const ssl = hs->ssl; in ssl_add_client_hello() local 391 const SSL *const ssl = hs->ssl; in should_offer_early_data() local 442 SSL *const ssl = hs->ssl; in do_start_connect() local 537 SSL *const ssl = hs->ssl; in do_enter_early_data() local 601 SSL *const ssl = hs->ssl; in do_read_hello_verify_request() local 681 SSL *const ssl = hs->ssl; in do_read_server_hello() local 902 SSL *const ssl = hs->ssl; in do_read_server_certificate() local 949 SSL *const ssl = hs->ssl; in do_read_certificate_status() local [all …]
|
D | s3_pkt.cc | 131 int tls_write_app_data(SSL *ssl, bool *out_needs_handshake, const uint8_t *in, in tls_write_app_data() 199 static int tls_write_pending(SSL *ssl, int type, const uint8_t *in, in tls_write_pending() 218 static int do_tls_write(SSL *ssl, int type, const uint8_t *in, unsigned len) { in do_tls_write() 297 ssl_open_record_t tls_open_app_data(SSL *ssl, Span<uint8_t> *out, in tls_open_app_data() 353 ssl_open_record_t tls_open_change_cipher_spec(SSL *ssl, size_t *out_consumed, in tls_open_change_cipher_spec() 379 void ssl_send_alert(SSL *ssl, int level, int desc) { in ssl_send_alert() 396 int ssl_send_alert_impl(SSL *ssl, int level, int desc) { in ssl_send_alert_impl() 424 int tls_dispatch_alert(SSL *ssl) { in tls_dispatch_alert()
|
D | ssl_x509.cc | 162 static void check_ssl_x509_method(const SSL *ssl) { in check_ssl_x509_method() 370 SSL *const ssl = hs->ssl; in ssl_crypto_x509_session_verify_cert_chain() local 536 X509 *SSL_get_peer_certificate(const SSL *ssl) { in SSL_get_peer_certificate() 579 int SSL_set_purpose(SSL *ssl, int purpose) { in SSL_set_purpose() 592 int SSL_set_trust(SSL *ssl, int trust) { in SSL_set_trust() 605 int SSL_set1_param(SSL *ssl, const X509_VERIFY_PARAM *param) { in SSL_set1_param() 618 X509_VERIFY_PARAM *SSL_get0_param(SSL *ssl) { in SSL_get0_param() 627 int SSL_get_verify_depth(const SSL *ssl) { in SSL_get_verify_depth() 636 int (*SSL_get_verify_callback(const SSL *ssl))(int, X509_STORE_CTX *) { in SSL_get_verify_callback() 661 void SSL_set_verify(SSL *ssl, int mode, in SSL_set_verify() [all …]
|
D | bio_ssl.cc | 20 SSL *ssl = get_ssl(bio); in ssl_read() local 60 SSL *ssl = get_ssl(bio); in ssl_write() local 94 SSL *ssl = get_ssl(bio); in ssl_ctrl() local 154 SSL *ssl = get_ssl(bio); in ssl_free() local 169 SSL *ssl = get_ssl(bio); in ssl_callback_ctrl() local 190 long BIO_set_ssl(BIO *bio, SSL *ssl, int take_owership) { in BIO_set_ssl()
|
/external/libwebsockets/lib/tls/mbedtls/wrapper/platform/ |
D | ssl_pm.c | 47 mbedtls_ssl_context ssl; member 117 int ssl_pm_new(SSL *ssl) in ssl_pm_new() 227 void ssl_pm_free(SSL *ssl) in ssl_pm_free() 243 static int ssl_pm_reload_crt(SSL *ssl) in ssl_pm_reload_crt() 286 static int mbedtls_handshake( mbedtls_ssl_context *ssl ) in mbedtls_handshake() 306 int ssl_pm_handshake(SSL *ssl) in ssl_pm_handshake() 379 ssl_get_peer_mbedtls_x509_crt(SSL *ssl) in ssl_get_peer_mbedtls_x509_crt() 389 int ssl_pm_shutdown(SSL *ssl) in ssl_pm_shutdown() 411 int ssl_pm_clear(SSL *ssl) in ssl_pm_clear() 417 int ssl_pm_read(SSL *ssl, void *buffer, int len) in ssl_pm_read() [all …]
|
/external/rust/crates/quiche/deps/boringssl/src/ssl/test/ |
D | test_config.cc | 423 bool SetTestConfig(SSL *ssl, const TestConfig *config) { in SetTestConfig() 428 const TestConfig *GetTestConfig(const SSL *ssl) { in GetTestConfig() 433 static int LegacyOCSPCallback(SSL *ssl, void *arg) { in LegacyOCSPCallback() 453 static int ServerNameCallback(SSL *ssl, int *out_alert, void *arg) { in ServerNameCallback() 467 static int NextProtoSelectCallback(SSL *ssl, uint8_t **out, uint8_t *outlen, in NextProtoSelectCallback() 480 static int NextProtosAdvertisedCallback(SSL *ssl, const uint8_t **out, in NextProtosAdvertisedCallback() 493 const void *buf, size_t len, SSL *ssl, void *arg) { in MessageCallback() 569 static int TicketKeyCallback(SSL *ssl, uint8_t *key_name, uint8_t *iv, in TicketKeyCallback() 602 static int NewSessionCallback(SSL *ssl, SSL_SESSION *session) { in NewSessionCallback() 616 static void InfoCallback(const SSL *ssl, int type, int val) { in InfoCallback() [all …]
|
/external/boringssl/src/ssl/test/ |
D | test_config.cc | 506 bool SetTestConfig(SSL *ssl, const TestConfig *config) { in SetTestConfig() 511 const TestConfig *GetTestConfig(const SSL *ssl) { in GetTestConfig() 516 static int LegacyOCSPCallback(SSL *ssl, void *arg) { in LegacyOCSPCallback() 536 static int ServerNameCallback(SSL *ssl, int *out_alert, void *arg) { in ServerNameCallback() 550 static int NextProtoSelectCallback(SSL *ssl, uint8_t **out, uint8_t *outlen, in NextProtoSelectCallback() 563 static int NextProtosAdvertisedCallback(SSL *ssl, const uint8_t **out, in NextProtosAdvertisedCallback() 576 const void *buf, size_t len, SSL *ssl, void *arg) { in MessageCallback() 666 static int TicketKeyCallback(SSL *ssl, uint8_t *key_name, uint8_t *iv, in TicketKeyCallback() 699 static int NewSessionCallback(SSL *ssl, SSL_SESSION *session) { in NewSessionCallback() 713 static void InfoCallback(const SSL *ssl, int type, int val) { in InfoCallback() [all …]
|