/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 | 79 void ssl_reset_error_state(SSL *ssl) { in ssl_reset_error_state() 87 void ssl_set_read_error(SSL *ssl) { in ssl_set_read_error() 92 static bool check_read_error(const SSL *ssl) { in check_read_error() 100 bool ssl_can_write(const SSL *ssl) { in ssl_can_write() 104 bool ssl_can_read(const SSL *ssl) { in ssl_can_read() 108 ssl_open_record_t ssl_open_handshake(SSL *ssl, size_t *out_consumed, in ssl_open_handshake() 122 ssl_open_record_t ssl_open_change_cipher_spec(SSL *ssl, size_t *out_consumed, in ssl_open_change_cipher_spec() 138 ssl_open_record_t ssl_open_app_data(SSL *ssl, Span<uint8_t> *out, in ssl_open_app_data() 173 bool ssl_log_secret(const SSL *ssl, const char *label, in ssl_log_secret() 200 void ssl_do_info_callback(const SSL *ssl, int type, int value) { in ssl_do_info_callback() [all …]
|
D | d1_both.cc | 206 static bool dtls1_is_current_message_complete(const SSL *ssl) { in dtls1_is_current_message_complete() 217 SSL *ssl, uint8_t *out_alert, const struct hm_header_st *msg_hdr) { in dtls1_get_incoming_message() 248 bool dtls1_process_handshake_fragments(SSL *ssl, uint8_t *out_alert, in dtls1_process_handshake_fragments() 367 ssl_open_record_t dtls1_open_handshake(SSL *ssl, size_t *out_consumed, in dtls1_open_handshake() 428 bool dtls1_get_message(const SSL *ssl, SSLMessage *out) { in dtls1_get_message() 446 void dtls1_next_message(SSL *ssl) { in dtls1_next_message() 463 bool dtls_has_unprocessed_handshake_data(const SSL *ssl) { in dtls_has_unprocessed_handshake_data() 494 ssl_open_record_t dtls1_open_change_cipher_spec(SSL *ssl, size_t *out_consumed, in dtls1_open_change_cipher_spec() 514 void dtls_clear_outgoing_messages(SSL *ssl) { in dtls_clear_outgoing_messages() 525 void dtls_clear_unused_write_epochs(SSL *ssl) { in dtls_clear_unused_write_epochs() [all …]
|
/external/cronet/tot/third_party/boringssl/src/ssl/ |
D | ssl_lib.cc | 208 void ssl_reset_error_state(SSL *ssl) { in ssl_reset_error_state() 216 void ssl_set_read_error(SSL *ssl) { in ssl_set_read_error() 221 static bool check_read_error(const SSL *ssl) { in check_read_error() 229 bool ssl_can_write(const SSL *ssl) { in ssl_can_write() 233 bool ssl_can_read(const SSL *ssl) { in ssl_can_read() 237 ssl_open_record_t ssl_open_handshake(SSL *ssl, size_t *out_consumed, in ssl_open_handshake() 251 ssl_open_record_t ssl_open_change_cipher_spec(SSL *ssl, size_t *out_consumed, in ssl_open_change_cipher_spec() 267 ssl_open_record_t ssl_open_app_data(SSL *ssl, Span<uint8_t> *out, in ssl_open_app_data() 302 bool ssl_log_secret(const SSL *ssl, const char *label, in ssl_log_secret() 329 void ssl_do_info_callback(const SSL *ssl, int type, int value) { in ssl_do_info_callback() [all …]
|
D | d1_lib.cc | 99 bool dtls1_new(SSL *ssl) { in dtls1_new() 113 void dtls1_free(SSL *ssl) { in dtls1_free() 188 void dtls1_start_timer(SSL *ssl) { in dtls1_start_timer() 199 static void dtls1_double_timeout(SSL *ssl) { in dtls1_double_timeout() 206 void dtls1_stop_timer(SSL *ssl) { in dtls1_stop_timer() 212 bool dtls1_check_timeout_num(SSL *ssl) { in dtls1_check_timeout_num() 238 void DTLSv1_set_initial_timeout_duration(SSL *ssl, uint32_t duration_ms) { in DTLSv1_set_initial_timeout_duration() 242 int DTLSv1_get_timeout(const SSL *ssl, struct timeval *out) { in DTLSv1_get_timeout() 271 int DTLSv1_handle_timeout(SSL *ssl) { in DTLSv1_handle_timeout()
|
D | d1_both.cc | 310 static bool dtls1_is_current_message_complete(const SSL *ssl) { in dtls1_is_current_message_complete() 321 SSL *ssl, uint8_t *out_alert, const struct hm_header_st *msg_hdr) { in dtls1_get_incoming_message() 352 bool dtls1_process_handshake_fragments(SSL *ssl, uint8_t *out_alert, in dtls1_process_handshake_fragments() 469 ssl_open_record_t dtls1_open_handshake(SSL *ssl, size_t *out_consumed, in dtls1_open_handshake() 528 bool dtls1_get_message(const SSL *ssl, SSLMessage *out) { in dtls1_get_message() 546 void dtls1_next_message(SSL *ssl) { in dtls1_next_message() 560 bool dtls_has_unprocessed_handshake_data(const SSL *ssl) { in dtls_has_unprocessed_handshake_data() 591 ssl_open_record_t dtls1_open_change_cipher_spec(SSL *ssl, size_t *out_consumed, in dtls1_open_change_cipher_spec() 611 void dtls_clear_outgoing_messages(SSL *ssl) { in dtls_clear_outgoing_messages() 621 void dtls_clear_unused_write_epochs(SSL *ssl) { in dtls_clear_unused_write_epochs() [all …]
|
/external/cronet/stable/third_party/boringssl/src/ssl/ |
D | ssl_lib.cc | 208 void ssl_reset_error_state(SSL *ssl) { in ssl_reset_error_state() 216 void ssl_set_read_error(SSL *ssl) { in ssl_set_read_error() 221 static bool check_read_error(const SSL *ssl) { in check_read_error() 229 bool ssl_can_write(const SSL *ssl) { in ssl_can_write() 233 bool ssl_can_read(const SSL *ssl) { in ssl_can_read() 237 ssl_open_record_t ssl_open_handshake(SSL *ssl, size_t *out_consumed, in ssl_open_handshake() 251 ssl_open_record_t ssl_open_change_cipher_spec(SSL *ssl, size_t *out_consumed, in ssl_open_change_cipher_spec() 267 ssl_open_record_t ssl_open_app_data(SSL *ssl, Span<uint8_t> *out, in ssl_open_app_data() 302 bool ssl_log_secret(const SSL *ssl, const char *label, in ssl_log_secret() 329 void ssl_do_info_callback(const SSL *ssl, int type, int value) { in ssl_do_info_callback() [all …]
|
D | d1_lib.cc | 99 bool dtls1_new(SSL *ssl) { in dtls1_new() 113 void dtls1_free(SSL *ssl) { in dtls1_free() 188 void dtls1_start_timer(SSL *ssl) { in dtls1_start_timer() 199 static void dtls1_double_timeout(SSL *ssl) { in dtls1_double_timeout() 206 void dtls1_stop_timer(SSL *ssl) { in dtls1_stop_timer() 212 bool dtls1_check_timeout_num(SSL *ssl) { in dtls1_check_timeout_num() 238 void DTLSv1_set_initial_timeout_duration(SSL *ssl, uint32_t duration_ms) { in DTLSv1_set_initial_timeout_duration() 242 int DTLSv1_get_timeout(const SSL *ssl, struct timeval *out) { in DTLSv1_get_timeout() 271 int DTLSv1_handle_timeout(SSL *ssl) { in DTLSv1_handle_timeout()
|
D | d1_both.cc | 310 static bool dtls1_is_current_message_complete(const SSL *ssl) { in dtls1_is_current_message_complete() 321 SSL *ssl, uint8_t *out_alert, const struct hm_header_st *msg_hdr) { in dtls1_get_incoming_message() 352 bool dtls1_process_handshake_fragments(SSL *ssl, uint8_t *out_alert, in dtls1_process_handshake_fragments() 469 ssl_open_record_t dtls1_open_handshake(SSL *ssl, size_t *out_consumed, in dtls1_open_handshake() 528 bool dtls1_get_message(const SSL *ssl, SSLMessage *out) { in dtls1_get_message() 546 void dtls1_next_message(SSL *ssl) { in dtls1_next_message() 560 bool dtls_has_unprocessed_handshake_data(const SSL *ssl) { in dtls_has_unprocessed_handshake_data() 591 ssl_open_record_t dtls1_open_change_cipher_spec(SSL *ssl, size_t *out_consumed, in dtls1_open_change_cipher_spec() 611 void dtls_clear_outgoing_messages(SSL *ssl) { in dtls_clear_outgoing_messages() 621 void dtls_clear_unused_write_epochs(SSL *ssl) { in dtls_clear_unused_write_epochs() [all …]
|
/external/rust/android-crates-io/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() 291 bool ssl_log_secret(const SSL *ssl, const char *label, in ssl_log_secret() 316 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 …]
|
/external/cronet/stable/third_party/netty-tcnative/src/java/io/netty/internal/tcnative/ |
D | SSL.java | 171 public static native int getError(long ssl, int ret); in getError() 196 public static native long bioNewByteBuffer(long ssl, int nonApplicationBufferSize); in bioNewByteBuffer() 251 public static native int writeToSSL(long ssl, long wbuf, int wlen); in writeToSSL() 260 public static native int readFromSSL(long ssl, long rbuf, int rlen); in readFromSSL() 267 public static native int getShutdown(long ssl); in getShutdown() 274 public static native void setShutdown(long ssl, int mode); in setShutdown() 280 public static native void freeSSL(long ssl); in freeSSL() 293 public static native int shutdownSSL(long ssl); in shutdownSSL() 306 public static native String getCipherForSSL(long ssl); in getCipherForSSL() 313 public static native String getVersion(long ssl); in getVersion() [all …]
|
/external/cronet/tot/third_party/netty-tcnative/src/java/io/netty/internal/tcnative/ |
D | SSL.java | 171 public static native int getError(long ssl, int ret); in getError() 196 public static native long bioNewByteBuffer(long ssl, int nonApplicationBufferSize); in bioNewByteBuffer() 251 public static native int writeToSSL(long ssl, long wbuf, int wlen); in writeToSSL() 260 public static native int readFromSSL(long ssl, long rbuf, int rlen); in readFromSSL() 267 public static native int getShutdown(long ssl); in getShutdown() 274 public static native void setShutdown(long ssl, int mode); in setShutdown() 280 public static native void freeSSL(long ssl); in freeSSL() 293 public static native int shutdownSSL(long ssl); in shutdownSSL() 306 public static native String getCipherForSSL(long ssl); in getCipherForSSL() 313 public static native String getVersion(long ssl); in getVersion() [all …]
|
/external/openthread/third_party/mbedtls/repo/library/ |
D | ssl_tls13_client.c | 46 static int ssl_tls13_write_supported_versions_ext(mbedtls_ssl_context *ssl, in ssl_tls13_write_supported_versions_ext() 98 static int ssl_tls13_parse_supported_versions_ext(mbedtls_ssl_context *ssl, in ssl_tls13_parse_supported_versions_ext() 127 static int ssl_tls13_parse_alpn_ext(mbedtls_ssl_context *ssl, in ssl_tls13_parse_alpn_ext() 175 static int ssl_tls13_reset_key_share(mbedtls_ssl_context *ssl) in ssl_tls13_reset_key_share() 213 static int ssl_tls13_get_default_group_id(mbedtls_ssl_context *ssl, in ssl_tls13_get_default_group_id() 264 static int ssl_tls13_write_key_share_ext(mbedtls_ssl_context *ssl, in ssl_tls13_write_key_share_ext() 376 static int ssl_tls13_parse_hrr_key_share_ext(mbedtls_ssl_context *ssl, in ssl_tls13_parse_hrr_key_share_ext() 465 static int ssl_tls13_parse_key_share_ext(mbedtls_ssl_context *ssl, in ssl_tls13_parse_key_share_ext() 529 static int ssl_tls13_parse_cookie_ext(mbedtls_ssl_context *ssl, in ssl_tls13_parse_cookie_ext() 562 static int ssl_tls13_write_cookie_ext(mbedtls_ssl_context *ssl, in ssl_tls13_write_cookie_ext() [all …]
|
D | ssl_tls13_server.c | 25 mbedtls_ssl_context *ssl, in ssl_tls13_validate_peer_ciphersuite() 43 mbedtls_ssl_context *ssl, in ssl_tls13_select_ciphersuite() 108 static int ssl_tls13_parse_key_exchange_modes_ext(mbedtls_ssl_context *ssl, in ssl_tls13_parse_key_exchange_modes_ext() 183 mbedtls_ssl_context *ssl, in ssl_tls13_offered_psks_check_identity_match_ticket() 330 mbedtls_ssl_context *ssl, in ssl_tls13_offered_psks_check_identity_match() 405 mbedtls_ssl_context *ssl, in ssl_tls13_offered_psks_check_binder_match() 518 mbedtls_ssl_context *ssl, in ssl_tls13_parse_pre_shared_key_ext() 734 static int ssl_tls13_write_server_pre_shared_key_ext(mbedtls_ssl_context *ssl, in ssl_tls13_write_server_pre_shared_key_ext() 781 static int ssl_tls13_parse_supported_versions_ext(mbedtls_ssl_context *ssl, in ssl_tls13_parse_supported_versions_ext() 840 static int ssl_tls13_parse_supported_groups_ext(mbedtls_ssl_context *ssl, in ssl_tls13_parse_supported_groups_ext() [all …]
|
D | ssl_msg.c | 285 void mbedtls_ssl_set_timer(mbedtls_ssl_context *ssl, uint32_t millisecs) in mbedtls_ssl_set_timer() 298 int mbedtls_ssl_check_timer(mbedtls_ssl_context *ssl) in mbedtls_ssl_check_timer() 318 int mbedtls_ssl_check_record(mbedtls_ssl_context const *ssl, in mbedtls_ssl_check_record() 390 static size_t ssl_get_maximum_datagram_size(mbedtls_ssl_context const *ssl) in ssl_get_maximum_datagram_size() 407 static int ssl_get_remaining_space_in_datagram(mbedtls_ssl_context const *ssl) in ssl_get_remaining_space_in_datagram() 423 static int ssl_get_remaining_payload_in_datagram(mbedtls_ssl_context const *ssl) in ssl_get_remaining_payload_in_datagram() 481 static int ssl_double_retransmit_timeout(mbedtls_ssl_context *ssl) in ssl_double_retransmit_timeout() 515 static void ssl_reset_retransmit_timeout(mbedtls_ssl_context *ssl) in ssl_reset_retransmit_timeout() 901 int mbedtls_ssl_encrypt_buf(mbedtls_ssl_context *ssl, in mbedtls_ssl_encrypt_buf() 1479 int mbedtls_ssl_decrypt_buf(mbedtls_ssl_context const *ssl, in mbedtls_ssl_decrypt_buf() [all …]
|
D | ssl_tls12_client.c | 51 static int ssl_write_renegotiation_ext(mbedtls_ssl_context *ssl, in ssl_write_renegotiation_ext() 95 static int ssl_write_supported_point_formats_ext(mbedtls_ssl_context *ssl, in ssl_write_supported_point_formats_ext() 128 static int ssl_write_ecjpake_kkpp_ext(mbedtls_ssl_context *ssl, in ssl_write_ecjpake_kkpp_ext() 216 static int ssl_write_cid_ext(mbedtls_ssl_context *ssl, in ssl_write_cid_ext() 259 static int ssl_write_max_fragment_length_ext(mbedtls_ssl_context *ssl, in ssl_write_max_fragment_length_ext() 293 static int ssl_write_encrypt_then_mac_ext(mbedtls_ssl_context *ssl, in ssl_write_encrypt_then_mac_ext() 325 static int ssl_write_extended_ms_ext(mbedtls_ssl_context *ssl, in ssl_write_extended_ms_ext() 357 static int ssl_write_session_ticket_ext(mbedtls_ssl_context *ssl, in ssl_write_session_ticket_ext() 402 static int ssl_write_use_srtp_ext(mbedtls_ssl_context *ssl, in ssl_write_use_srtp_ext() 512 int mbedtls_ssl_tls12_write_client_hello_exts(mbedtls_ssl_context *ssl, in mbedtls_ssl_tls12_write_client_hello_exts() [all …]
|
D | ssl_tls13_generic.c | 49 int mbedtls_ssl_tls13_fetch_handshake_msg(mbedtls_ssl_context *ssl, in mbedtls_ssl_tls13_fetch_handshake_msg() 86 mbedtls_ssl_context *ssl, in mbedtls_ssl_tls13_is_supported_versions_ext_present_in_exts() 212 static int ssl_tls13_parse_certificate_verify(mbedtls_ssl_context *ssl, in ssl_tls13_parse_certificate_verify() 336 int mbedtls_ssl_tls13_process_certificate_verify(mbedtls_ssl_context *ssl) in mbedtls_ssl_tls13_process_certificate_verify() 440 int mbedtls_ssl_tls13_parse_certificate(mbedtls_ssl_context *ssl, in mbedtls_ssl_tls13_parse_certificate() 610 int mbedtls_ssl_tls13_parse_certificate(mbedtls_ssl_context *ssl, in mbedtls_ssl_tls13_parse_certificate() 626 static int ssl_tls13_validate_certificate(mbedtls_ssl_context *ssl) in ssl_tls13_validate_certificate() 797 static int ssl_tls13_validate_certificate(mbedtls_ssl_context *ssl) in ssl_tls13_validate_certificate() 805 int mbedtls_ssl_tls13_process_certificate(mbedtls_ssl_context *ssl) in mbedtls_ssl_tls13_process_certificate() 861 static int ssl_tls13_write_certificate_body(mbedtls_ssl_context *ssl, in ssl_tls13_write_certificate_body() [all …]
|
/external/mbedtls/library/ |
D | ssl_tls13_server.c | 25 mbedtls_ssl_context *ssl, in ssl_tls13_validate_peer_ciphersuite() 51 static int ssl_tls13_parse_key_exchange_modes_ext(mbedtls_ssl_context *ssl, in ssl_tls13_parse_key_exchange_modes_ext() 100 mbedtls_ssl_context *ssl, in ssl_tls13_offered_psks_check_identity_match_ticket() 244 mbedtls_ssl_context *ssl, in ssl_tls13_offered_psks_check_identity_match() 311 mbedtls_ssl_context *ssl, in ssl_tls13_offered_psks_check_binder_match() 363 mbedtls_ssl_context *ssl, in ssl_tls13_select_ciphersuite_for_psk() 412 mbedtls_ssl_context *ssl, in ssl_tls13_select_ciphersuite_for_resumption() 483 mbedtls_ssl_context *ssl, in ssl_tls13_parse_pre_shared_key_ext() 675 static int ssl_tls13_write_server_pre_shared_key_ext(mbedtls_ssl_context *ssl, in ssl_tls13_write_server_pre_shared_key_ext() 722 static int ssl_tls13_parse_supported_versions_ext(mbedtls_ssl_context *ssl, in ssl_tls13_parse_supported_versions_ext() [all …]
|
D | ssl_tls13_client.c | 46 static int ssl_tls13_write_supported_versions_ext(mbedtls_ssl_context *ssl, in ssl_tls13_write_supported_versions_ext() 98 static int ssl_tls13_parse_supported_versions_ext(mbedtls_ssl_context *ssl, in ssl_tls13_parse_supported_versions_ext() 127 static int ssl_tls13_parse_alpn_ext(mbedtls_ssl_context *ssl, in ssl_tls13_parse_alpn_ext() 175 static int ssl_tls13_reset_key_share(mbedtls_ssl_context *ssl) in ssl_tls13_reset_key_share() 213 static int ssl_tls13_get_default_group_id(mbedtls_ssl_context *ssl, in ssl_tls13_get_default_group_id() 264 static int ssl_tls13_write_key_share_ext(mbedtls_ssl_context *ssl, in ssl_tls13_write_key_share_ext() 376 static int ssl_tls13_parse_hrr_key_share_ext(mbedtls_ssl_context *ssl, in ssl_tls13_parse_hrr_key_share_ext() 465 static int ssl_tls13_parse_key_share_ext(mbedtls_ssl_context *ssl, in ssl_tls13_parse_key_share_ext() 529 static int ssl_tls13_parse_cookie_ext(mbedtls_ssl_context *ssl, in ssl_tls13_parse_cookie_ext() 562 static int ssl_tls13_write_cookie_ext(mbedtls_ssl_context *ssl, in ssl_tls13_write_cookie_ext() [all …]
|
D | ssl_msg.c | 285 void mbedtls_ssl_set_timer(mbedtls_ssl_context *ssl, uint32_t millisecs) in mbedtls_ssl_set_timer() 298 int mbedtls_ssl_check_timer(mbedtls_ssl_context *ssl) in mbedtls_ssl_check_timer() 318 int mbedtls_ssl_check_record(mbedtls_ssl_context const *ssl, in mbedtls_ssl_check_record() 390 static size_t ssl_get_maximum_datagram_size(mbedtls_ssl_context const *ssl) in ssl_get_maximum_datagram_size() 407 static int ssl_get_remaining_space_in_datagram(mbedtls_ssl_context const *ssl) in ssl_get_remaining_space_in_datagram() 423 static int ssl_get_remaining_payload_in_datagram(mbedtls_ssl_context const *ssl) in ssl_get_remaining_payload_in_datagram() 481 static int ssl_double_retransmit_timeout(mbedtls_ssl_context *ssl) in ssl_double_retransmit_timeout() 515 static void ssl_reset_retransmit_timeout(mbedtls_ssl_context *ssl) in ssl_reset_retransmit_timeout() 903 int mbedtls_ssl_encrypt_buf(mbedtls_ssl_context *ssl, in mbedtls_ssl_encrypt_buf() 1483 int mbedtls_ssl_decrypt_buf(mbedtls_ssl_context const *ssl, in mbedtls_ssl_decrypt_buf() [all …]
|
D | ssl_tls12_client.c | 51 static int ssl_write_renegotiation_ext(mbedtls_ssl_context *ssl, in ssl_write_renegotiation_ext() 95 static int ssl_write_supported_point_formats_ext(mbedtls_ssl_context *ssl, in ssl_write_supported_point_formats_ext() 128 static int ssl_write_ecjpake_kkpp_ext(mbedtls_ssl_context *ssl, in ssl_write_ecjpake_kkpp_ext() 216 static int ssl_write_cid_ext(mbedtls_ssl_context *ssl, in ssl_write_cid_ext() 259 static int ssl_write_max_fragment_length_ext(mbedtls_ssl_context *ssl, in ssl_write_max_fragment_length_ext() 293 static int ssl_write_encrypt_then_mac_ext(mbedtls_ssl_context *ssl, in ssl_write_encrypt_then_mac_ext() 325 static int ssl_write_extended_ms_ext(mbedtls_ssl_context *ssl, in ssl_write_extended_ms_ext() 357 static int ssl_write_session_ticket_ext(mbedtls_ssl_context *ssl, in ssl_write_session_ticket_ext() 402 static int ssl_write_use_srtp_ext(mbedtls_ssl_context *ssl, in ssl_write_use_srtp_ext() 512 int mbedtls_ssl_tls12_write_client_hello_exts(mbedtls_ssl_context *ssl, in mbedtls_ssl_tls12_write_client_hello_exts() [all …]
|
D | ssl_tls13_generic.c | 49 int mbedtls_ssl_tls13_fetch_handshake_msg(mbedtls_ssl_context *ssl, in mbedtls_ssl_tls13_fetch_handshake_msg() 86 mbedtls_ssl_context *ssl, in mbedtls_ssl_tls13_is_supported_versions_ext_present_in_exts() 212 static int ssl_tls13_parse_certificate_verify(mbedtls_ssl_context *ssl, in ssl_tls13_parse_certificate_verify() 336 int mbedtls_ssl_tls13_process_certificate_verify(mbedtls_ssl_context *ssl) in mbedtls_ssl_tls13_process_certificate_verify() 440 int mbedtls_ssl_tls13_parse_certificate(mbedtls_ssl_context *ssl, in mbedtls_ssl_tls13_parse_certificate() 610 int mbedtls_ssl_tls13_parse_certificate(mbedtls_ssl_context *ssl, in mbedtls_ssl_tls13_parse_certificate() 626 static int ssl_tls13_validate_certificate(mbedtls_ssl_context *ssl) in ssl_tls13_validate_certificate() 797 static int ssl_tls13_validate_certificate(mbedtls_ssl_context *ssl) in ssl_tls13_validate_certificate() 805 int mbedtls_ssl_tls13_process_certificate(mbedtls_ssl_context *ssl) in mbedtls_ssl_tls13_process_certificate() 861 static int ssl_tls13_write_certificate_body(mbedtls_ssl_context *ssl, in ssl_tls13_write_certificate_body() [all …]
|