| /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() 467 static bool tls_seal_scatter_record(SSL *ssl, uint8_t *out_prefix, uint8_t *out, in tls_seal_scatter_record() 512 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 240 SSL *const ssl = hs->ssl; in select_session() local 333 SSL *const ssl = hs->ssl; in do_select_session() local 488 SSL *const ssl = hs->ssl; in do_send_hello_retry_request() local 523 SSL *const ssl = hs->ssl; in do_read_second_client_hello() local 600 SSL *const ssl = hs->ssl; in do_send_server_hello() local 723 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 | 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 | 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 379 SSL *const ssl = hs->ssl; in do_start_connect() local 445 SSL *const ssl = hs->ssl; in do_enter_early_data() local 511 SSL *const ssl = hs->ssl; in do_read_hello_verify_request() local 555 SSL *const ssl = hs->ssl; in do_read_server_hello() local 805 SSL *const ssl = hs->ssl; in do_read_server_certificate() local 852 SSL *const ssl = hs->ssl; in do_read_certificate_status() local 938 SSL *const ssl = hs->ssl; in do_read_server_key_exchange() local [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 141 SSL *ssl = get_ssl(bio); in ssl_free() local 156 SSL *ssl = get_ssl(bio); in ssl_callback_ctrl() local 177 long BIO_set_ssl(BIO *bio, SSL *ssl, int take_owership) { in BIO_set_ssl()
|
| /external/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 | 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 | 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 | 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()
|
| D | tls13_client.cc | 59 SSL *const ssl = hs->ssl; in close_early_data() local 105 SSL *const ssl = hs->ssl; in do_read_hello_retry_request() local 268 SSL *const ssl = hs->ssl; in do_read_server_hello() local 471 SSL *const ssl = hs->ssl; in do_read_encrypted_extensions() local 544 SSL *const ssl = hs->ssl; in do_read_certificate_request() local 621 SSL *const ssl = hs->ssl; in do_read_server_certificate() local 643 SSL *const ssl = hs->ssl; in do_read_server_certificate_verify() local 684 SSL *const ssl = hs->ssl; in do_read_server_finished() local 712 SSL *const ssl = hs->ssl; in do_send_end_of_early_data() local 738 SSL *const ssl = hs->ssl; in do_send_client_encrypted_extensions() local [all …]
|
| /external/libwebsockets/lib/tls/mbedtls/wrapper/library/ |
| D | ssl_lib.c | 68 int ossl_statem_in_error(const SSL *ssl) in ossl_statem_in_error() 81 int SSL_want(const SSL *ssl) in SSL_want() 91 int SSL_want_nothing(const SSL *ssl) in SSL_want_nothing() 104 int SSL_want_read(const SSL *ssl) in SSL_want_read() 117 int SSL_want_write(const SSL *ssl) in SSL_want_write() 130 int SSL_want_x509_lookup(const SSL *ssl) in SSL_want_x509_lookup() 140 int SSL_get_error(const SSL *ssl, int ret_code) in SSL_get_error() 171 OSSL_HANDSHAKE_STATE SSL_get_state(const SSL *ssl) in SSL_get_state() 278 SSL *ssl; in SSL_new() local 344 void SSL_free(SSL *ssl) in SSL_free() [all …]
|
| /external/libwebsockets/lib/tls/mbedtls/wrapper/platform/ |
| D | ssl_pm.c | 47 mbedtls_ssl_context ssl; member 101 int ssl_pm_new(SSL *ssl) in ssl_pm_new() 207 void ssl_pm_free(SSL *ssl) in ssl_pm_free() 223 static int ssl_pm_reload_crt(SSL *ssl) in ssl_pm_reload_crt() 270 static int mbedtls_handshake( mbedtls_ssl_context *ssl ) in mbedtls_handshake() 290 int ssl_pm_handshake(SSL *ssl) in ssl_pm_handshake() 362 ssl_get_peer_mbedtls_x509_crt(SSL *ssl) in ssl_get_peer_mbedtls_x509_crt() 372 int ssl_pm_shutdown(SSL *ssl) in ssl_pm_shutdown() 394 int ssl_pm_clear(SSL *ssl) in ssl_pm_clear() 400 int ssl_pm_read(SSL *ssl, void *buffer, int len) in ssl_pm_read() [all …]
|
| /external/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/rust/crates/quiche/deps/boringssl/src/ssl/test/ |
| D | test_config.cc | 371 bool SetTestConfig(SSL *ssl, const TestConfig *config) { in SetTestConfig() 376 const TestConfig *GetTestConfig(const SSL *ssl) { in GetTestConfig() 381 static int LegacyOCSPCallback(SSL *ssl, void *arg) { in LegacyOCSPCallback() 401 static int ServerNameCallback(SSL *ssl, int *out_alert, void *arg) { in ServerNameCallback() 415 static int NextProtoSelectCallback(SSL *ssl, uint8_t **out, uint8_t *outlen, in NextProtoSelectCallback() 428 static int NextProtosAdvertisedCallback(SSL *ssl, const uint8_t **out, in NextProtosAdvertisedCallback() 441 const void *buf, size_t len, SSL *ssl, void *arg) { in MessageCallback() 517 static int TicketKeyCallback(SSL *ssl, uint8_t *key_name, uint8_t *iv, in TicketKeyCallback() 550 static int NewSessionCallback(SSL *ssl, SSL_SESSION *session) { in NewSessionCallback() 564 static void InfoCallback(const SSL *ssl, int type, int val) { in InfoCallback() [all …]
|